ESXi 4.0 host configures HA but displays a health check error after upgrading to vCenter Server 4.1

Symptoms

Prior to performing the update to vCenter Server 4.1, HA was configured and working on the ESXi hosts. Post-upgrade, you experience these symptoms:
  • The ESXi host reconfigures successfully for HA, but immediately displays an error
  • In the Summary tab, you see the error:

    HA agent on  in cluster has an error: error while running health check script 

  • The /var/log/vmware/vpx/vpxa.log contains messages similar to:

cmd=monitornodes -domain=vmware failed with error 3

Resolution

The issue occurs if the HA agents on the ESXi hosts are not upgraded properly. For the hosts already experiencing the problem, the agents must be replaced with a correct one.
 
This issue is resolved in vSphere 4.1 Update 1 and vSphere 4.0 Update 3. For information on updating your vCenter Server and ESXi host to vSphere 4.1 Update 1, see Upgrading vCenter Server, Update Manager and ESX/ESXi to vSphere 4.1 Update 1 (1034497).
 
To workaround this issue, replace the agents using one of these options:  
  • Re-install HA agents via vCenter Server:
    1. Put the affected host into maintenance mode.
    2. Remove the host from the vCenter Server inventory.
    3. Without rebooting the host, add the host back into a HA cluster within vCenter Server.
    4. Exit maintenance mode.

  • Re-install HA agents manually on the host:
    1. Within the vSphere client connected to vCenter, right click on the host and choose disconnect
    2. Log into the ESXi host using Tech Support Mode. For more information, see Tech Support Mode for Emergency Support (1003677)
    3. Run these commands to uninstall the vCenter and HA agents from the ESXi host:

      # /opt/vmware/uninstallers/VMware-vpxa-uninstall.sh
      # /opt/vmware/uninstallers/VMware-aam-ha-uninstall.sh

    4. Without rebooting the host, re-connect it back into the HA Cluster within vCenter Server. 
To avoid this issue, after the upgrade process and before re-connecting the hosts back into vCenter Server:
  1. Ensure that HA is enabled on the vCenter Server cluster.
  2. Reconnect the host to vCenter Server.
  3. Exit maintenance mode.

    Based on VMware KB 1027628

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...