"vSphere HA agent for host <hostname> has an error in <cluster_name> in <workloadomain_name>. vSphere HA agent cannot be installed or configured."
"The error Cannot install the vCenter Server agent service. "Unknown installer error"
In the vCenter /var/log/vmware/vpxd/vpxd.log , following errors will be seen
YYYY-MM-DDTHH-MM-SS info vpxd[06642] [Originator@6876 sub=Vmomi opID=FdmMonitor-domain-c#-#######] Creating SOAP stub adapter for /fdm on <IP ADDRESS of Host>:443YYYY-MM-DDTHH-MM-SS info vpxd[06642] [Originator@6876 sub=vmomi.soapStub[54454] opID=FdmMonitor-domain-c#-] SOAP request returned HTTP failure; <<io_obj p:0x00007efcd4b372e8, h:78, <UNIX ''>, <UNIX '/var/run/envoy-hgw/hgw-pipe'>>, /hgw/host-##/fdm>, method: login; code: 503(Service Unavailable); fault: (null)#######YYYY-MM-DDTHH-MM-SS warning vpxd[06642] [Originator@6876 sub=Vmomi opID=FdmMonitor-domain-] [FdmClientAdapter] FDM service on host <IP ADDRESS of Host> is not ready.c#-#######YYYY-MM-DDTHH-MM-SS error vpxd[06642] [Originator@6876 sub=Vmomi opID=FdmMonitor-domain-] Failed to login on host; <</hgw/host-##>, /fdm>, N7Vmacore4Http13HttpExceptionE(HTTP error response: Service Unavailable)c#-#######
This issue may result from degraded network connectivity or throughput between the ESXi host and vCenter, which hinders the timely installation of the FDM agent.
esxcli software vib list | grep fdm vmkping -I vmkx destination-ip
nc -z <destination-ip> 22 openssl s_client -connect <ESXI IP Address>:443 ( Run this command from vCenter ) openssl s_client -connect <vCenter IP Address>:443 ( Run this command from ESXi Host )
/etc/vmware-vpx/docRoot/vSphere-HA-depot/vib20/vmware-fdm/ to the ESXi /tmp folderscp VMware_bootbank_vmware-fdm_6.0.0-3634794.vib root@ESXi_FQDN:/tmp esxcli software vib install -v /tmp/VMware_bootbank_vmware-fdm_#.#.0-########.vib
esxcli software vib list | grep fdm
Impact/Risks:
1. Host cannot not participate in the HA cluster.
2. Cannot proceed with the cluster upgrade.