ESXi 4.1 NoPrimaryAgentAvailible

Hi all, have 5 ESXi 4.1 host in a HA cluster. One of our servers is reporting "HA agent disabled on  ServerName.Domain in  cluster ClusterName. And the other 4 hosts are reporting "HA agent on ServerName in cluster ClusterName has an error: NoPrimaryAgentAvailible.

We have restarted the management agents and VMware are asking us to reboot the hosts (no easy to do). Question, how do I determine the primary agent for the cluster?
LVL 1
Jason ThomasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Haresh NikumbhSr. Tech leadCommented:
you can use powercli command to check primary Master

Get-Cluster clustername | Get-HAPrimaryVMHost

Open in new window


Or you can reconfigure HA cluster again to fix this .The first 5 hosts that join the VMware HA cluster are automatically selected as primary nodes.  All the others are automatically selected as secondary nodes. When you do a reconfigure for HA the primary nodes and secondary nodes are selected again, this is at random
0
Jason ThomasAuthor Commented:
Hi, I have 5 hosts and so if they are all primary why is the one server reporting primary agent failure?
Also, can I run the powercli from a desktop?

Thanks for your help thus far
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Before restarting the hosts, have you Restarted Network Management Agents ON ALL ESXi hosts.

This will not affect the running VMs.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jason ThomasAuthor Commented:
Many thanks all.
Hi, we have restarted management agents but errors remain. I'm just wondering how do I ID the primary agent for the cluster that is being referenced by one of the ESXi hosts.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
/var/logs/vmkernel.log
0
gheistCommented:
Go to vcenter, untick HA and let it disable
Then tick it again - vcenter will install missing HA agents. No restarts needed.
0
Jason ThomasAuthor Commented:
I I do the untick and then re enable do I loose any of the current configuration within vsphere?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Configuration will remain, but HA Agent will be uninstalled/stopped.
0
gheistCommented:
You can right click individual ESXi and "reconfigure for HA", but experience shows that if one is broke some other is broke too, so it is better to reinstall all HA agents.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason ThomasAuthor Commented:
Many thanks chaps
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

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.