VMware vSphere

 View Only
Expand all | Collapse all

Vsphere HA agent cannot be correctly installed or configured.

GokulVeeramani

GokulVeeramaniJun 04, 2015 11:53 AM

  • 1.  Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 02:49 PM

    Hi All,

    I have recently update the ESXI host from 5.5 U1 to 5.5U2 (2143827) as my Cluster has 4host with 2 with update 2 and other 2 with update after the update Iam unable to configure the HA as it shows error like

    Vsphere HA agent for the host has an error:Vsphere HA agent cannot be correctly installed or configured.

    Note: the Remaning 2 host which was not update can able to install the HA agent

    Need Your help to resolve this issue.



  • 2.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 02:57 PM

    Simply right click on the affected host and right click and select <Reconfigure  HA Agent >.

    This will try to reconfigure the host against the cluster.



  • 3.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 02:59 PM

    Hi Anjani,

    I have tried that the same error occur..



  • 4.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 03:19 PM

    Did you checked if locked down mode is not enabled after upgrading the host.

    if its enabled just disabled it and then configure it for HA.

    Also suggest you to check the esxi host logs

    fdm-installer.log/var/log file or syslog.log/var/log

    and vcenter log too. vpxd.log




  • 5.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 03:33 PM

    the FDM log is empty and please find the syslog .attached



  • 6.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 03:49 PM

    I checked out and didnt find anything specific to the HA. Everything is normal there.

    Try removing and adding the host again in to the host. See if it works. else we need to see on the vpxd.log for some errors if there.



  • 7.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 04:08 PM

    HI Anjani,

    Thanks for helping me let  me share you what are the steps i did, i have removed the host from the cluster and removed the VPX user id from local user and added again to the cluster and the same issue presist  and i cant able to find any log entry in FDM and pls find the log



  • 8.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 02, 2015 10:35 PM

    Try this:

    SSH into the host in question and run:

    cp /opt/vmware/uninstallers/VMware-fdm-uninstall.sh /tmp

    chmod +x /tmp/VMware-fdm-uninstall.sh

    /tmp/VMware-fdm-uninstall.sh

    After this go back to vCenter server --> Right Client Esxi host and Reconfigure HA Agent.

    Good Luck !!  :smileyhappy:



  • 9.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 12:31 PM

    Hi shazy,

    Its an ESXi5.5 U2 so we wont be having uninstallers it will VPXa :smileysad:



  • 10.  RE: Vsphere HA agent cannot be correctly installed or configured.



  • 11.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:33 PM

    Hi Bruno,

    I have removed the Vpx User and the rejoined the host in cluster the same issue faces..



  • 12.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:38 PM

    do you also have updated vCenter Server to U2?

    whab about rebooting? allready tried?



  • 13.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:41 PM

    Burno,

    No vcenter was  not updated to U2 and yes restarted ...



  • 14.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:49 PM

    you have to FIRST update vCenter and then the esxi host...you actually don't have a supported state...



  • 15.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 02:16 PM

    As checked the version is compatable for the 5.5 U2 . currently its 5.5 X..please find the below screen shot and i have same config on the another cluster it works with out any issue



  • 16.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:39 PM

    Gokul,

    Did you try to uninstall FDM agent using below commands:

    cp /opt/vmware/uninstallers/VMware-fdm-uninstall.sh /tmp

    chmod +x /tmp/VMware-fdm-uninstall.sh

    /tmp/VMware-fdm-uninstall.sh



  • 17.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 12:57 PM

    Gokul,

    Enable SSH on the Esxi host from vCenter server and then Login to this host using putty or other thirst party software with root account and password. Once you login, run the commands I sent you before. I can confirm that the commands work on Esxi 5.5 version.

    Good Luck !! :smileyhappy:



  • 18.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:43 PM

    shazy,

    It works on 5.5  In ESXi 5.5 U2, vpxa is now a part of the esxi-base package.please find the error and url

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1031919



  • 19.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jan 15, 2018 01:23 PM

    Thanks,this works perfect on our stucked HA agent.

    Just connect then host back to cluster and all green.



  • 20.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Apr 10, 2018 04:58 PM

    Just performed a 6.0u2 to 6.0u3d vCenter upgrade, had the same HA agent errors on a few of the hosts in a cluster. Completely disabling HA and re-enabling it fixed it.



  • 21.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Aug 28, 2021 05:51 PM

    HA would not configure on one of my clusters after upgrading vcsa 6.7 to 7.02c.

    I turned off HA on the cluster, ran your steps on each of the 4 hosts (v6.7) in that cluster, then

    enabled HA successfully.  Thanks!



  • 22.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 03, 2015 01:46 PM


    As i  Found the VPXd log as the below error

    [08488 error 'DAS' opID=FDA5FF7A-00002707-56-34] [VpxdDas::StartFdmService] Failed to start FDM service on host



  • 23.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Jun 04, 2015 11:53 AM

    Any Help..?



  • 24.  RE: Vsphere HA agent cannot be correctly installed or configured.



  • 25.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Nov 09, 2016 11:34 AM

    Thank you TomKalabis, disabling HA on the cluster and re-enabling did the trick.



  • 26.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Oct 23, 2017 12:19 PM

    Thank you TomKalabis!



  • 27.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Oct 23, 2018 09:26 AM

    same error vCenter Server 6.0U3 -> Thank you TomKalabis, its works fine!



  • 28.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted Dec 12, 2018 01:03 PM

    That fixed it for me as well! Thanks.



  • 29.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted May 31, 2020 01:51 AM

    It would be NICE if VMWare would actually attempt to fix this problem.  I have this same problem with about half my hosts at work, where we have in excess of 120 across 6 states.  Each time, we have to remove the hosts from the cluster, make a new cluster, an moving the hosts to the new cluster, VMWare's official "fix" for this issue.  Well, that's a whole heck of a lot of work, and doesn't work permanently.  Every single time I have to reboot hosts, I hope to God that it doesn't happen again, and guess what, it happened again tonight, with a cluster that's had this problem twice before.  Before you ask, yes, this cluster is on the most recent patching level of 6.5, so it's current. 

    It's not fixed.  It's been ongoing for over 6 YEARS now, and across 5.1, 5.5, 6.0, and 6.5!  (I haven't used 5.0 or 6.7 enough to know if it affects those, but likely.)

    Hey, VMWare, FIX THIS.



  • 30.  RE: Vsphere HA agent cannot be correctly installed or configured.

    Posted May 31, 2020 05:42 AM

    For ancient versions before vSphere 6.0, it's better to don't use them, upgrade to new versions (on stable build numbers), and don't waste your time ...

    And never forget this point: You couldn't say every problem you may be seen, is always a VMware's BUG! For example in this mentioned problem (vSphere HA), when you encounter an issue, you should first check the log files like the: /var/log/fdm.log, vpxa.log, hostd.log to find more detail about the problem, then if you couldn't fix it and it will persist and aware the company about the problem, you can say it may be a bug in a product.