Skip to main content

Managing the server power using DCMI commands

Use the information in this topic to manage the server power using DCMI commands.

The DCMI provides monitoring and control functions that can be exposed through standard management software interfaces. Server power management functions can also be accomplished using DCMI commands.

The following information are examples of commonly used DCMI power management functions and commands. A request message is used to initiate an action and a response message is returned to the requester.
Note
Commands are displayed in the following formats due to space limitations.

Get Power Reading:Request:ipmitool -H <$IMM_IP> -U <USERID> -P <PASSW0RD> raw 0x2c 0x02 0xdc 0x01 0x00 0x00Response:dc 39 00 38 00 3b 00 39 00 e3 6f 0a 39 e8 03 00 00 40

Set Power Limit:Request:ipmitool -H <$IMM_IP> -U <USERID> -P PASSW0RD raw 0x2c 0x04 0xdc 0x00 0x00 0x00 0x00 0xA0 0x00 0xe8 0x03 0x00 0x00 0x00 0x00 0xe8 0x03Response:dc

Get Power Cap:Request:ipmitool -H <$IMM_IP> -U <USERID> -P <PASSW0RD> raw 0x2c 0x03 0xdc 0x00 0x00Response:dc 00 00 00 a0 00 e8 03 00 00 00 00 01 00

Activate the Power Limit:Request:ipmitool -H <$IMM_IP> -U <USERID> -P <PASSW0RD> raw 0x2c 0x05 0xdc 0x01 0x00 0x00Response:dc

Deactivate the Power Limit: function:Request:ipmitool -H <$IMM_IP> -U <USERID> -P <PASSW0RD> raw 0x2c 0x05 0xdc 0x00 0x00 0x00Response:dc

Note
On some servers the Exception Actions for the Set Power Limit command might not be supported. For example, the Hard Power Off system and log events to SEL parameter might not be supported.

For the complete list of commands that are supported by the DCMI specification, see the latest release of the Data Center Manageability Interface Specification at the Data Center Manageability Interface Specification.