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:
[root@localhost:] wget http://vCenter_FQDN:9084/vum/repository/hostupdate/_micro-depot_vendor-vmw_metadata-137_index__.xmlConnecting to vCenter_FQDN:9084 (##.##.##.##:9084)wget: error getting response: Connection reset by peer
vSphere 7.x
vSphere 8.x
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.
nc -zv <vcenter_fqdn> 9084nc -zv <vcenter_fqdn> 9087