Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Configure HP ILO directly on ESXi server

Luca Dell'Oca, August 22, 2012December 4, 2016

I recently installed the HP drivers on some customers’ server following these two great guides:

Add HP drivers to VMware Update Manager (VUM) from Ivo Beerens

Update your HP drivers with VMware Update Manager from Viktor van den Berg

Those two blog posts are really useful resources to understand how to configure vCenter Update Manager to update your HP servers with their specific drivers.

I’m not going to copy/paste their articles. What I want to show you here, is why these drivers can be useful in managing your ESXi servers and how you can effectively take advantage of them.

First of all, these drivers add further informations to the Hardware Status tab of your servers. The plain ESXi installation does have a great amount of drivers in it, but for obvious reasons it cannot hold all the existing drivers. Even if all the servers in VMware HCL are correctly recognized, not all their hardware information are correctly displayed.
Once I installed the drivers on one of my customer’s HP server (a quite old DL380 G5), the server rebooted and showed us two alert and a warning that were not there before. The two alert were related to the battery status of the embedded P400 raid controller:

since this server was also hosting some VMs in its local datastores, this information was useful for replacing the battery and have again a working situation. How did you find out that error without the HP drivers? Maybe the storage was running without write-cache since months and nobody was able to understand why…

Another alert we got, was about the missing ILO configuration (for those of you not used to HP hardware, it’s the remote console):

Besides the alert, the HP drivers were also helpful to correct the error. Without them, the only solution would have been to reboot the server (shutting down its VMs if its not part of a cluster with vMotion), enter the BIOS and configure ILO.
But, thanks to HP drivers, ILO can be configured directly inside ESXi without the need for a server reboot: going into the command line (locally or via ssh) you can move to /opt/hp/tools, and there you will find the command hponcfg. This tool can be used to configure ILO:

  1. first, write down the actual configuration of ILO. The easiest way to do it is by saving in an XML file:
    /opt/hp/tools # ./hponcfg -w ilo.xml
    HP Lights-Out Online Configuration utility
    Version 4.0-10 (c) Hewlett-Packard Company, 2011
    Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo
    Management Processor configuration is successfully written to file "ilo.xml"
  2. then, edit the XML file and configure your desired parameters:
    <!-- HPONCFG VERSION = "4.0-10.0" -->                                                                                                            
    <!-- Generated 8/6/2012 11:11:4 -->                                                                                                              
    <RIBCL VERSION="2.1">                                                                                                                            
     <LOGIN USER_LOGIN="Administrator" PASSWORD="password">                                                                                                                                                                                                                             
      <RIB_INFO MODE="write">                                                                                                                        
      <MOD_NETWORK_SETTINGS>                                                                                         
        <SPEED_AUTOSELECT VALUE = "Y"/>                                                                                                                                                                                                                                
        <IP_ADDRESS VALUE = "10.123.183.197"/>                                                                                                         
        <SUBNET_MASK VALUE = "255.255.255.0"/>                                                                                                                                                                                                       
        <DNS_NAME VALUE = "esx-ilo"/>                                                                                                                                                                                                            
        <DHCP_ENABLE VALUE = "N"/>                                                                                                                   
        <DOMAIN_NAME VALUE = "domain.local"/>                                                                                                                                                                                                                                                                                                  
      </MOD_NETWORK_SETTINGS>                                                                                                                        
      </RIB_INFO>                                                                                                                                                                                                                                                                     
     </LOGIN>                                                                                                                                        
    </RIBCL>

    Note: you will not need to edit everytime all the parameters, it will be enough to add the lines you want to change. But, you will always have to add the username and password line to authenticate the changes you are doing.

  3. load the new configuration into the ILO, it will take some time to complete:
    /opt/hp/tools # ./hponcfg -f ilo.xml
    HP Lights-Out Online Configuration utility
    Version 4.0-10 (c) Hewlett-Packard Company, 2011
    Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo
    <INFORM>Integrated Lights-Out will reset at the end of the script.</INFORM>
    
    Please wait while the firmware is reset. This might take a minute    
    Script succeeded

Finally, ILO will automatically reset to load the new parameters, and you will be able to reach the ILO via web interface and login into it. Also, ESXi will show you the new ILO configuration:

 

 

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tech CIMconfigurationHPhponcfgILO

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy