vSphere HA initialization failing on cluster
search cancel

vSphere HA initialization failing on cluster

book

Article ID: 411622

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

When attempting to turn on vSphere HA for a cluster and the tasks "Configuring vSphere HA on the cluster" and "Remediate HA" fail with errors like:

  • "Cannot complete the vSphere HA configuration agent on the host 'Applying HA VIBs on the cluster encountered a failure."

 

  • "A general system error occurred: Installing HA components failed on the cluster"
  • "vSphere HA host status"
  • "vSphere HA agent on this host has an error.  vSphere HA agent cannot be installed or configured"

  • "There was an error unconfiguring the vSphere HA agent on this host. To solve this problem, reconnect the host to vCenter Server."
  • Upon trying to disable and re-enable HA, the below error shows up on the task section of the ESXi host

  • When trying to establish connection between the ESXi host and the vCenter on the above URL over port 9084, the command fails with below error:

[root@localhost:] wget http://vCenter_FQDN:9084/vum/repository/hostupdate/_micro-depot_vendor-vmw_metadata-137_index__.xml
Connecting to vCenter_FQDN:9084 (##.##.##.##:9084)
wget: error getting response: Connection reset by peer

Environment

vSphere 7.x

vSphere 8.x

Cause

In an SSH session to one of the hosts in the cluster where the vSphere HA errors are occurring, you see a error similar to the following:

Under /var/log/lifecycle.log:

YYYY-MM_DDTHH:MM:SSZZ Er(11) lifecycle[<opID>] : imagemanagerct1:90 vmware.esximage.Errors.DepotConnectError: ([MetadataDownloadError ('http://<vcenter fqdn>/vum/repository/hostupdate/__micro-depo__vendor-vmw__metadata-##__index__z.xml'

This error means the ESXI host cannot reach the vCenter Server on 9084 to download information and the FDM vib needed to enable vSphere HA.

Ports like 9084 and 9087 that required for vSphere Lifecycle Manager communications are blocked from the ESXi Host Management IP address to the vCenter Server Management IP address.

Resolution

  • Check the above ports from an SSH session to one or more of the ESXI hosts in the cluster with these commands:
    • nc -zv <vcenter_fqdn> 9084
    • nc -zv <vcenter_fqdn> 9087
  • If they are blocked, then work with your network team to make sure those ports are open from the ESXi Host Management IP address to the vCenter Server Management IP address.

Additional Information