Hi
I am getting the following error when trying to add a host to an HA cluster.
hostipaddrsdiffer: cmd remove failed: ft_gethostbyname and hostname -i return different addresses 192.168.19.12 and 127.0.0.1
Below is my hosts file. The IP of this server has been changed previously and I think it may have something to do with it. I have noticed the hosts file differs from my other server in that the 127.0.0.1 line points to localhost.localdomain localhost
Problem server hosts file
Do not remove the following line, or various programs
that require network functionality will fail.
127.0.0.1 esx03.ad.xyz.com
192.168.19.12 esx03.ad.xyz.com (<<<< correct IP)
Good server hosts file
Do not remove the following line, or various programs
that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.19.11 esx01.ad.xyz.com
Should I change the 127.0.0.1 line on the problem server to match the line of the good server or will that break it?
Thanks for any replies
Yes, change it to read localhost.localdomain localhost. Should clear it right up.
My hosts file looks like the following
127.0.0.1 localhost.localdomain localhost
192.168.0.10 machinename.mydomain.com machinename
Then I have all the other IP addresses of all of the other ESX servers in the cluster in the file also similar to the format above.
Yes, change it to read localhost.localdomain localhost. Should clear it right up.
Thanks guys thats it sorted