VMware {code}

 View Only
  • 1.  vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 06:10 PM

    Hi all,

    After upgrading my vCenter server to 5.0 U3e, now the 3 hosts we have shows the message "vSphere HA agent for this host has an error: vSphere HA agent cannot be correctly installed or configured", and in vSphere HA State it shows "Initialization Error"

    The ESXi are runing build 2509828 and the vCenter server build is 3073236.

    I've tried the option "Reconfigure for vSphere HA" several times, but it keeps failing.

    Any idea what can I do?

    Thanks!



  • 2.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 06:29 PM

    Did you already try to disable HA and then re-enable it?

    André



  • 3.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 06:37 PM

    Hi Andre,

    yes I did that and got the same error.



  • 4.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 06:50 PM

    Do you have lockdown mode enabled on the hosts?

    In this case see VMware KB: Cannot install the vSphere HA (FDM) agent on an ESXi host

    André



  • 5.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 06:53 PM

    No, it's disabled in all three hosts.



  • 6.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 07:14 PM

    Please check whether /var/run/log/fdm-installer.log contains information about the installation issue.

    André



  • 7.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 07:27 PM

    I don't see anything wrong in those logs. Here are attached.



  • 8.  Re: vSphere HA State Initialization Error 5.0
    Best Answer

    Posted Apr 22, 2016 07:51 PM

    Got no data from process /usr/lib/vmware/esxcli-software vib.install -v "/tmp/vmware-root/ha-agentmgr/vpx-upgrade-installer/vmware-fdm.vib"

    Just a guess, but maybe it helps. Please take a look at https://kb.vmware.com/kb/2016914 and run esxcli software vib list on the hosts to see whether this failes too.

    Is it possible to reboot the hosts?

    André



  • 9.  Re: vSphere HA State Initialization Error 5.0

    Posted Apr 22, 2016 08:22 PM

    Thanks!!! You save my life man! I've been all day searching the web for a fix...

    It seems that all 3 hosts tried to write syslog to the same file. I fixed it runing esxcli system syslog config set --logdir-unique true (VMware KB: Scanning an ESXi 5.x host fails after redirecting VMware Update Manager logs to a syslog server)

    Thanks again!!!