Hponcfg return codes, Hponcfg command file contents, Obtaining an entire configuration – HP Linux Server Management Software User Manual
Page 58
Toolkit utilities 58
Command-line argument
Description
-reset
This argument resets the RILOE II, iLO, iLO 2, or iLO 3 to factory defaults.
-f filename
This argument sets the RILOE II, iLO, iLO 2, or iLO3 configuration based on
the information in the XML input file named filename.
-l filename
This argument logs replies to the text log file named filename.
-w filename
This argument writes the RILOE II, iLO, iLO 2, or iLO 3 configuration
obtained from the device to the XML output file named filename.
-get_hostinfo
This argument returns the host server name and serial number.
-m
This argument indicates to HPONCFG the minimum firmware level that must
be present in the management device to execute the RIBCL script. If the
minimum level is not met, HPONCFG returns an error without performing
any additional actions.
-mouse
This argument causes HPONCFG to configure the server for optimized
mouse handling.
NOTE:
For a complete list of all command-line parameters, execute the /? utility.
HPONCFG return codes
Value
Meaning
0
The script was sent successfully to the device, or there is no RILOE II, iLO, iLO 2, or iLO 3
present in the system.
1
The script could not be sent to the device.
If the script itself fails, errors are reported in the log file created by HPONCFG.
HPONCFG command file contents
HPONCFG can be used to perform the following tasks:
•
Obtain an entire configuration
•
Obtain a specific configuration
•
Set a configuration
Obtaining an entire configuration
HPONCFG can be used to obtain an entire configuration from an iLO, iLO 2, iLO 3, or a RILOE II. 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:
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: