iLO 2 Scripting and Command Line Guide

the USER_LOGIN and PASSWORD tags are present in the LOGIN tag, and that these fields contain
data. Any data is accepted in these fields. To successfully execute HPONCFG, the utility must be
invoked as Administrator on Windows servers and as root on Linux servers. HPONCFG returns
an error message if you do not possess sufficient privileges.
HPONCFG command line parameters
HPONCFG accepts the following command line parameters:
/help or ? Displays the help page
/reset Resets the iLO to factory default values
/f filename Sets and receives the iLO configuration from the information
given in the XML input file that has name filename
/i filename Sets and receives iLO configuration from XML input received
through the standard input stream
/w filename Writes the iLO configuration obtained from the device to
the XML output file named filename
/l filename Logs replies to the text log file that has name filename
/s namevaluepairs or
/substitute namevaluepairs
Substitutes variables present in the input config file with
values specified in namevaluepairs
/get_hostinfo Receives the host information. Returns the server name and
server serial number
/m Indicates the minimum firmware level that should be present
in the management device to execute the RIBCL script. If at
least this level of firmware is not present, HPONCFG returns
an error without performing any additional action
/mouse Configures the server for optimized mouse handling to
improve graphical remote console performance. By default,
it optimizes for remote console single cursor mode for the
current user. The dualcursor command line option, along
with the mouse option, optimizes mouse handling as suited
for remote console dual-cursor mode. The allusers
command line option optimizes mouse handling for all users
on the system. This option is available only for Windows
/display Configures Windows display parameters to optimize
graphical remote console display performance
These options must be preceded by a slash (/) for Windows and Linux as specified in the usage
string.
For example:
hponcfg /f add_user.xml /l log.txt > output.txt
Using HPONCFG on Windows servers
Start the HPONCFG configuration utility from the command line. When using Windows, cmd.exe
is available by selecting StartRuncmd. HPONCFG displays a usage page if HPONCFG is
entered with no parameters. HPONCFG accepts a correctly formatted XML script. HPONCFG
sample scripts are included in the HPONCFG package.
For more information about formatting XML scripts, see “Using RIBCL” (page 75).
The command line format is:
hponcfg [ /help | /? | /m firmwarelevel | /reset [/m firmwarelevel]
| /f filename [/l filename] [/s namevaluepairs]
HPONCFG utility 67