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
- Login\RDP to vCenter Server
- Open Command Prompt as Admin
- Go to the following location
- Run the below commands based on your requirement
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
service-control --start --all > To Start All Vmware Servicesservice-control --start servicename > To Start Specific Vmware Serviceservice-control --stop --all > To Stop All Vmware Servicesservice-control --stop <servicename> > To Stop Specific Vmware Serviceservice-control --status > To check Status of all VMware Services
- SSH Putty to vCenter
- Go to the Path /usr/bin/
- 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: