We have muliple site with multiple ESXi 5 hosts.
I have one VM server for which i need to find out the location of ESXi server.
here i can login to VC server whereas not able to find out the ESX server which host the VM.
My question is, is there any command from VM OS which yeild the ESXi name or farm or cluster details from Vcenter server as a result?
Thanks in adv.
welcome to the communities.
You can't directly obtain the hostname form inside the VM. If you wanted to do that you would need to set up some script that updates the hostname in the vmx file of the VMs before.
You can find examples here: http://www.virtuallyghetto.com/2011/01/how-to-extract-host-information-from.html
Anyway, why can't you find your VM? If your display name doesn't match the VMs hostname that should be no problem since you can use the search option in vCenter to search for vm hostname, IP address, etc.
Or do you have a bajillion vCenter servers?
Thank you for the response.
Yes., You are correct, i can find the VM using hostname, IP address, etc...However, in this scenario, i was failed to find VN using Hostname.
I was much more curious about finding the VM location rather than troubleshooting search result as this is production VM.
Thanks once again...