Restarting the Management agents on an ESXi or ESX host

Reason: Cannot connect ESXi/ESX to VirtualCenter/vCenter Server Cannot connect directly to the ESXi/ESX host from the VMware Infrastructure Client / vSphere Client Cannot stop or start a virtual machine A virtual machine is shown as running in vCenter Server when it is not vCenter Server displays the error:Virtual machine creation may fail because agent is…