How to manage vCenter Services



In certain cases where we need to restart the VMware vCenter Services, the best practices are to restart the services using the command line provided by VMware instead of doing it from the services console specifically on Windows vCenter Server. This is important as there are multiple Vmware Services which are dependant on other services and the command lines make sure they are managed in a specific order as recommended by Vmware

Below are the command lines to restart All VMware Services, Specific VMware Service or to check the status of Services on Windows hosted vCenter Server or an Appliance hosting vCenter Server

A) On Windows vCenter Server
  1. Login\RDP to vCenter Server
  2. Open Command Prompt as Admin
  3. Go to the following location
  4. C:\Program Files\VMware\vCenter Server\bin
    Note: If your vCenter Suite is installed on any other drive other than C:\, please replace the Drive Letter
  5. Run the below commands based on your requirement
service-control --start --all > To Start All Vmware Services
service-control --start servicename > To Start Specific Vmware Service
service-control --stop --all > To Stop All Vmware Services
service-control --stop <servicename> > To Stop Specific Vmware Service
service-control --status > To check Status of all VMware Services

B) On Appliance vCenter Server
  1. SSH Putty to vCenter
  2. Go to the Path /usr/bin/
  3. Run the command

service-control --start --all > To Start All Vmware Services
service-control --start servicename > To Start Specific Vmware Service
service-control --stop --all > To Stop All Vmware Services
service-control --stop servicename > To Stop Specific Vmware Service
service-control -status > To check Status of all VMware Services


0 comments: