Determining the IP Address of a Server's Out of Band Management

Nearly all enterprise x86 servers include an out-of-band management interface such as HP iLO, IBM RSA or BMC, IPMI, Dell DRAC, etc. These are used for remotely power cycling, monitoring and what the data centre ops guys, confusingly for me, call KVM access (that's Keyboard Video Mouse not Kernel Virtual Machine!)

As shown in {{ site.baseurl }}{% post_url 2013-10-11-configuring-out-of-band-management %} this post, finding out the IP of the Out-of-Band Management interface from the "in-band" server is at times very useful. Here is the quick reference way to find that out from the Linux command line for popular OOBs:


1hpserver:~# hponcfg -a -w ilosettings.xml
2HP Lights-Out Online Configuration utility
3Version 4.0.0 Date 12/08/2011 (c) Hewlett-Packard Company, 2011
4Firmware Revision = 1.29 Device type = iLO 2 Driver name = hpilo
5Management Processor configuration is successfully written to file "ilosettings.xml"
6hpserver:~# grep "<IP_ADDRESS VALUE" ilosettings.xml


 1ipmiserver# ipmitool -I open lan print 1
 2Set in Progress         : Set Complete
 3Auth Type Support       : NONE MD2 MD5 PASSWORD
 4Auth Type Enable        : Callback :
 5                        : User     : MD2 MD5 PASSWORD
 6                        : Operator : MD2 MD5 PASSWORD
 7                        : Admin    : MD5
 8                        : OEM      :
 9IP Address Source       : Static Address
10IP Address              :
11Subnet Mask             :
12MAC Address             : 00:00:00:00:00:00
13SNMP Community String   : public
14IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
15BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
16Gratituous ARP Intrvl   : 2.0 seconds
17Default Gateway IP      :
18Default Gateway MAC     : 00:00:00:00:00:00
19Backup Gateway IP       :
20Backup Gateway MAC      : 00:00:00:00:00:00
21802.1q VLAN ID          : Disabled
22802.1q VLAN Priority    : 0
23RMCP+ Cipher Suites     : 0,1,2,3,4
24Cipher Suite Priv Max   : XaaaaXXXXXXXXXX
25                        :     X=Cipher Suite Unused
26                        :     c=CALLBACK
27                        :     u=USER
28                        :     o=OPERATOR
29                        :     a=ADMIN
30                        :     O=OEM