This is an old revision of the document!
Some of these are old notes and may need verification or updating.
http://www.thomas-krenn.com/en/wiki/Configuring_IPMI_under_Linux_using_ipmitool
http://www.openfusion.net/tags/ipmi/
The default username and password are ADMIN/ADMIN (all caps), at least for Supermicro.
SuperMicro IPMI Solution Guide: ftp://ftp.supermicro.com/CDR-0010_2.10_IPMI_Server_Managment/Manuals/Installation_20.pdf
Most new servers have IPMI settings in the BIOS. Older and cheaper BMCs require:
ipnmac.exe
(from DOS) sets IP and MAC addresses
Log in via SSH if you are off-site.
We need the gateway IP and MAC addresses for the IPMI interface. You may be able to get them like this:
route -n arp -n
I have not had to use this with recent CentOS 5 or 6. Skip to
ipmitool
section.
This will install and add commands to /etc/rc.local
to run smagent
which is needed for graceful shutdowns and reboots of the Linux OS:
wget ftp://ftp.supermicro.com/CDR-0010_2.10_IPMI_Server_Managment/IPMI_Solution/Linux/GPC_Agent/GPC_Agent-2.1-050406.tar.gz tar -xzvf GPC_Agent-2.1-050406.tar.gz cd GPC_Agent ./quickinstall # choose option #2
Manual commands to do the same:
modprobe ipmi_devintf modprobe ipmi_si type=kcs ports=0xca8 regspacings=4 /usr/supermicro/smagent & lsmod modprobe ipmi_msghandler modprobe ipmi_si modprobe ipmi_devintf
Works with IPMI kernel modules or smagent?
modprobe ipmi_devintf
modprobe ipmi_devintf modprobe ipmi_si
If ipmitool
is not already installed:
yum install OpenIPMI-tools
wget http://dag.wieers.com/rpm/packages/ipmitool/ipmitool-1.8.8-1.el4.rf.i386.rpm rpm -Uvh ipmitool-*
Display the current configuration:
ipmitool -v lan print 1
Do the configuration:
ipmitool -v lan set 1 ipsrc static ipmitool -v lan set 1 ipaddr <youripmiipaddress> ipmitool -v lan set 1 netmask <youripminetmask> ipmitool -v lan set 1 defgw ipaddr <youripmigwip> ipmitool -v lan set 1 defgw macaddr <youripmigwmac> ipmitool -v lan set 1 arp respond on ipmitool -v lan set 1 auth ADMIN MD5 ipmitool -v lan set 1 access on
Show the IPMI users:
ipmitool user list 1
Configure the IPMI user (the default Supermicro 'ADMIN' user is usually #2):
ipmitool -v user set password 2 <youripmipassword> ipmitool -v user priv 2 4 ipmitool -v channel setaccess 1 2 link=on ipmi=on callin=on privilege=4 ipmitool -v user enable 2
Privilege level '4' is 'ADMINISTRATOR'.
Use ipmitool instead?
wget ftp://ftp.supermicro.com/CDR-0010_2.10_IPMI_Server_Managment/IPMI_Solution/Linux/Administrator/CLI/readme wget ftp://ftp.supermicro.com/CDR-0010_2.10_IPMI_Server_Managment/IPMI_Solution/Linux/Administrator/CLI/ipmicli
Install IPMIView (assumes Java already installed on system):
mkdir -p ~/bin/IPMIView20 cd ~/bin/IPMIView20 wget ftp://ftp.supermicro.com/utility/IPMIView/Release/Jar/IPMIView20-Class_v2.6.44_Build080515.zip unzip IPMIView20-Class_v2.6.44_Build080515.zip chmod +x IPMIView20.sh vim IPMIView20.sh cd ~/bin/IPMIView20/ java -jar IPMIView20.jar
Try this first!
Reboot the BMC, then try changing the configuration again:
ipmitool mc reset cold