透過CentOS 6 Linux ipmitool設定Dell C6100 IPMI IP Address

參考資料:
http://www.thomas-krenn.com/en/wiki/Configuring_IPMI_under_Linux_using_ipmitool

#安裝ipmitool
yum -y install ipmitool

# 啟動IPMI kernel module
# ref: http://serverfault.com/questions/480371/ipmitool-cant-find-dev-ipmi0-or-dev-ipmidev-0
modprobe ipmi_devintf
#modprobe ipmi_si

#列出目前設定
ipmitool lan print

#使用固定IP方式設定
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 172.31.10.21
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 172.31.10.254

#修改密碼
#ref: http://serverfault.com/questions/85042/is-it-possible-to-reset-the-password-on-a-supermicro-ipmi-interface
ipmitool user list 1
ipmitool -I open user set password 2 mypassword

 

Facebook Comments Box

Leave a Reply