HP Client Virtualization with VMware View and VMware ThinApp manual Setting a configuration

Models: Client Virtualization with VMware View and VMware ThinApp

1 19
Download 19 pages 15.05 Kb
Page 8
Image 8

The requested information is returned in the log file, which, in this example, is named log.txt. The contents of the log file are shown below:

<GET_GLOBAL_SETTINGS> <SESSION_TIMEOUT VALUE="30"/> <ILO_FUNCT_ENABLED VALUE="Y"/> <F8_PROMPT_ENABLED VALUE="Y"/> <REMOTE_CONSOLE_PORT_STATUS VALUE="3"/> <REMOTE_CONSOLE_ENCRYPTION VALUE="N"/> <PREFER_TERMINAL_SERVICES VALUE="N"/> <HTTPS_PORT VALUE="443"/>

<HTTP_PORT VALUE="80"/>

<REMOTE_CONSOLE_PORT VALUE="23"/> <TERMINAL_SERVICES_PORT VALUE="3389"/> <VIRTUAL_MEDIA_PORT VALUE="17988"/> <MIN_PASSWORD VALUE="4"/> </GET_GLOBAL_SETTINGS>

Setting a configuration

A specific configuration can be sent to the iLO 2, iLO 3 or iLO 4 by using the command format:

/opt/hp/tools # ./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

This section provides sample examples to run the utility.

Table 3 hponcfg command-line examples

Command-line argument

Description

hponcfg -h

This argument displays help information.

hponcfg -g

This argument returns the host server name and serial number.

To view the command usage options, run the following command:

/opt/hp/tools # ./hponcfg —h

All options supported by the command are listed in the output.

To get the host server name and serial number, run the following command:

/opt/hp/tools # ./hponcfg —g

The following output is displayed:

Firmware Revision = 2.05 Device type = iLO 2 Driver name = hpilo Host Information:

Server Name: localhost.americas.hpqcorp.net

Server Number: 000000000

To set the minimum firmware level, run the following command:

8Introduction

Page 8
Image 8
HP Client Virtualization with VMware View and VMware ThinApp manual Setting a configuration, Hponcfg command-line examples