HP iLO 4 Scripting and Command Line Guide
1 Introduction
Scripting and command line guide overview
HP iLO 4 provides multiple ways to configure, update, and operate HP ProLiant servers remotely.
The HP iLO User Guide describes each feature and explains how to use these features with the
browser-based interface and RBSU. For more information, see the HP iLO User Guide on the HP
website at http://www.hp.com/go/ilo/docs.
The HP iLO Scripting and Command Line Guide describes the syntax and tools available to use
iLO 4 through a command line or scripted interface.
Sample XML scripts downloaded from the HP website contain commands for all iLO firmware.
Unless otherwise specified, the examples in this guide are for iLO 4 firmware version 1.40 and
later. Before using the sample scripts, review the firmware support information in each script to
tailor the script for the intended firmware and version. Download the sample scripts from 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.
Throughout this manual, iLO 4 is referred to as iLO.
In addition to the GUI, the iLO firmware provides multiple ways to configure and control iLO and
the server using scripts and command line instructions.
The scripting tools provide a method to configure multiple iLO systems, to incorporate a standard
configuration into the deployment process, and to control servers and subsystems. Using the scripting
tools enables you to:
• Change the Administrator password on all your iLO systems
• Configure LDAP directory service settings
• Control the server power state
• Attach a virtual media CD/DVD to the host server
• Update the iLO firmware
• Retrieve power consumption data
• Issue various configuration and control commands
The command line tools provide quick and easy methods to send commands to the iLO firmware
and host servers.
Scripting and command line utilities
This section describes the following scripting and command line tools:
• HPQLOCFG.EXE
• LOCFG.PL
• HPONCFG.EXE
• SMASH CLP
• IPMI
The current version of iLO introduces RIBCL headers that offer expanded script functionality. Upgrade
any of the utilities you use to the versions listed below to take advantage of the expanded
functionality.
The current version of iLO 4 requires upgrades to the following utilities:
Scripting and command line guide overview 13










