318 User Guide Integrated Lights-Out

GET_HOST_POWER_STATUS Parameters

None

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.

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>