HP VMware Utilities User Guide VMware ESXi 5.0 U1 for September 2012

HPONCFG return codes
This section provides description about the return code after running the command.
Table 2 hponcfg return codes
MeaningValue
ERROR: A general system error detected while running HPONCFG-1
Script succeeded.0
Script failed1
ERROR : Unable to shutdown the iLo Channel Interface2
Firmware flash is in progress. Please wait for a while.3
General error detected while checking firmware flash.4
iLO Lights-Out functionality is Disabled.5
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.
You are not a root/superuser. Only root/superuser can access the utility.7
ERROR: Please specify firmware level as numeric input9
Could not get status of the Lights-Out Functionality10
ERROR: Failed to capture the configuration13 - 20
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>
<MOD_DIR_CONFIG>
<DIR_AUTHENTICATION_ENABLED VALUE="N" />
<DIR_LOCAL_USER_ACCT VALUE="Y" />
<DIR_SERVER_ADDRESS VALUE=""/>
<DIR_SERVER_PORT VALUE="25"/>
<DIR_OBJECT_DN VALUE=" "/>
<DIR_OBJECT_PASSWORD VALUE=""/>
<DIR_USER_CONTEXT_1 VALUE=""/>
6 Introduction