The Common Information Model (CIM) interface on an ESXi host provides a way to remotely monitor the hardware health of your hosts via the Web-Based Enterprise Management (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. After connecting to the console using your preferred method, run the following command:
1. VMware ESXi 6.0:
enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2 |grep IPv4AddressIPv4Address = 192.168.0.121
The same command on ESXi will return an error:
enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2 |grep -i IPv4Address
error: enumInstances No data received from server
2. VMware ESXi 6.5:
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. From ESXi 6.5 and later versions, sfcdb and wsman are disabled by default as wbem is kept to false by default. The wbem services are enabled automatically when an OEM provider VIB is installed. For example, when Dell OpenManage systems management software is installed on ESXi 6.5, you may see that the services such as sfcbd and wsman are started automatically.
To enable wbem on Vmware ESXi 6.5 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 IPMIIPProtocalEndpoint root/cimv2
>> IPv4AddressIPv4Address = 192.168.0.121
IPv4Address = 192.168.0.121