HP iLO 3 Scripting and Command Line Guide
1 Introduction
Scripting and command line guide overview
HP iLO 3 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/ilo3 and click More iLO Documentation.
The HP iLO Scripting and Command Line Guide describes the syntax and tools available to use
iLO 3 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 3 firmware version 1.61 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/iLO3. Click HP iLO Sample Scripts for Windows or HP Lights-Out
XML Scripting Sample for Linux under Helpful Downloads.
Throughout this manual, iLO 3 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 3 requires upgrades to the following utilities:
Scripting and command line guide overview 11










