Well, the first thing to try in these instances is reconfiguring the HA agent by right-clicking on the ESX host in VirtualCenter and clicking "Reconfigure HA." If this doesn't work, try removing the ESX servers from VirtualCenter and then re-adding them. If this still doesn't work, from what I have seen you have two options: 1) reinstall ESX, or 2) stop fearing text mode and learning to love the console!
The reason options 1 or 2 are necessary is because you most likely entered the wrong host name when configuring the server upon installation. I have done this myself. If you check the Tasks and Events log repository for the ESX server that is throwing the HA error "hostipaddrsdiffer:cmd remove failed ft_guesthostbyname and hostname - i return different addresses 192.168.0.40 and 192.168.0.41". This error is occurring because the 'hostname' returns the incorrect host name which appears to then be used by 'ft_gethostbyname' to get the internet protocol (IP) address from one of the ESX server's domain name service (DNS) servers. However, the IP address returned does not match the IP address the ESX server is configured with. This causes HA to be misconfigured, hence the warning.
The solution is to change the host name of the ESX server to the correct value. This value has to be set in three files: P>/etc/hosts
Replace all instances of the incorrect host name with the correct value, reboot the server, and presto, no more HA warnings. One caveat, if you have configured iSCSI adapters then you may need to reconfigure them since the initiator name that is created is created with the host name of the server.
Hope this helps!
Dig Deeper on Virtual machine monitoring, troubleshooting and alerting
Related Q&A from Andrew Kutz
A user wonders how well Ubuntu will serve him/her in terms of stability, and gets release recommendations from an expert. Continue Reading
This expert's insights will help you make a decision whether to use Ubuntu remote backup. Continue Reading
Learn about an emerging product that aims to decrease time spent fixing dependencies. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.