HP iLO 4 Scripting and Command Line Guide
the database was successfully read. If the database is open for writing by another application,
then this call will fail.
This command block is only valid on ProLiant BL Class Servers, and requires the MODE parameter
with a value of read or write. The MODE parameter value is a specific string with a maximum
length of 10 characters that specifies what you intend to do with the information.
Write mode enables both reading and writing of iLO information. Read mode prevents modification
of the iLO information. The possible RACK_INFO error messages include:
• Invalid Mode.
• Server is not a rack server; rack commands do not apply.
For example:
<RACK_INFO MODE="read">
……… RACK_INFO commands ………
</RACK_INFO>
GET_RACK_SETTINGS
The GET_RACK_SETTING command requests the rack settings for an iLO. For this command to
parse correctly, the GET_RACK_SETTINGS command must appear wthin a RACK_INFO command
block, and RACK_INFO MODE can be set to read or write.
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="password">
<RACK_INFO MODE="read">
<GET_RACK_SETTINGS/>
</RACK_INFO>
</LOGIN>
</RIBCL>
GET_RACK_SETTINGS parameters
None
GET_RACK_SETTINGS runtime errors
None
GET_RACK_SETTINGS return messages
A possible GET_RACK_SETTINGS return message is:
<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
<GET_RACK_SETTINGS>
<RACK_NAME VALUE="Don_PowerCap_Rack"/>
<ENCLOSURE_NAME VALUE="OA-001CC45F6A59"/>
<ENCLOSURE_SN VALUE="2UX74403NS"/>
<ENCLOSURE_UUID VALUE="092UX74403NS"/>
<BAY VALUE="6"/>
<ENCLOSURE_TYPE VALUE="BladeSystem c3000 Enclosure"/>
</GET_RACK_SETTINGS>
</RIBCL>
BLADESYSTEM_INFO
The BLADESYSTEM_INFO command only appears within a LOGIN command block. Only commands
that are BLADESYSTEM_INFO type commands are valid inside the BLADESYSTEM_INFO command
block.
146 RIBCL XML Scripting Language










