Is there a way to find out what cluster or vcenter an ESX server is on?
Solution 1:
You can find this information from the ESXi host directly by examining the serverIp
parameter in /etc/vmware/vpxa/vpxa.cfg
.
grep serverIp /etc/vmware/vpxa/vpxa.cfg
This should also be available via API.