为72台分布在不同网段的 560 ilo配置NTP,NTP Server为每个网段的第一个IP X.X.X.1
操作服务器 HP DL 560 GEN8 (iLO4)
使用工具HP Lights-Out Configuration Utility
下载地址:
http://h20565.www2.hpe.com/hpsc/swd/public/detail?sp4ts.oid=1009143853&swItemId=MTX_c2f8737292c74b3b852b063ff7&swEnvOid=4064#tab1
XML编写模板
http://h20566.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_f045db3f567040f291bf645684
编写XML文件 SetNTP.xml
<RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <RIB_INFO MODE="write"> <MOD_NETWORK_SETTINGS> <DHCP_SNTP_SETTINGS value="No"/> <DHCPV6_SNTP_SETTINGS value="No"/> <SNTP_SERVER1 value="%ntp1%"/> <TIMEZONE value="Asia/Shanghai"/> </MOD_NETWORK_SETTINGS> <MOD_GLOBAL_SETTINGS> <PROPAGATE_TIME_TO_HOST VALUE="No" /> </MOD_GLOBAL_SETTINGS> </RIB_INFO> </LOGIN> </RIBCL>
编写批处理 SetNTP.bat
@echo off for /f %%a in (ip.txt) do ( set ip=%%a call cpqlocfg -s %%ip%% -l log\%%ip%%.log -f SetNTP.xml -u XX -p xxx -t ntp1=%%ip:~0,-2%%1 )
将ILO IP 列表保存至 ip.txt 执行批处理进行配置
SUSE 11 SP4 OpenSSH_6.6.1p1,OpenSSL 0.9.8j-fips 07 Jan 2009
在使用ssh连接部分ilo时无法连接出现以下报错
ssh [email protected] Received disconnect from x.x.x.x: 11: Client Disconnect
增加ssh 参数
ssh -o HostKeyAlgorithms=ssh-rsa [email protected]
或者在/etc/ssh/ssh_config中添加参数 HostKeyAlgorithms ssh-rsa
时间: 2024-11-10 14:07:02