标签:blog io ar os 使用 div on art log
CentOS下 # yum -y install OpenIPMI OpenIPMI-tools 就安装好ipmi的工具了。 # chkconfig impi on # service ipmi start 设置iDRAC的ip信息及启用IPMI网络控制 # ipmitool -I open lan set 1 ipaddr 192.168.111.123 # ipmitool -I open lan set 1 defgw ipaddr 192.168.111.1 # ipmitool -I open lan set 1 netmask 255.255.255.0 # ipmitool -I open lan set 1 access on 修改IPMI的snmp信息 设置 SNMP community 串 # ipmitool -I open lan set 1 snmp 新密码 设置 null 用户密码 # ipmitool -I open lan set 1 password 新密码 設定 root 密碼 # ipmitool -I open user set password 2 新密码 可以用下免的命令检查刚才设定的值是否正确: # ipmitool -I open lan print 1 你可以把你 iDRAC 远控管理的密码放在环境变量內方便操作.(不安全) # export IPMI_PASSWORD=”TOP_SECRET” 在下指令的時候可以用 “-E” 选項 就可以直接不打密码就可以下指令. # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power status Chassis Power is on 如果你要用交互的方式输入密码就用 “-a” 的方式下指令. # ipmitool -I lan -U root -a -H 192.168.111.123 chassis power status Password: Chassis Power is on 如果你想放在 script 內. 你可以使用 “-P” 的方式加上你的密码明文. 就可以下指令. # ipmitool -I lan -U root -P “新密码” -H 192.168.111.123 chassis power status Chassis Power is on 再來你就可以用下列指完成开关机 ## 开机 – Power On # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power on ## 強制断电关机 – Power Off # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power off ## 通过操作系统正常关机 – Graceful Shutdown # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power soft ## 重新热启动 – Reset System (warm boot) # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power reset ## 冷启动 – Power Cycle System (cold boot) # ipmitool -I lan -U root -E -H 192.168.111.123 chassis power cycle 其他信息 ## 检查电流电压 # ipmitool -I lan -U root -E -H 192.168.1.101 sdr type “Current” Current | 94h | ok | 10.1 | 2 Amps Current | 95h | ns | 10.2 | Disabled System Level | 98h | ok | 7.1 | 245 Watts ## 检查温度状态 # ipmitool -I lan -U root -E -H 192.168.1.101 sdr type “Temperature” Temp | 01h | ns | 3.1 | Disabled Temp | 02h | ns | 3.2 | Disabled Temp | 05h | ns | 10.1 | Disabled Ambient Temp | 07h | ns | 10.1 | Disabled Temp | 06h | ns | 10.2 | Disabled Ambient Temp | 08h | ns | 10.2 | Disabled Ambient Temp | 0Eh | ok | 7.1 | 16 degrees C Planar Temp | 0Fh | ns | 7.1 | Disabled IOH THERMTRIP | 5Dh | ns | 7.1 | Disabled CPU Temp Interf | 76h | ns | 7.1 | Disabled Temp | 0Ah | ns | 8.1 | Disabled Temp | 0Bh | ns | 8.1 | Disabled Temp | 0Ch | ns | 8.1 | Disabled ## 列出 event logs # ipmitool -I lan -U root -E -H 192.168.1.101 sel list 1 | 01/11/2011 | 11:40:54 | Temperature #0x0e | Upper Non-critical going high 2 | 01/01/2011 | 12:32:41 | Temperature #0x0e | Upper Critical going high
Dell R410, R710设置iDRAC(远控卡)的ip地址
标签:blog io ar os 使用 div on art log
原文地址:http://www.cnblogs.com/ssc4469/p/4087297.html