How to check HP iLO Firmware version from Linux command line

There are many utilities available in Linux to get a hardware information.Each tool has their own unique feature which help us to gather the required information.

We have already wrote many articles about this, the hardware tools are Dmidecode, hwinfo, lshw, inxi, lspci, lssci, lsusb, lsblk, neofetch, screenfetch, etc.,

Today we are going to discuss about the same topic. I will tell you, how to check HP iLO firmware version through Linux command line.

Also read a following articles which is related to Linux hardware.

Suggested Read :
(#) LSHW (Hardware Lister) – A Nifty Tool To Get A Hardware Information On Linux
(#) inxi – A Great Tool to Check Hardware Information on Linux
(#) Dmidecode – Easy Way To Get Linux System Hardware Information
(#) Neofetch – Shows Linux System Information With ASCII Distribution Logo
(#) ScreenFetch – Fetch Linux System Information on Terminal with Distribution ASCII art logo
(#) 16 Methods To Check If A Linux System Is Physical or Virtual Machine
(#) hwinfo (Hardware Info) – A Nifty Tool To Detect System Hardware Information On Linux
(#) How To Find WWN, WWNN and WWPN Number Of HBA Card In Linux
(#) How To Check System Hardware Manufacturer, Model And Serial Number In Linux
(#) How To Use lspci, lsscsi, lsusb, And lsblk To Get Linux System Devices Information

What is iLO?

iLO stands for Integrated Lights-Out is a proprietary embedded server management technology by Hewlett-Packard which provides out-of-band management facilities.

I can say this in simple term, it’s a dedicated device management channel which allow users to manage and monitor the device remotely regardless of whether the machine is powered on, or whether an operating system is installed or functional.

It allows a system administrator to monitor all devices such as CPU, RAM, Hardware RAID, fan speed, power voltages, chassis intrusion, firmware (BIOS or UEFI), also manage remote terminals (KVM over IP), remote reboot, shutdown, powering on, etc.

The below list of lights out management (LOM) technology offered by other vendors.

  • iLO: Integrated Lights-Out by HP
  • IMM: Integrated Management Module by IBM
  • iDRAC: Integrated Dell Remote Access Controllers by Dell
  • IPMI: Intelligent Platform Management Interface – General Standard, it’s used on Supermicro hardware
  • AMT: Intel Active Management Technology by Intel
  • CIMC: Cisco Integrated Management Controller by Cisco

The below table will give the details about iLO version and supported hardware’s.

  • iLO: ProLiant G2, G3, G4, and G6 servers, model numbers under 300
  • iLO 2: ProLiant G5 and G6 servers, model numbers 300 and higher
  • iLO 3: ProLiant G7 servers
  • iLO 4: ProLiant Gen8 and Gen9 servers
  • iLO 5: ProLiant Gen10 servers

There are three easy ways to check HP iLO firmware version in Linux, Here we are going to show you one by one.

Method-1: Using Dmidcode Command

Dmidecode is a tool which reads a computer’s DMI (stands for Desktop Management Interface) (some say SMBIOS – stands for System Management BIOS) table contents and display system hardware information in a human-readable format.

This table contains a description of the system’s hardware components, as well as other useful information such as serial number, Manufacturer information, Release Date, and BIOS revision, etc,.,

The DMI table doesn’t only describe what the system is currently made of, it also can report the possible evolution’s (such as the fastest supported CPU or the maximal amount of memory supported). This will help you to analyze your hardware capability like whether it’s support latest application version or not?

As you run it, dmidecode will try to locate the DMI table. If it succeeds, it will then parse this table and display a list of records which you expect.

First, learn about DMI Types and its keywords, so that we can play nicely without any trouble otherwise we can’t.

# dmidecode | grep "Firmware Revision"
    Firmware Revision: 2.40

Method-2: Using HPONCFG Utility

HPONCFG is an online configuration tool used to set up and reconfigure iLO without requiring a reboot of the server operating system. The utility runs in a command-line mode and must be executed from an operating system command line on the local server. HPONCFG enables you to initially configure features exposed through the RBSU or iLO.

Before using HPONCFG, the iLO Management Interface Driver must be loaded on the server. HPONCFG displays a warning if the driver is not installed.

To install this, visit the HP website and get the latest hponcfg package by searching the following keyword (sample search key word for iLO 4 “HPE Integrated Lights-Out 4 (iLO 4)”). In that you need to click “HP Lights-Out Online Configuration Utility for Linux (AMD64/EM64T)” and download the package.

# rpm -ivh /tmp/hponcfg-5.3.0-0.x86_64.rpm

Use hponcfg command to get the information.

# hponcfg | grep Firmware
Firmware Revision = 2.40 Device type = iLO 4 Driver name = hpilo

Method-3: Using CURL Command

We can use cURL command to get some of the information in XML format, for HP iLO, iLO 2, iLO 3, iLO 4 and iLO 5.

Using cURL command we can get the iLO firmware version without login to the server or console.

Make sure you have to use right iLO management IP instead of us to get the details. I have removed all the unnecessary details from the below output for better clarification.

# curl -k

ProLiant DL380p G8
Integrated Lights-Out 4 (iLO 4)

About Prakash Subramanian

Prakash Subramanian is a Linux lover and has 3.5+ years of experience in linux server administration with major Linux distribution such as (RHEL, CentOS, Ubuntu). He is currently working as a Senior L2 Linux Server administrator.

View all posts by Prakash Subramanian

Leave a Reply

Your email address will not be published. Required fields are marked *