Connectivity issues with vCenter or ESXi hosts often arise from unresponsive management services (hostd, vpxa). This article provides the standard procedure to restart these services to restore management plane communication.
Do not use the services.sh restart command or Restart Management agents in ESXi Using Direct Console User Interface (DCUI) On ESXi hosts:
esxcli vsan cluster get
esxcli network vswitch dvs vmware lacp status get
esxcli software vib list | grep -E 'nsx|vsipfwlib'
Only restart single services.
NOTE: Restarting ESXi management agents may:
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vSphere ESXi 9.x
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware Cloud Foundation 9.x
Management agents (hostd and vpxa) may enter a hung state due to high resource contention, stuck tasks, or integration with third-party software.
Restart management agents in ESXi using the Host Client:
In the ESXi Host Client, select Host > Manage > Services and select the service (vpxa or hostd) to restart
Restart management agents in ESXi Using ESXi Shell or Secure Shell (SSH):
Note: If services fail to restart, inspect /var/log/hostd.log for underlying errors (e.g., out of memory, disk pressure).
For VMware Cloud Foundation (VCF) environments, ensure you check the SDDC Manager inventory status after services are restored, as inventory sync issues may persist if the host was disconnected for an extended period.