Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

PowerEdge: How to get the iDRAC IP Address from VMware ESXi on PowerEdge Servers

Summary: This article provides different methods to get the iDRAC IP address of your PowerEdge servers directly from the VMware ESXi host. It is useful when you do not have physical access to the server. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Acquiring the iDRAC IP address of PowerEdge servers with VMware ESXi hosts
 

Using localcli and esxcli Shell Commands:

  1. Start the SSH service of the VMware ESXI host if not already enabled.
  2. Log in remotely using SSH with the root account and password.
  3. Run the commands shown below to get the iDRAC IP address:
# localcli hardware ipmi bmc get
IpmiBmcConfig:
   BMC Firmware Version: 2.86
   Hostname Reported: dellbox
   IPMI Version: 2.0
   IPv4 Address: 192.168.0.121
   IPv4 Gateway: 192.168.2.1
   IPv4 Subnet: 255.255.255.0
   IPv6 Addresses:
   LAN ifAdminStatus: true
   MAC Address: 64:00:6a:bf:34:b0
   Manufacturer: Dell Inc.
   OS Name Reported: VMware ESXi 7.0.3 Update 3 Patch 125 (build-23794027) Kernel 7.0.3 (x86_64)

 

Note: localcli is only needed if working in a limited state from the local shell, remotely using SSH either can be used.

 

# esxcli hardware ipmi bmc get
   BMCFirmware Version: 2.86
   Hostname Reported: dellbox
   IPMIVersion: 2.0
   IPv4Address: 192.168.0.121
   IPv4Gateway: 192.168.2.1
   IPv4Subnet: 255.255.255.0
   IPv6Addresses:
   LANif Admin Status: true
   MACAddress: 64:00:6a:bf:34:b0
   Manufacturer: Dell Inc.
   OSName Reported: VMware ESXi 7.0.3 Update 3 Patch 125 (build-23794027) Kernel 7.0.3 (x86_64)

 

Using the Web-Based Enterprise Management - WBEM

The Common Information Model (CIM) interface on an ESXi host provides a way to remotely monitor the health of your server using the WBEM protocol. It builds on a standard HTTP(S) API, allowing secure SSL/TLS protected authentication and communication between the host and the management stations.

 

Starting from ESXi 6.5 and later versions, VMware introduced a new namespace named 'wbem' as an extension for esxcli which controls the services such as sfcbd and wsman.  The sfcdb and wsman services are disabled by default as wbem is set to false by default. The wbem services are enabled automatically when an OEM provider VIB is installed. For example, when Dell OpenManage software is installed on ESXi, you may see that the services such as sfcbd and wsman are started automatically.
 

To enable wbem on VMware ESXi, use the following commands and then retry. You should now be able to successfully see the IP address assigned to your iDRAC servers.

# esxcli system wbem set -e 1   (This enables wbem on the host)
# enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2 | grep IPv4Address  (The grep command filters the output for only the line that matches IPv4Address)
   IPv4Address = 192.168.0.121

 

output from the enum_instances command

Affected Products

PowerEdge C6420, PowerEdge C6520, PowerEdge C6525, PowerEdge R240, PowerEdge R250, PowerEdge R340, PowerEdge R350, PowerEdge R440, PowerEdge R450, PowerEdge R540, PowerEdge R550, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs , PowerEdge R6515, PowerEdge R6525, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R840, PowerEdge R940, PowerEdge R940xa, PowerEdge T140, PowerEdge T150, PowerEdge T340, PowerEdge T350, PowerEdge T440, PowerEdge T550, PowerEdge T640, VMware ESXi 6.7.X, VMware ESXi 7.x, VMware ESXi 8.x ...
Article Properties
Article Number: 000143172
Article Type: How To
Last Modified: 23 Nov 2024
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.