iLO 2 Scripting and Command Line Guide
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?
prodNameId=4154847&lang=en&cc=us&taskId=135&prodSeriesId=4154735&
prodTypeId=18964
• Windows-based servers—The iLO Management Interface Driver must be loaded on the server.
• Linux-based servers—The iLO Management interface driver (hpilo) must be loaded on the
server and the health driver package (hp-health rpm) must be installed. The Intelligent
Provisioning operating system installation process normally installs this driver. If the driver is
not installed, you must download and install the driver on the server. Download the driver
from the HP website at:
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?
prodNameId=4154847&lang=en&cc=us&taskId=135&prodSeriesId=4154735&
prodTypeId=18964
Installing HPONCFG
The HPONCFG utility is delivered in separate packages for Windows and Linux operating systems.
For Windows operating systems, it is included as a smart component. For Linux operating systems,
it is included as an RPM package file. HPONCFG packages are included in the ProLiant Support
Pack.
Windows server installation
HPONCFG installs automatically when the ProLiant Support Pack 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 ProLiant Support Pack 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.0-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 65).
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 under iLO Support and Downloads.
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
66 HPONCFG online configuration utility










