HP iLO 4 Scripting and Command Line Guide
it is included as an RPM package file. HPONCFG packages are included in the Service Pack for
ProLiant (SPP).
Windows server installation
HPONCFG installs automatically when the Service Pack for ProLiant is installed. To install HPONCFG
manually, run the self-extracting executable.
HPONCFG creates a directory at:
%Program files%\HP\hponcfg.
Linux server installation
HPONCFG is installed automatically when Service Pack for ProLiant is installed. Download the
HPONCFG RPM package for Linux distributions from the HP website. Install the appropriate
package using the RPM installation utility.
For example, for a package installation, install the HPONCFG RPM package on Red Hat Enterprise
Linux 5 by entering the following command:
rpm -ivh hponcfg-4.0.1-2.linux.rpm
If you have an older version of the HPONCFG RPM package installed on the system, run the
following command to remove the older version before installing the new version of HPONCFG:
rpm –e hponcfg
The hp-ilo rpm package and the hp-health rpm package must be installed on the system
before installing the hponcfg rpm package.
After installation, the HPONCFG executable is located in the /sbin directory. Be sure that the
appropriate Management Interface Driver is installed. For details about where to obtain this driver
and file, see “HPONCFG requirements” (page 24).
VMware installation
HPONCFG is available for VMware (ESXi 5 only). HPONCFG is included with the HP custom
VMware ESXi 5 image. If you have the standard VMware ESXi image, HPONCFG can be
downloaded from www.hp.com and installed as a VIB with the following command:
esxcli software vib install -v <path><filename.vib>
For VMware, the hpilo driver is already included in the image (either HP custom or standard
VMware).
HPONCFG utility
The HPONCFG configuration utility reads an XML input file, formatted according to the rules of
the RIBCL language, and produces a log file containing the requested output. A few sample scripts
are included in the HPONCFG delivery package.
A package containing various and comprehensive sample scripts is available for download on
the HP website at: http://www.hp.com/go/ilo.
Click iLO Sample Scripts for Windowsor Lights-Out XML scripting sample for Linux on the Resources
tab, under Support.
Typical usage is to select a script that is similar to the desired functionality and modify it for your
exact requirements. Although no authentication to iLO is required, the XML syntax requires that
the USER_LOGIN and PASSWORD tags are present in the LOGIN tag, and that these fields contain
data. 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 utility 25










