Some IPMI commands for Nutanix IPMI Management

Below are some Nutanix IPMI Commands :

1 Check System Event Log

The BMC contains a central, non-volatile System Event Log ‘SEL’ that can be accessed even after a CPU failure on the server, for example, through the Nutanix IPMI LAN access.

A series of Nutanix IPMI commands permits reading and deleting the SEL. As the memory for the SEL is limited, it must be periodically checked and deleted so that additional events can be documented.

Query SEL events

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN -v sel list
   1 | 03/13/2014 | 02:47:10 | Power Supply #0xc8 | Failure detected | Asserted
   2 | 03/13/2014 | 03:20:21 | Power Supply #0xc8 | Failure detected | Deasserted
   3 | 03/13/2014 | 04:22:22 | Power Supply #0xc8 | Failure detected | Asserted

Clear the SEL Log

If need to clear old SEL logs to track down the particular issue

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN -v sel clear

3 Hardware Sensor Reading

If you need to check hardware sensor reading of CPU, Fan, power supply unit and etc

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN sensor list

4 Reset the BMC

If need to reset the BMC configuration

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN mc reset cold

OR

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN raw 0x06 0x02

# Wait at least one minute for the reset to complete

Note : No impact on running host, cvm and guest VMs

5 Get serial number of the node

If need to check Nutanix or Nutaix OEM hardware block serial number

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN fru

6 IPMI policy when the power is restored6

If need to set chassis power state in case of power shortage

nutanix@cvm$ ipmitool -H HOSTIP -U ADMIN -P ADMIN chassis policy

chassis policy <state>    list        : return supported policies  

always-on   : turn on when power is restored    previous    : return to previous state when power is restored    always-off  : stay off after power is restored

7 Help information for specific commands

If need to know sub-commands of ipmitool

ESXi/AHVipmitool CMD OPT /?
Hyper-Vipmiutil CMD -?