Stop, Start or Restart Services on vCenter Server 6.x or Higher
search cancel

Stop, Start or Restart Services on vCenter Server 6.x or Higher

book

Article ID: 340943

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 6.0

Issue/Introduction

This article provides steps to stop, start, or restart vCenter Server and Platform Services Controller services.
 
For troubleshooting and maintenance purposes, it is necessary to change the status of VMware vCenter Server or Platform Services Controller services such as VMware Virtual Center Server, VMware vSphere Web Client, or VMware Directory Service.

Environment

  • VMware vCenter Server 6.0.x
  • VMware vCenter Server 6.5.x
  • VMware vCenter Server 6.7.x
  • VMware vCenter Server 7.0.x 
  • VMware vCenter Server 8.0.x

Resolution

In VMware vCenter Server 6.x and higher, VMware recommends to use the vSphere Web Client or Service Control command-line tool to stop, start, or restart vCenter Server and/or Platform Services Controller services. This process is different from previous versions of vCenter Server with the Microsoft Windows Services snap-in.

 

Starting/Stopping/Restarting vCenter Server and/or Platform Services Controller Services:

To start/stop/restart a vCenter Server and/or Platform Services Controller service if it is has stopped using the vSphere Web Client:

  1. Log in to the vSphere Web Client with a vCenter Single Sign-on administrator account.
  2. Navigate to Administration > Deployment > System Configuration.
  3. Click on Services to view the list of all services within the vCenter Server system.
  4. To view a list of services for a specific node, click Nodes, select the node in question and click the Related Objects tab.
  5. Right-click on the service you would like to start and select Start/stop/restart.

Note:

  • If you restart Inventory Service in the preceding method, the Inventory Service starts but the services depending on the Inventory Service fail to start.
    • This issue will not be fixed as Inventory Service will be removed in the future release of vCenter Server.
    • To work around this issue, log in to Windows Machine and restart Inventory Service.
    • This issue does not occur in vCenter Server Appliance.

 

Start/Stop/Restart Services on a vCenter Server Appliance or Windows vCenter Server with Platform Services Controller Using the CLI:

Note: If you are using a vCenter Server Appliance with an embedded Platform Service Controller or a vCenter Server version 7.x or above please skip to Step 4. 

  1. Log in as an administrator to the server that is running vCenter Server and/or Platform Services Controller.
  2. Open an administrative command prompt.
  3. Run this command to change to the vCenter Server and/or Platform Services Controller installation directory:

cd C:\Program Files\VMware\vCenter Server\bin

Note: This command uses the default installation path. If you have installed vCenter Server and/or Platform Services controller to another location, modify this command to reflect the correct install location.

  1. Run this command to list the vCenter Server and/or Platform Services Controller services and their statuses:

service-control –-status --all

  1. Run this command to:
    • Start a specific service: service-control --start <service_name>
    • Start all services: service-control --start --all

To perform a dry run of the command, this displays the actions that command run without executing the actions: service-control --start --all --dry-run

    • Stop a specific service: service-control --stop <service_name>
    • Stop all services: service-control --stop --all

To perform a dry run of the command, this displays the actions that command run, without executing the actions: service-control --stop --all --dry-run

    • Restart all services at once: service-control --stop --all && service-control --start --all

 

Additional Information

VMware Skyline Health Diagnostics for vSphere - FAQ

vCenter Server 6.5 services

Note: Starting with vSphere 6.5, the vCenter Server services are not standalone services under Windows Service Control Manager (SCM). The vCenter Server Appliance services run as child processes of the VMware Service Lifecycle Manager service.
 
vmware-imagebuilder
VMware Image Builder Manager
vmware-cm
VMware Component Manager
vpxd
VMware vCenter Server
vimPBSM
VMware vSphere Profile-Driven Storage Service
applmgmt
VMware Appliance Management Service
vmware-statsmonitor
VMware Appliance Monitoring Service
vmware-rhttpproxy
VMware HTTP Reverse Proxy
vmware-vapi-endpoint
VMware vAPI Endpoint
lwsmd
Likewise Service Manager
vmafdd
VMware Authentication Framework
vmware-vsm
VMware vService Manager
vmonapi
VMware Service Lifecycle Manager API
vmware-perfcharts
VMware Performance Charts
vmware-updatemgr
VMware Update Manager
vmware-vmon
VMware Service Lifecycle Manager
vmware-vsan-health
VMware VSAN Health Service
vspherewebclientsvc
VMware vSphere Web Client
vmware-vpostgres
VMware Postgres
vmware-eam
VMware ESX Agent Manager
vmcam
VMware vSphere Authentication Proxy
vmware-mbcs
VMware Message Bus Configuration Service
vmware-vcha
VMware vCenter High Availability
vsphere-ui
VMware vSphere Client
vmware-content-library
VMware Content Library Service
vmware-sca
VMware Service Control Agent
vmware-netdumper
VMware vSphere ESXi Dump Collector
vmware-vpxd-svcs
VMware vCenter-Services
vmware-rbd-watchdog
VMware vSphere Auto Deploy Waiter
 

vCenter Server 6.x services:

vmware-cis-license
VMware License Service
VMwareComponentManager
VMware Component Manager
EsxAgentManager
VMware ESX Agent Manager
VMwareIdentityMgmtService
VMware Identity Management Service
invsvc
VMware Inventory Service
mbcs
VMware Message Bus Configuration Service
vmware-network-coredump
VMware vSphere ESXi Dump Collector
VMWareNetworkCoredumpWebserver
VMware vSphere ESXi Dump Collector WebService
vmware-perfcharts
VMware Performance Charts
vmware-autodeploy-waiter
VMware vSphere Auto Deploy Waiter
rhttpproxy
VMware HTTP Reverse Proxy
vmwareServiceControlAgent
VMware Service Control Agent
vimPBSM
VMware vSphere Profile-Driven Storage Service
VMwareSTS
VMware Security Token Service
vapiEndpoint
VMware vAPI Endpoint
vdcs
VMware Content Library Service
VMWareAfdService
VMware Authentication Framework
VMWareCertificateService
VMware Certificate Service
VMWareDirectoryService
VMware Directory Service
vmsyslogcollector
VMware Syslog Collector
vmware-cis-config
VMware Configuration Service
vmware-vpx-workflow
VMware vCenter Workflow Manager
vpxd
VMware vCenter Server
VServiceManager
VMware vService Manager
vspherewebclientsvc
vSphere Web Client
vmwarevws
VMware System and Hardware Health Manager