I am trying to add a new host to my cluster by its hostname and keep getting an error.
-VMware ESXi 5-
Error:Cannot contact the specified host (t710-2). The host may not be available on the network, a network configuration problem may exist, or the management services on this host may not be responding.
Error Stack
Call "Datacenter.QueryConnectionInfo" for object "Datacenter" on vCenter Server "vCenter" failed.
I can add it by the IP address just fine, but would like to find out why it wont add by the host name. Any help is greatly appreciated.
Can the vCenter resolve the Hosts name by DNS?
If not you need to update the DNS for the Host, or add the name into the hosts file in vCenter
"add the name into the hosts file in vCenter" - How would one go about doing this?
The file is in system32\drivers\etc, called hosts
Open it up with notepad and add the esx hosts name into it following the example within the file.
You should then be able to resolve the Hosts name via the vCenter and add it in.
I'm running the vCenter App. Where can you change the host file in the App?
I'm not running the appliance here but this link looks correct http://www.dashvue.com/2011/11/dns-in-vcenter-server-appliance/
Give it a go.
I don't have the appliance running at the moment. However, the default location should be "/etc/hosts". That said you may also add the entries in the "/etc/hosts" file on the ESXi hosts. Always add the short and FQDN name.
example:
10.1.1.10 vcenter vcenter.domain.local
10.1.1.11 esx-1 esx-1.domain.local
10.1.1.12 esx-2 esx-2.domain.local
André
Thank you all for the help. I'll give the link a read and see what I come up with.
I figured it out and here is what I did.
Thanks for all the help. Here is the error I was getting for others to find by searching.
Call "Datacenter.QueryConnectionInfo" for object "Datacenter" on vCenter Server "vCenter" failed.
Please share the link...
Regards,
Milton
Share what link?