08-05-2014 09:59 AM - edited 03-01-2019 11:47 AM
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?
03-19-2024 05:07 AM
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..
03-19-2024 08:34 AM
Thanks Brian. I figured that was the case since UCSM runs on the FI. But I don't have a lab to test.
04-28-2024 08:32 AM - edited 06-08-2024 06:30 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide