Remote Insight Command Language 317

Example:

<SERVER_INFO MODE="read">

……… SERVER_INFO commands ………

</SERVER_INFO>

SERVER_INFO Parameter

MODE is a specific string parameter with a maximum length of 10 characters that specifies what you intend to do with the information. Valid arguments are "read" and "write."

Write mode enables both reading and modifying of server functionality. Read mode prevents modification of server functionality.

SERVER_INFO Runtime Errors

None

GET_HOST_POWER_STATUS

The GET_HOST_POWER_STATUS command requests the power state of the server. For this command to parse correctly, the GET_HOST_POWER_STATUS command must appear within a SERVER_INFO command block, and SEVER_INFO MODE can be set to read or write.

Example:

<RIBCL VERSION="2.0">

<LOGIN USER_LOGIN="adminname" PASSWORD="password"> <SERVER_INFO MODE="write"> <GET_HOST_POWER_STATUS/>

</SERVER_INFO> </LOGIN>

</RIBCL>

Page 317
Image 317
HP Integrated Lights-Out manual Gethostpowerstatus, Serverinfo Parameter, Serverinfo Runtime Errors