HP iLO 3 Scripting and Command Line Guide
6 IPMI usage
The IPMI utility
Use the Linux IPMI tool and Windows IPMI util applications to test the IPMI interfaces on server
platforms. The Linux IPMI tool is used in environments where scripting is used as the base for
platform monitoring.
The Windows IPMI util has a dependency on the IPMI driver if using "in-band" (or from a command
prompt). The Windows IPMI driver is delivered in Windows Server 2008 R2. IPMI support might
be available in later updates of Windows Server 2003 R2.
The Linux IPMI tool also requires the IPMI drivers (delivered in the distribution) to be enabled if
utilized in-band. The IPMI device drivers are not typically enabled to automatically start when the
Linux operating system is started. If you are logged on to a Linux console (command prompt) as a
root user, use the following command to initiate the IPMI device drivers for Linux:
service ipmi start
For more information, see the documentation provided by the specific Linux distribution.
The IPMI tool supports remote IPMI protocols that provide the capability to power the server on
and off, and to remotely monitor the platform. The iLO firmware supports the IPMI 2.0 RMCP+
protocol for the highest level of authentication, encryption and integrity. The legacy IPMI 1.5 IPMI
over LAN protocol is not supported.
Basic IPMI tool usage
The Linux IPMI tool is fully documented in the Linux MAN page. The man ipmitool command
provides extended documentation beyond the scope of this guide. To use IPMI tool from the Linux
operating system to locally monitor a system, the IPMI drivers must be enabled. Typical in-band
commands include the following.
• To retrieve the iLO status, enter:
# ipmitool mc info
• To retrieve the status of iLO monitored sensors, enter:
# ipmitool sensor list
• To retrieve the contents of the IPMI SEL, enter:
# ipmitool sel list
Advanced IPMI tool usage on Linux
The Linux IPMI tool has the capability to securely communicate with iLO using the IPMI 2.0 RMCP+
protocol. This is the ipmitool lanplus protocol feature. For most commands, a valid iLO user
name and password is required. Typical out-of-band (or IPMI over LAN) commands include the
following.
• To retrieve the general iLO status, enter:
# ipmitool -H IP Address or FQDN -I lanplus -U user name mc info
• To power on the HP ProLiant Server, enter:
# ipmitool -H IP Address or FQDN -I lanplus -U user name chassis
power on
• To turn on the HP ProLiant Server UID, enter:
# ipmitool -H IP Address or FQDN -I lanplus -U user name chassis
identify on
The IPMI utility 31










