This tutorial will show you How to Get the ILO/IDRAC IP Address From ESXi Host using esxcli and localcli.
In my scenario, one of the transport nodes [ESXi] is experiencing a boot bank issue. To replace it, and I need to perform the break-fix and reinstall the hypervisor. Need access to the server management console. Due to the lack of documentation on the customer environment, the ILO management IP address details are not documented.
There are two options available to get the ILO/IDRAC IP addresses.
1. Directly plug the keyboard into the physical server from the Data Center.
2. Get the details from the ESXi hypervisor
If your ESXi has gone offline, the only choice is to proceed with choice 1. This article applies to people who have access to ESXi SSH.
Commands to get ILO/IDRAC details:-
Step 1: SSH into the ESXi host and Run the following command:
[root@esxi-1:~]esxcli hardware ipmi bmc get
[root@esxi-1:~]localcli hardware ipmi bmc get
Note: Whenever hostd daemon is not functioning properly and ESXi is having a boot bank issue, localcli command will help you get the details. Mostly above commands will work on other hardware vendors as well.
Dell Output:
[root@esxi-1:~]localcli hardware ipmi bmc get
BMCFirmware Version: X.X
IPMIVersion: X.X
IPv4Address: XX.XX.XX.XX
IPv4Gateway: XX.XX.XX.XX
IPv4Subnet: XX.XX.XX.XX
IPv6Addresses:
LANif Admin Status: true
MACAddress: XX.XX.XX.XX.XX.XXManufacturer: Dell Inc.
OSName Reported:
HPE Output:
[root@esxi-1:~]localcli hardware ipmi bmc get
BMCFirmware Version: X.X
IPMIVersion: X.X
IPv4Address: XX.XX.XX.XX
IPv4Gateway: XX.XX.XX.XX
IPv4Subnet: XX.XX.XX.XX
IPv6Addresses:
LANif Admin Status: true
MACAddress: XX.XX.XX.XX.XX.XXManufacturer: Hewlett Packard Enterprise.
OSName Reported:
In the above output IP address and MAC address details are masked. In the environment, you will get details of the configured IP Address of ILO/IDRAC.
Troubleshoot ILO UI Not loading properly:
How to troubleshoot ILO UI not loading properly on HPE boxes.
Step 1: SSH into the ESXi host and Run the following command:
[root@esxi-1:~]cd /opt/tools
[root@esxi-1:~]./hponcfg -b
Lights-Out online configuration utility for ESXi Version X.X.X.X (c) Copyright XXXX-XXXX Hewlett Packard Enterprise Development LP Firmware Revision = X.X.X Device type = iLO X Driver name = ilo
Rebooting the Management Processor...This takes up to 60 Seconds.
The Management Processor has been rebooted.
Step 2: Once the services are rebooted you can able to access the ESXi server iLO
“Information is power. But like all power, there are those who want to keep it for themselves.”
― Aaron Swartz