VMware vSphere
VMware ESXi
There is a problem with name resolution if any of these tests fail. ESX/ESXi hosts must be able to find each other by:
If an issue with name resolution has been identified it must be resolved either on the DNS server or by using hosts files.
Note: After making any changes to DNS or hosts files, ensure that you delete the file /etc/FT_HOSTS (or /etc/opt/vmware/aam/FT_HOSTS and /var/run/vmware/aam/FT_HOSTS ) on all affected ESX/ESXi hosts.
Note: If a VMotion VMkernel port is on the same vSwitch as the primary Service Console, or if a host has multiple Service Consoles, see Incompatible HA Networks appearing when attempting to configure HA (High Availability) (1006541).
The hosts file on the ESX host is located at /etc/hosts .
Open the file for editing using a text editor such as nano or vi .
Example hosts file:
Notes: