Procedure to restart the management agents on an ESXi host.
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:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart