How to Restart VMware Management Service in Vsphere Command line

How to Restart VMware Management Service

To restart yourVMware management agents on ESX 3.5, vSphere, vSphere4, 5
Log in to your ESX Server through SSH or directly from the server console
Run the following command to restart VMware Management agent
#service mgmt-vmware restart.
VMware ESX Host Agent Watchdog                          [  OK  ]

VMware ESX Host Agent                                   [  OK  ]
Starting VMware ESX Management services:
VMware ESX Host Agent (background)                      [  OK  ]
Availability report startup (background)                [  OK  ]

Caution: Ensure Automatic Startup/Shutdown of virtual machines is disabled before running this command

To restart Virtual center agent
#service vmware-vpxa restart.

To Restart Web Access
#service vmware-webAccess restart

You can restart the Host Management agent for the following Symptoms:

  1. Cannot connect ESX to VirtualCenter
  2. Cannot connect ESX to vCenter Server
  3. Cannot connect directly to ESX Server from the VMware Infrastructure Client   
  4. Cannot connect directly to the ESX Server from the vSphere Client
  5. You cannot stop or start a virtual machine
  6. A virtual machine is shown as running in VirtualCenter when it is not
  7. VirtualCenter shows the error:
  8. Virtual machine creation may fail because agent is unable to retrieve VM creation options from the host
  9. VMotion hangs at 10% complete

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.