VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Configuring name resolution for VMware VirtualCenter

Symptoms

  • Unable to add a host to VirtualCenter by name but you can add a host by IP.
  • VMware High Availability (HA) Cluster fails to configure.
  • When adding an ESX or ESXi host to VirtualCenter, you see the error:
     
    The host type is not supported, or was added to a cluster but does not support clustering features.

Purpose

This article guides you through the process of configuring name resolution for VMware VirtualCenter. Configuring name resolution often necessary when there is no DNS server on the network or the DNS server is incorrectly configured. 

Resolution

You must edit the hosts file to configure name resolution.   The default location for the hosts file is:
 
%SystemRoot%\system32\drivers\etc\hosts
 
The hosts file location may be changed. The directory is determined by the registry key:
 
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
 
Populate the hosts file with IP address, Fully Qualified Domain Name (FQDN), and Short Name of all ESX Servers.
 
The contents of the hosts file must look similar to the following.
 
192.168.0.1         server1.domain.com         server1
192.168.0.2         server2.domain.com         server2
192.168.0.3         server3.domain.com         server3
 
where server# is the name of your server.  
 
Verify that all ESX Servers are pingable by name from the VMware VirtualCenter Server. For more information, see Testing network connectivity with the Ping command (1003486
 
You must repeat the above steps on machines using VMware Virtual Infrastructure Client.

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   
Actions