HP iLO 3 Scripting and Command Line Guide

GET_HOST_POWER_STATUS runtime errors
The possible GET_HOST_POWER_STATUS error messages include:
Host power is OFF.
Host power is ON.
GET_HOST_POWER_STATUS Return Messages
The following information is returned within the response:
<GET_HOST_POWER
HOST POWER="OFF"/>
SET_HOST_POWER
The SET_HOST_POWER command is used to toggle the power button of server. For this command
to parse correctly, the SET_HOST_POWER command must appear within a SERVER_INFO command
block, and SERVER_INFO MODE must be set to write. The user must have the Virtual Power and
Reset privilege to execute this command.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="write">
<!-- Modify the HOST_POWER attribute to toggle power on the host server -->
<!-- HOST_POWER="No" (Turns host server power off) -->
<!-- A graceful shutdown will be attempted for ACPI-aware -->
<!-- operating systems configured to support graceful shutdown. -->
<!-- HOST_POWER="Yes" (Turns host server power on) -->
<SET_HOST_POWER HOST_POWER="No"/>
</SERVER_INFO>
</LOGIN>
</RIBCL>
SET_HOST_POWER Parameters
HOST_POWER enables or disables the Virtual Power Button. The possible values are Yes or No.
SET_HOST_POWER Runtime Errors
The possible SET_HOST_POWER error messages include:
Server information is open for read-only access. Write access is
required for this operation.
Virtual Power Button feature is not supported on this server.
Host power is already ON.
Host power is already OFF.
User does not have correct privilege for action. RESET_SERVER_PRIV
required.
GET_HOST_PWR_MICRO_VER
The GET_HOST_PWR_MICRO_VER command provides the power micro version number. The
GET_HOST_PWR_MICRO_VER command must appear within a SERVER_INFO command block
to parse correctly. SERVER_INFO must be set to read.
For example:
<RIBCL VERSION="2.0">
136 RIBCL XML Scripting Language