If the ESXi host's status remains uninitialized after restarting the management agents agent, disable HA and then enable HA on the cluster.
Disable HA on the cluster
To disable vSphere HA in the vSphere Client:
- Log in to the vSphere Client.
- From the Home screen, click on Hosts and Clusters.
- Locate the cluster.
- Right-click the cluster and click Edit Settings.
- Deselect the Turn On VMware HA option.
- Click OK.
Note: The process may take some time to complete.
To disable vSphere HA in the vSphere Web Client:
- Log in to the vSphere Web Client. The default URL is:
https://vCenter_Server_FQDN:9443/vsphere-client
- In the Home screen, click Hosts and Clusters.
- Locate the cluster.
- Right-click the cluster and click Settings.
- Click vSphere HA located under Services.
- Click Edit.
- Deselect the Turn On vSphere HA option.
- Click OK.
To enable HA on the Cluster repeat the steps selecting Turn On vSphere HA instead of deselecting.
To avoid this issue:
- Do not open the Summary tab of the virtual machine in the vSphere Web Client while it is powering down from a operating system initiated shutdown.
- Power off the virtual machine from the vSphere Web Client.