Setting a configuration, Hponcfg command-line examples, Using hpqlarep – HP Linux Server Management Software User Manual

Page 62: Hpqlarep command-line syntax, Hpqlarep command-line arguments

Advertising
background image

Toolkit utilities 62

</GET_GLOBAL_SETTINGS>

Setting a configuration

A specific configuration can be sent to the iLO, iLO 2, iLO 3, or 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.

HPONCFG command-line examples

For HPONCFG command line examples, see the appropriate user guide at the Remote Management

website (

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

).

Using HPQLAREP

You must edit the text file to insert the WWID of the boot volume and the LUN number that they will boot
from. The hpqlarep utility discovers the WWID of the HBA in the server blade and writes the information

in the text file. The text file presents the options in human readable format. The hpqlarep utility updates the
hardware with the boot volume WWID and boot LUN read from the text file.

HPQLAREP command-line syntax

hpqlarep /s filename hpqlarep /l filename
[HBA0] WWID=11223344 HostAdapterBiosEnable=1 SelectBootEnable=1

BootDeviceWWID=22334455 BootDeviceLUN[0]=1111

HPQLAREP command-line arguments

Command-line argument

Description

hpqlarep /s filename

This argument saves the HBA configuration to the filename.

hpqlarep /l filename

This argument loads the HBA configuration to the filename.

Where filename has the following format:

[HBA0]

Section for each HBA

WWID=11223344

Read-only variable

HostAdapterBiosEnable=1

Read-only variable

Advertising
This manual is related to the following products: