User Tools

Site Tools


linux:dell-ipmi

Dell IPMI config for Nagios monitoring

Written primarily for the Dell Poweredge 1950's used at Sochi for IOC.

Installation

See:- http://linux.dell.com/repo/community/deb/OMSA_7.1/

root@sochi2:~# cat  /etc/apt/sources.list.d/linux.dell.com.sources.list
deb http://linux.dell.com/repo/community/deb/latest /

root@sochi1:~# apt-get update
rppt@sochi1:~# apt-get install srvadmin-base
root@sochi3:~# service dataeng start

Log out and back in again to allow new $PATH to be read.

root@sochi3:~# omreport chassis temps
Temperature Probes Information

------------------------------------
Main System Chassis Temperatures: Ok
------------------------------------

Index                     : 0
Status                    : Ok
Probe Name                : System Board Ambient Temp
Reading                   : 22.0 C
Minimum Warning Threshold : 8.0 C
Maximum Warning Threshold : 42.0 C
Minimum Failure Threshold : 3.0 C  
Maximum Failure Threshold : 47.0 C

root@sochi3:~#

For the Nagios interface, see:- http://folk.uio.no/trondham/software/check_openmanage.html

See also http://www.openfusion.net/tags/dell/ for IPMI commands.

Messages

ESM log is more than 80% full - seen in Nagios

root@sochi4:~# omconfig system esmlog action=clear
Embedded System Management (ESM) log cleared successfully.

Configuring DRAC ipaddress

See what's already configured:-

root@sochi2:~# ipmitool lan print
Set in Progress         : Set Complete
Auth Type Support       : NONE MD2 MD5 PASSWORD 
Auth Type Enable        : Callback : MD2 MD5 
                        : User     : MD2 MD5 
                        : Operator : MD2 MD5 
                        : Admin    : MD2 MD5 
                        : OEM      : MD2 MD5 
IP Address Source       : Static Address
IP Address              : 192.168.0.120
Subnet Mask             : 255.255.255.0
MAC Address             : 00:1e:4f:30:ae:c7
SNMP Community String   : public
...edited...
root@sochi2:~# ipmitool lan set 1 ipsrc static
root@sochi2:~# ipmitool lan set 1 ipaddr 10.17.1.22
Setting LAN IP Address to 10.17.1.22
root@sochi2:~# 
root@sochi2:~# ipmitool lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
root@sochi2:~#
root@sochi2:~# ipmitool lan set 1 defgw ipaddr 10.17.1.1
Setting LAN Default Gateway IP to 10.17.1.1
root@sochi2:~# 
root@sochi2:~# ipmitool lan set 1 snmp f1r3f1y
Setting LAN SNMP Community String to f1r3f1y
root@sochi2:~# 

Accessing the DRAC web interface

ssh to sochi-relay with X forwarding:-

$ ssh -l root -X -Y 10.100.220.19

Launch Firefox with local display over :-

root@sochi-relay:~# firefox http://10.17.1.21 &
[1] 11847
root@sochi-relay:~#

Default user is root, the corresponding pw is calvin

linux/dell-ipmi.txt · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki