HP Onboard Administrator User Manual

Page 152

Advertising
background image

Blade management commands 152

f.

Finish the command with the end marker.

To view the RIBCL script that will be sent to the iLO, specify TEST.

Access level/Bay level:
All
Bay specific

Restrictions:

o

You must have access to the specified bays.

o

For the iLO Update_Firmware script, the Onboard Administrator must be able to download the iLO

firmware file referenced in the script within 2 minutes.

o

This command is not applicable to HP Integrity server blades.

o

To use variable substitution, HPONCFG 1.2 or greater is required. Variables must be specified in the

XML RIBCL script before executing the HPONCFG command. Anything enclosed by two % characters

in the XML file is considered a variable.

o

Quotes are required for strings containing spaces.

o

Variable assignments:

Variable name and the value can include spaces, numbers, or any printable characters.

Up to 25 variables are supported.

The maximum length of a variable name is 48 characters.

The maximum length of a variable value is 256 characters.

Example:
The following command specifies an iLO configuration script for bay 1, using variable substitution. The
end marker is "EOF". The TEST command displays the RIBCL script, and so the script is not executed.

OA-9C8E99224631 [SCRIPT MODE]> HPONCFG SUBSTITUTE TEST

"username"="riosa","user"="riosa","password"="password" 1 << EOF

<RIBCL VERSION="2.0">

<LOGIN USER_LOGIN="%s" PASSWORD="%s">

<USER_INFO MODE="write">

<ADD_USER USER_NAME="%username%" USER_LOGIN="%user%"

PASSWORD="%password%">

</ADD_USER>

</USER_INFO>

</LOGIN>

</RIBCL>

EOF

Bay 1: Resulting RIBCL script.

<RIBCL VERSION="2.0">

<LOGIN USER_LOGIN="hiddenValue" PASSWORD="hiddenValue">

<USER_INFO MODE="write">

<ADD_USER USER_NAME="riosa" USER_LOGIN="riosa" PASSWORD="password">

</ADD_USER>

</USER_INFO>

</LOGIN>

</RIBCL>

Advertising