HP iLO 3 Scripting and Command Line Guide

SET_PWREG runtime errors
Possible SET_PWREG error messages include:
Server information is open for read-only access. Write access is
required for this operation.
Internal error.
The value specified is invalid.
This feature requires an installed license key.
User does NOT have correct privilege for action. CONFIG_ILO_PRIV
required.
The PWRALERT value is invalid.
The THRESHOLD value is invalid.
The DURATION value is invalid. Values supported are between 1 and
240.
Invalid integer.
GET_POWER_CAP
The GET_POWER_CAP command is used to get the power cap of the server. For this command
to parse correctly, the GET_POWER_CAP command must appear within a SERVER_INFO command
block, and SERVER_INFO MODE can be set to read. You must purchase the iLO Advanced license
to enable this feature.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="read">
<GET_POWER_CAP/>
</SERVER_INFO>
</LOGIN>
</RIBCL>
GET_POWER_CAP parameters
None
GET_POWER_CAP return messages
A cap value of zero indicates a power cap is not currently set on the server.
SET_POWER_CAP
The SET_POWER_CAP command is used to set a power cap on the server. For this command to
parse correctly, the SET_POWER_CAP command must appear within a SERVER_INFO command
block, and SERVER_INFO MODE must be set to write. You must have the Configure iLO Settings
privilege to execute this command.
You cannot set this property if a dynamic power cap is set for the server. Dynamic power capping
is set and modified using either Onboard Administrator or Insight Power Manager. You must
purchase the iLO Advanced license to enable this feature.
For example, enabling the power cap:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="write">
SERVER_INFO 133