iLO 2 Scripting and Command Line Guide

block, and SERVER_INFO MODE must be set to write. The user must have the virtual power and
reset privilege to execute this command.
Example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="write">
<SET_HOST_POWER HOST_POWER="Yes"/>
</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 toggles the power button of server. For this command
to parse correctly, the GET_HOST_PWR_MICRO_VER command must appear within a SERVER_INFO
command block, and SERVER_INFO must be set to read.
Example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="admin" PASSWORD="admin123">
<SERVER_INFO MODE="read">
<GET_HOST_PWR_MICRO_VER/>
</SERVER_INFO>
</LOGIN>
</RIBCL>
GET_HOST_PWR_MICRO_VER parameters
None
GET_HOST_PWR_MICRO_VER runtime errors
The possible GET_HOST_PWR_MICRO_VER error messages include:
Error
if the power micro cannot be read (hardware issue).
Power Off
if the server is powered off.
N/A
if the server does not support a power micro.
SERVER_INFO 141