Recent Changes - Search:

Disclaimer

edit SideBar

Install IPMI

IPMI: Intelligent Platform Management Interface

1.  Configure all nodes

./WNsh yum install -y OpenIPMI OpenIPMI-tools  dkms
./WNsh /sbin/service dkms_autoinstaller start
./WNsh chkconfig dkms_autoinstaller on
./WNsh /sbin/service ipmi start
./WNsh chkconfig ipmi on
./WNsh /usr/bin/ipmitool -I open lan set 1 ipsrc static
./WNsh /usr/bin/ipmitool -I open lan set 1 netmask 255.255.255.0
ssh wn001 /usr/bin/ipmitool -I open lan set 1 ipaddr 10.0.0.101
...
ssh wn007 /usr/bin/ipmitool -I open lan set 1 ipaddr 10.0.0.107
./WNsh /usr/bin/ipmitool -I open lan set 1 access on
./WNsh /usr/bin/ipmitool -I open lan set 1 snmp AAAAAA
./WNsh /usr/bin/ipmitool -I open lan set 1 password XXXXX
./WNsh /usr/bin/ipmitool -I open user set password 2 YYYYY
./WNsh /usr/bin/ipmitool -I open lan print 1

2.  Query status:

 /usr/bin/ipmitool -I lan -U root -P YYYYY -H 10.0.0.101 chassis power status

3.  Soft restart:

 /usr/bin/ipmitool -I lan -U root -P YYYYY -H 10.0.0.101 chassis power soft 

4.  Identify:

 ipmitool chassis identify 15

will flash the LCD display for 15 seconds

5.  Set LCD on DELL 1950/2950

( from http://www.mail-archive.com/ipmitool-devel@lists.sourceforge.net/msg00352.html)

 ipmitool -H baltar-ipmi -I lan -U rootuser -P rootpass -L ADMINISTRATOR raw 0x6 0x58 193 0 0 6 0x66 0x6F 0x6F 0x62 0x61 0x72
 ipmitool -H baltar-ipmi -I lan -U rootuser -P rootpass -L ADMINISTRATOR raw 0x6 0x58 194 0
0x6
This is the network function (NetFn) number for Applications. See the IPMI spec for more information.
0x58
The operation number for setting system information. IPMI spec (page 572)
193 or 194
The selector for setting the Dell LCD text. 193 means set the string to this, 194 controls what string to show in the LCD.
0
Which chunk of 16 bytes of text you're editing (62 bytes are allowed).
0
Text encoding. This should always be 0 for ASCII.
6
This is the length of the string you're encoding. 'foobar' is 6 characters. You can send 14 characters with each

chunk. This is because you can only send 16 bytes total (1 byte for text encoding, 1 byte for length, 14 bytes for text).

0x66 0x6F 0x6F 0x62 0x61 0x72
The ASCII codes for 'foobar'.
Edit - History - Print - Recent Changes - Search
Page last modified on April 06, 2009, at 10:41 PM