[How To]: Configure HPE iLO via ESXi

How To Configure HPE iLO via ESXi Shell

There is a standard way to configure iLO for HPE ProLiant servers, HPE iLO can be configured after boot-up via SETUP utility on all type of servers and generations. If you press [F8] during boot-up, iLO configuration utility will be appeared and then you can configure all iLO configuration such as network connection.

When server has OS or Hypervisor installed, you can’t configure iLO via SETUP utility because server should restart. In order to configuring iLO configurations, all virtual machines should be migrated from ESXi hosts but if you can not restart server or don’t have enough resources for migration, it should be done via ESXi shell.

In case of other operating systems such as Microsoft Windows, configuring iLO is possible via operating system by HPE iLO Configuration Utility.

How To Install HPE iLO Configuration Utility

In order to configure HPE iLO via ESXi, you need to have iLO driver and iLO Configuration Utility. If you have installed ESXi via HPE customized images, HPE device drivers are installed by default and iLO configuration Utility as well.

But if you have ESXi server that installed by standard image, you have to add the driver and utility manually.

In order to install the driver and utility, you need to download HPE ESXi Offline Bundle for VMware vSphere according to vSphere version from HPE.

The installation instruction is as follows:

  1. Power off any virtual machines that are running on the host and place the host into maintenance mode.
  2. Transfer the offline bundle onto the ESXi host local path, or extract it onto an online depot.
  3. Install the bundle on the ESXi host:
    • Install remotely from client, with offline bundle contents on a online depot:
      • esxcli -s <server> -u root -p mypassword software vib install -d <depotURL/bundle-index.xml>
    • Install remotely from client, with offline bundle on ESXi host:
      • esxcli -s <server> -u root -p mypassword software vib install -d <ESXi local path><bundle.zip>
    • Install from ESXi host, with offline bundle on ESXi host:
      • esxcli software vib install -d <ESXi local path><bundle.zip>
  4. After the bundle is installed, reboot the ESXi host for the updates to take effect.
  5. (Optional) Verify that the vibs on the bundle are installed on your ESXi host.
    • esxcli -s <server> -u root -p mypassword software vib list
  6. (Optional) Remove individual vibs. <vib name> can be identified by listing the vibs as shown in #5.
    • esxcli -s <server> -u root -p mypassword software vib remove -n <vib name>

Also you can install Offline Bundle via VMware vCenter Update Manager.

After installing the offline bundle or checking the installed driver and utility, server is ready for configuration.

Step 1:

Write the current configuration to a XML file or create XML file manually:

The below is a sample of iLO configuration XML:

Step 2:

The below items should be change for applying new network configurations:

Here is an example of modified XML file:

Note: You will not need to edit every time 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.

Step 3:

After editing the XML file, you need to force utility to load new configurations by running the below command:

Applying the new configuration might takes some minutes to restart iLO with new parameters.

More On Teimouri.Net

HPE ESXi Offline Bundle for VMware vSphere 5.5 – Version 2.6.0
HP Lights-Out Configuration Utility – 1.5.0
HP iLO Mobile

Davoud Teimouri

Davoud Teimouri is as a professional blogger, vExpert 2015/2016/2017/2018, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Leave a Reply

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