Setting a configuration, Remote insight command language, Ribcl sample scripts – HP Remote Insight Lights-Out Edition II Board User Manual

Page 138: Ribcl general guidelines, Sect, Ction, For a, Section for more in, Luded in the hponcfg p

Advertising
background image

Scripting, command line, and utility options 138

<REMOTE_CONSOLE_PORT VALUE ="23"/>

<TERMINAL_SERVICES_PORT VALUE ="3389"/>

<SNMP_ADDRESS_1 VALUE ="1.1.5.5"/>

<SNMP_ADDRESS_2 VALUE ="1.1.5.8"/>

<SNMP_ADDRESS_3 VALUE ="1.1.5.7"/>

<OS_TRAPS VALUE ="YES"/>

<RIB_TRAPS VALUE ="YES"/>

<CIM_SECURITY_MASK VALUE ="NONE"/>

</GET_GLOBAL_SETTINGS>

Setting a configuration

A specific configuration can be sent to RILOE II by using the command format:

HPONCFG /f add_user.xml /l log.txt

In this example, the input file has contents:

<!-- Add user with minimal privileges to test default setting of

assigned privileges to 'N' -->

<RIBCL version="1.2">

<LOGIN USER_LOGIN="x" PASSWORD="x">

<USER_INFO MODE="write">

<ADD_USER USER_NAME="Landy9" USER_LOGIN="mandy9"

PASSWORD="floppyshoes">

<RESET_SERVER_PRIV value="Y" />

<ADMIN_PRIV value="Y" />

</ADD_USER>

</USER_INFO>

</LOGIN>

</RIBCL>

The specified user will be added to the device.

Remote Insight command language

The Remote Insight Board Command Language enables you to write scripts to manage user accounts and
to configure settings.

IMPORTANT: Comments should not interrupt a command. If they do, an error message will be generated.

RIBCL sample scripts

Sample scripts for all RILOE II commands described in this section are available for download from the HP
website (

http://www.hp.com/servers/lights-out

).

RIBCL general guidelines

In this section, all of the commands are grouped by functionality. All commands that manipulate user
information are grouped together. Grouping commands allows the firmware to view the data to be
manipulated as a block of information, similar to a text document, allowing for multithreaded access to
the different kinds of information.

Advertising