首页 > 代码库 > Dell R410, R710设置iDRAC(远控卡)的ip地址

Dell R410, R710设置iDRAC(远控卡)的ip地址

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 statusChassis Power is on如果你要用交互的方式输入密码就用 “-a” 的方式下指令.# ipmitool -I lan -U root -a -H 192.168.111.123 chassis power statusPassword:Chassis Power is on如果你想放在 script 內. 你可以使用 “-P” 的方式加上你的密码明文. 就可以下指令.# ipmitool -I lan -U root -P “新密码” -H 192.168.111.123 chassis power statusChassis 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 AmpsCurrent | 95h | ns | 10.2 | DisabledSystem 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 | DisabledTemp | 02h | ns | 3.2 | DisabledTemp | 05h | ns | 10.1 | DisabledAmbient Temp | 07h | ns | 10.1 | DisabledTemp | 06h | ns | 10.2 | DisabledAmbient Temp | 08h | ns | 10.2 | DisabledAmbient Temp | 0Eh | ok | 7.1 | 16 degrees CPlanar Temp | 0Fh | ns | 7.1 | DisabledIOH THERMTRIP | 5Dh | ns | 7.1 | DisabledCPU Temp Interf | 76h | ns | 7.1 | DisabledTemp | 0Ah | ns | 8.1 | DisabledTemp | 0Bh | ns | 8.1 | DisabledTemp | 0Ch | ns | 8.1 | Disabled## 列出 event logs# ipmitool -I lan -U root -E -H 192.168.1.101 sel list1 | 01/11/2011 | 11:40:54 | Temperature #0x0e | Upper Non-critical going high2 | 01/01/2011 | 12:32:41 | Temperature #0x0e | Upper Critical going high

  

Dell R410, R710设置iDRAC(远控卡)的ip地址