| ||||||||
| ||||||||
| ||||||||
| ||||||||
You are unable to add an ESX Server to a cluster in the VMware High Availability (HA) configuration . This article provides you with steps to:
There are a variety of error messages that are related to VMware HA configuration problems. For example, when VMware HA fails to start you receive the following error: gethostbyname error:2 Note: This document assumes that you have already verified that you have enough licenses for VMware HA (and VMware DRS if it has been configured) for the ESX Server that you are trying to add to the cluster. | ||||||||
| ||||||||
Step 1 Creating a new cluster for testing
Step 2 Reinstalling the VMware HA componentsTo reinstall the VMware HA components on VirtualCenter 2.0.x:
To reinstall the VMware HA components on VirtualCenter 2.5.x:
Step 3 Correcting issues with ESX Server host name configuration and name resolutionTo function correctly VMware HA requires DNS and the ESX Server to report the same host name for a host to be configured. The following illustrates how to change the host name and to check the /etc/hosts file, on the ESX Server to ensure all three report the same information. Note: As of VirtualCenter 2.0.2 and above host names are case sensitive. Host names must be lowercase in the /etc/hosts file on your ESX Server hosts. Use the command hostname and hostname -s to show the Fully Qualified Domain Name (FQDN) and short host name on the server. Compare this output with the values set in the /etc/sysconfig/network and /etc/hosts files . Edit the files accordingly to change any characters from uppercase to lowercase. To dynamically change the host name without having to reboot the ESX Server host, use the command hostname <lowercasename>, where <lowercasename> is your server's host name in lowercase characters. If modifications were made, try to add the ESX Server back into the cluster or do a reconfigure for VMware HA and see if the configuration issue has been resolved. Step 4 - Verifying host name resolution between ESX ServersUsing the ping command, from the service console command shell of every ESX Server host check connectivity to every other ESX Server host in the cluster. Ensure to ping using the short host name, FQDN, and IP address to test connectivity. Also, check the connectivity of every ESX Server host to the isolation address of the cluster. This is the default gateway of the service console by default. Note: VMware HA uses DNS extensively, so DNS must be perfect (for both forward and reverse lookups). You must check this on every ESX Server host machine in the cluster. If you cannot ping, the connectivity issue needs to be resolved before VMware HA can function properly. The most common problem is that it works via IP but not by name, therefore name resolution is not functioning properly. ----begin file---------- 127.0.0.1 localhost.localdomain localhost 10.0.0.1 esxhost1.domainname.com esxhost1 10.0.0.2 esxhost2.domainname.com esxhost2 10.0.0.3 esxhost3.domainname.com esxhost3 ----end of file---------- When the file has been changed retry pinging between servers. If you are able to ping between the ESX Servers, try adding the server back to the cluster again. Note: If your problem still exists after trying the steps in this article:
| ||||||||
| ||||||||
|