Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial
Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under
vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products
and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. UNIX is a registered
trademark of The Open Group.
Acknowledgments
Microsoft Windows is U.S. registered trademarks of Microsoft Corporation.
This section provides information about the utilities supported on VMware ESXi 5.0 and updates.
The following utilities are supported on VMware ESXi 5.0 and updates host:
•HPONCFG — Command line utility used for obtaining and setting ProLiant iLO configurations.
•HPBOOTCFG — Command line utility used for configuring ProLiant server boot order.
•HPACUCLI – Command line utility used for configuration and diagnostics of ProLiant server
SmartArrays.
Installing offline bundles on an ESXi 5.0 and updates host using vSphere
CLI 5.0 esxcli utility
This section provides information about installing the VMware ESXi 5.0 and updates offline bundles
on the ESXi host. You can use the esxcli utility in conjunction with offline bundles or with a depot.
Prerequisites
Install VMware vSphere Command-Line Interface 5.0(vSphere CLI) on Microsoft
Windows or Linux system. For information about importing or installing the vSphere CLI 5.0,
see the VMware vSphere Command-Line Interface Installation and Reference Guide available at:
•Install from ESXi host, with offline bundle available on ESXi host
~# esxcli software vib install -d <ESXi local path><bundle.zip>
4.After the bundle is installed, reboot the ESXi host to initialize the utilities.
Installing offline bundles on an ESXi 5.0 and updates host using VMware
vCenter Update Manager
The offline bundle can also be installed from VMware vCenter Update Manager as a patch. For
more information and detailed instructions, see the VMware vCenter Update Manager AdministrationGuide available at:
The HPONFCG utility only supports HP ProLiant 300/500/700/900 Server series, 100 Series
Gen8 servers, and HP ProLiant BL Servers that are listed in the ESXi Server Support Matrix. To visit
4Introduction
the ESXi Server Matrix page, go to www.hp.com/go/vmware and select Certified ProLiants underTools/Resource section.
HP offers support for the iLO 2, iLO 3 and iLO 4 features available on ProLiant servers with the
HPONCFG utility.
HPONCFG is an online configuration tool used to set up and reconfigure iLO 2, iLO3 and iLO 4
without requiring a reboot of the server operating system. The utility runs in a command-line mode
and must be executed from an operating system command-line.
Observe the following requirements before using HPONCFG:
•The iLO 2, iLO 3 or iLO 4 Management Interface Driver must be loaded on the server. HPONCFG
displays a warning if the driver is not installed.
•HPONCFG requires minimum iLO 2, iLO 3 and iLO 4 firmware versions. To determine the
minimum firmware version required, see the HP SmartStart Scripting Toolkit Linux and WindowsEditions Support Matrix.
For more information, see the Remote Management website:http://www.hp.com/servers/lights-out
The HPONCFG utility can be accessed from the location: /opt/hp/tools.
IMPORTANT:Because the-w argument does not capture certain types of information, such as
the administrator password, data files created with HPONCFG using the-w argument cannot then
be used as input files for HPONCFG, unless they are modified first.
Table 1 hponcfg Command Line Arguments
FunctionArgument
-a, --all
-i --input
-s,--substitute
-f, - -file=filename
-m, - -minfwlevel
This argument captures complete Management Processor configuration to the
file. This option should be used along with the "-w" option.
This argument Get/Set Management Processor Configuration from the XML
input received through the standard input stream.
This argument substitutes variables present in the input configuration file with
the values specified in "namevaluepairs".
This argument sets the iLO 2, iLO 3 or iLO 4 configuration based on the
information in the XML input file named filename.
This argument logs replies to the text log file named filename.-l, - -log=filename
Writes all the responses from iLO 2, iLO 3 or iLO 4.-v, - -xmlverbose
This argument returns the host server name and serial number.-g, - -get_hostinfo
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.
-w, - -writeconfig=filename
This argument writes the iLO 2, iLO 3 or iLO 4 configuration obtained from the
device to the XML output file named filename.
This argument resets the iLO 2, iLO 3 or iLO 4 to factory defaults.-r, - -reset
These arguments display simple help messages.-h, - -help, - -?
HPONCFG utility5
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: