How to install ipmitool to support IPMI on Debian Lenny for Dell PE sc1435

The Intelligent Platform Management Interface (IPMI) specification is an Intel led standard which defines a set of common interfaces to a computer system which system administrators can use to monitor system health and manage the system.

DELL PE sc1435 have Standard Baseboard Management Controller with IPMI 2.0 support,so we can use this feature to manage our servers .

IPMItool is a command line utility for managing and configuring systems with IPMI support. This tool allows you the ability to communicate directly with the IPMI card installed in the server or over a network using TCP/IP.

First , Power On PowerEdge sc1435 server ,when BIOS check , input Ctrl-E to keyboard:

then configure IMPI to the server, and also you can refer this guide document:
http://www.dell.com/downloads/global/power/ps4q04-20040204-Murphy.pdf

then,start OS(Debian Lenny 5.0.3 amd64)

1 #apt-get install ipmitool
2
3 #apt-get install openipmi libopenipmi-dev
1 # modprobe ipmi_watchdog
2 # modprobe ipmi_poweroff
3 # modprobe ipmi_devintf
4 # modprobe ipmi_si
5 # modprobe ipmi_msghandler

Check if ipmi_xxx related kernel modules have loaded or not:

1 # lsmod |grep ipmi
2 ipmi_si 43628 2
3 ipmi_devintf 13200 0
4 ipmi_poweroff 13776 0
5 ipmi_watchdog 22896 0
6 ipmi_msghandler 38520 4 ipmi_si,ipmi_devintf,ipmi_poweroff,ipmi_watchdog

Now,as you see, it have loaded,create the IPMI device:

1 mknod /dev/ipmi0 c `cat /proc/devices | grep ipmidev | awk '{print $1}' ` 0

you can then use ipmitool now !

1 #ipmitool lan print 1
01 Set in Progress         : Set Complete
02 Auth Type Support       : NONE MD2 MD5 PASSWORD
03 Auth Type Enable        : Callback : MD2 MD5
04 : User     : MD2 MD5
05 : Operator : MD2 MD5
06 : Admin    : MD2 MD5
07 : OEM      : MD2 MD5
08 IP Address Source       : Static Address
09 IP Address              : 192.168.101.3
10 Subnet Mask             : 255.255.255.0
11 MAC Address             : 00:18:8b:89:52:84
12 SNMP Community String   : public
13 IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
14 Default Gateway IP      : 192.168.101.1
15 Default Gateway MAC     : 00:00:00:00:00:00
16 Backup Gateway IP       : 0.0.0.0
17 Backup Gateway MAC      : 00:00:00:00:00:00
18 802.1q VLAN ID          : Disabled
19 802.1q VLAN Priority    : 0
20 RMCP+ Cipher Suites     : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
21 Cipher Suite Priv Max   : aaaaaaaaaaaaaaa
22 :     X=Cipher Suite Unused
23 :     c=CALLBACK
24 :     u=USER
25 :     o=OPERATOR
26 :     a=ADMIN
27 :     O=OEM

and you can reconfigure ipmi sets:

01 # ipmitool -I open lan set 1 ipsrc static
02
03 # ipmitool -I open lan set 1 ipaddr 192.168.101.154
04 Setting LAN IP Address to 192.168.101.154
05
06 # ipmitool -I open lan set 1 defgw ipaddr 192.168.101.1
07 Setting LAN Default Gateway IP to 192.168.101.1
08
09 # ipmitool -I open lan set 1 netmask 255.255.255.0
10 Setting LAN Subnet Mask to 255.255.255.0
11
12 # ipmitool -I open lan set 1 access on
13
14 #ipmitool -I open user set password 2 askwan.com

logo to another server,check the server’s system event log:

1 # ipmitool -I lan -H 192.168.101.154 -U root -a sel list
2 Password:
1 | 01/08/2010 | 03:45:19 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
2 | Pre-Init Time-stamp | Power Supply #0x65 | Power Supply AC lost | Asserted
3 | Pre-Init Time-stamp | Power Supply #0x74 | Redundancy Lost
4 | 01/31/2010 | 06:19:46 | Power Supply #0x65 | Failure detected | Asserted
5 | 01/31/2010 | 06:19:50 | Power Supply #0x74 | Redundancy Lost
6 | 02/04/2010 | 22:52:58 | Power Supply #0x65 | Power Supply AC lost | Asserted
7 | 02/04/2010 | 22:53:08 | Power Supply #0x65 | Power Supply AC lost | Deasserted
8 | 02/04/2010 | 22:53:10 | Power Supply #0x74 | Fully Redundant
9 | 02/21/2010 | 19:41:41 | Power Supply #0x65 | Failure detected | Asserted
a | 02/21/2010 | 19:41:44 | Power Supply #0x74 | Redundancy Lost
b | 04/05/2010 | 21:13:58 | Power Supply #0x74 | Fully Redundant

for more usage of ipmitool ,please refer ipmitool man page :
http://ipmitool.sourceforge.net/manpage.html

Reference:
ftp://download.intel.com/design/servers/ipmi/IPMIv2_0rev1_0.pdf
http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface
http://www.mainehost.com/DellPowerEdge-SC1435.pdf
http://openipmi.sourceforge.net/IPMI.pdf
http://lab.advancedclustering.com/twiki/bin/view/Documentation/IPMITools
http://lonesysadmin.net/2007/06/21/how-to-configure-ipmi-on-a-dell-poweredge-running-red-hat-enterprise-linux/

Immediately Article

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply