Cannot complete the configuration of the HA agent on the host. Unable to contact a primary HA agent.

When configuring HA I get this error message;

Cannot complete the configuration of the HA agent on the host. Unable to contact a primary HA agent.

Any idea why?

Thanks,

nimdatx
LVL 1
Jaime CamposAsked:
Who is Participating?
 
Paul SolovyovskySenior IT AdvisorCommented:
Typically a DNS issue.  I have seen this several times.

Ping the ESX/ESXi hosts from vCenter by FQDN and shortname.
Ping the vCenter server by FQDN from the ESX hosts (connect CLI)

In Events there should be a "show" tab, expand and print out full error message
0
 
Jaime CamposAuthor Commented:
Error message. HA Error
0
 
coolsport00Commented:
Do you have any hosts in the HA Cluster yet? Have you looked at the Availability Guide (http://www.vmware.com/pdf/vsphere4/r41/vsp_41_availability.pdf, beginning on pg. 13) on instructions to set up HA?

~coolsport00
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
coolsport00Commented:
Ha...you posted a screen just before I submitted :)

Concur with "paulsolov"; one of the 1st things to check is if DNS is set.

~coolsport00
0
 
Paul SolovyovskySenior IT AdvisorCommented:
I spent 3 day on a large datacenter with this issue.  Windows Firewall on vCenter was not allowing ICMP from ESX hosts causing a whole lot of issues.  I have avoid the issue at times by creating host files.

Also a good idea to check /etc/hosts on the ESX/ESXi hosts to ensure that you have correct name/ip
0
 
coolsport00Commented:
This KB should also help:
http://kb.vmware.com/kb/1004633

~coolsport00
0
 
Jaime CamposAuthor Commented:
I pointed VCenter to another DNS Server (new) and it worked. I guess I have an issue with my DNS server. For some reason some users are ok and others are not able to connect to Exchange or resolve host name to IP.
0
 
Jaime CamposAuthor Commented:
Before I did that....I had pinged the ESX host from VCenter and host to VCenter and was good using each host name. Very weird.
0
 
coolsport00Commented:
I have 2 DNS servers and sometimes, although configured to do so, they don't replicate the records as they should and I have to manually flush out the 'stale' records/cache. Something you may need to check into. I recommend posting in that particular EE Zone if you need further assistance with DNS.

~coolsport00
0
 
Paul SolovyovskySenior IT AdvisorCommented:
It's typically a DNS issue as was my first assumption.  Review the DNS configuration/check replication.

What I do sometimes is add a non authoratative DNS server on the vCenter server.  This allows is to have all the records without adding hosts files.  I use this is as a primary or secondary DNS Server for the VMWare environment
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.