You can access IPMI information of your XenServer by enabling following modules:
modprobe ipmi_devintf
modprobe ipmi_msghandler
modprobe ipmi_si
You can use this utility to perform IPMI functions with a kernel device driver or over a LAN interface. IPMItool enables you to manage system hardware components, monitor system health, and monitor and manage the system environment, independent of the operating system.
List of helpful ipmitool commands:
Set static IP address, Subnet Mask and Default Gateway
#ipmitool lan set 1 ipsrc static
#ipmitool lan set 1 ipaddr 192.168.0.100
#ipmitool lan set 1 netmask 255.255.255.0
#ipmitool lan set 1 defgw ipaddr 192.168.0.254
Set SNMP Community String
#ipmitool lan set 1 snmp string_here
Change the NIC settings to dedicated
#ipmitool raw 0x30 0x24 2
Change the NIC settings to shared
#ipmitool raw 0x30 0x24 0
Check the NIC settings
#ipmitool raw 0x30 0x25
[Output of 00 means shared and 02 means dedicated]
Display current configuration:
#ipmitool lan print 1
Check BMC Firmware Revision:
#ipmitool –I open bmc info | grep –A3 “Firmware Revision”
Check SEL log:
#ipmitool sel
List SEL log:
#ipmitool sel list
Check which node you are in [For Dell Cloud edge]:
#ipmitool raw 0x34 0x11
Reset BMC/DRAC to default:
#ipmitool mc reset cold
Restart the BMC/DRAC
#ipmitool mc reset warm
Set user-defined string on LCD display (DELL PowerEdge)
ipmitool delloem lcd set mode userdefined "your text here"
You can download this tool from the following URL: http://ipmitool.sourceforge.net/
Thanks! Saved me a bunch of time figuring out this thing!