cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25422
Views
83
Helpful
17
Replies

Can I find CIMC IP Address through vSphere?

Nehru Becirovic
Level 1
Level 1

On some of the servers we manage I'm not able to access CIMC.  Either IP has changed (I don't have local access) or its not reachable for some reason. However I can access all the servers through vSphere / ESX.  

 

Is there any way I can confirm IP Address of CIMC through ESX?

17 Replies 17

If the rack is connected to a fabric interconnect and discovered in UCS Manager then yes you would be able to power it up/down, apply profile configuration, launch KVM etc..

 

If the rack is standalone and just going to an upstream Nexus or Catalyst switch then you would need to configure the CIMC.  Otherwise you would have to go physically to the server to power it on or access KVM etc..  

Thanks Brian. I figured that was the case since UCSM runs on the FI. But I don't have a lab to test.

oabbas
Level 1
Level 1

There are two methods of knowing the CIMC via the vSphere CLI

Method 1:

 

[root@localhost:~] enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2 | grep IPv4
                   IPv4DefaultGateway = 192.168.1.254
                   IPv4Address = 192.168.1.5
                   IPv4Netmask = 255.255.255.0

 

But you have to make sure that WBEM service is enabled

 

[root@localhost:~] esxcli system wbem get | grep Enabled:
Enabled: true

 

If WBEM is not enabled (the value is false), you can enable it by running:

 

[root@localhost:~] esxcli system wbem set --enable true

 


Method 2:

 

[root@localhost:~] esxcli hardware ipmi bmc get | grep IPv4
   IPv4Address: 192.168.1.5
   IPv4Gateway: 192.168.1.254
   IPv4Subnet: 255.255.255.0

 

Osama Abbas

Review Cisco Networking for a $25 gift card