HP Client Virtualization with VMware View and VMware ThinApp manual Hponcfg return codes

Page 6

Table 1 hponcfg Command Line Arguments (continued)

Argument

Function

-r, - -reset

This argument resets the iLO 2, iLO 3 or iLO 4 to factory defaults.

-h, - -help, - -?

These arguments display simple help messages.

HPONCFG return codes

This section provides description about the return code after running the command.

Table 2 hponcfg return codes

Value

Meaning

-1

ERROR: A general system error detected while running HPONCFG

0

Script succeeded.

1

Script failed

2

ERROR : Unable to shutdown the iLo Channel Interface

3

Firmware flash is in progress. Please wait for a while.

4

General error detected while checking firmware flash.

5

iLO Lights-Out functionality is Disabled.

 

Please enable Lights-Out functionality before using this software.

 

To Enable Lights-Out functionality:

 

Set iLO Security Override Switch to ON and

 

Use iLO ROM-based Setup Utility or iLO Browser interface to enable lights-out

 

functionality.

7

You are not a root/superuser. Only root/superuser can access the utility.

9

ERROR: Please specify firmware level as numeric input

10

Could not get status of the Lights-Out Functionality

13 - 20

ERROR: Failed to capture the configuration

If the script itself fails, errors are reported in the log file created by HPONCFG.

HPONCFG command file contents

The hponcfg command can be used to perform the following tasks:

Obtain an entire configuration

Obtain a specific configuration

Set a configuration

Obtaining an entire configuration

The hponcfg command can be used to obtain an entire configuration from an iLO 2, iLO 3 or iLO 4. In this case, the utility executes from the command line without specification of an input file. The name of the output file is given on the command line. For example:

/opt/hp/tools # ./hponcfg -w config.xml

In this example, the utility indicated that it obtained the data successfully and wrote it to the output file as requested. The following is a typical example of the contents of the output file:

<HPONCFG VERSION="1.1"> <!–Generated 04/15/04 15:20:36—>

6Introduction

Image 6
Contents HP VMware Utilities User Guide Acknowledgments Contents Introduction PrerequisitesHponcfg command-line syntax Hponcfg Command Line ArgumentsHponcfg utility Hponcfg command file contents Obtaining an entire configurationHponcfg return codes Obtaining a specific configuration Setting a configuration Hponcfg command-line examplesHponcfg command-line examples Hpbootcfg Esxcli syntax Hpbootcfg utilityHpbootcfg command-line syntax Hpbootcfg Command Line ArgumentsHpssacli command-line syntax Hpbootcfg return codesHpbootcfg command-line examples Hpssacli utilityHpssacli Command-Line Arguments Hpssacli Esxcli syntaxIntroduction Hptestevent command-line syntax Hptestevent utilityHptestevent Esxcli syntax Hptestevent command-line examplesHptestevent command-line examples Hptestevent return codesExample Usage Before you contact HP Subscription service Documentation feedbackContacting HP HP contact informationTypographic conventions New and changed information in this editionRelated information DocumentsUnderstood or followed will result in personal injury or Index