How to stop, start, or restart vCenter Server Appliance 5.x services
search cancel

How to stop, start, or restart vCenter Server Appliance 5.x services

book

Article ID: 315393

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides steps to stop, start, or restart vCenter Server Appliance services.
 
For troubleshooting and maintenance purposes, it may be necessary to change the status of vCenter Server Appliance services such as VMware VirtualCenter Server or VMware Infrastructure Web Access.


Environment

VMware vCenter Server Appliance 5.5.x
VMware vCenter Server Appliance 5.0.x
VMware vCenter Server Appliance 5.1.x

Resolution

Beginning in vCenter Server 6.0, it is recommended 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.

For more information see, Stopping, Starting or Restarting VMware vCenter Server Appliance 6.x services (2109887)

Checking the status vCenter Server Appliance services

To check the status of vCenter Server Appliance services:

  1. Connect to the vCenter Server Appliance through SSH. For more information, see Enable or Disable SSH Administrator Login on the VMware vCenter Server Appliance section in the vCenter Server and Host Management Guide.
  2. Log in as root.
  3. Run this command in the SSH client:

    service –-status-all
     
  4. Scroll through the output to check the status of all services.
     

To check the status of a specific service:

  1. Run this command to review the list of all services:

    ls /etc/init.d
     
  2. Scroll through the output and find the name of the service you are interested in. For a list of core vCenter Server services, see the Additional Information section of this article.
  3. Run this command in the SSH client:

    service ServiceName status

    Where ServiceName corresponds to one of the services in /etc/init.d or the core list in the Additional Information section of this article. For example:

    service vmware-vpxd status

    If the vpxd service is running, you see output similar to:

    vmware-vpxd is running
    tomcat is running
Note: The tomcat service is within the vmware-vpxd service. You can check the status of tomcat by checking the status of vmware-vpxd. This service can be stopped and started outside of the vmware-vpxd service by running these commands:

vmware-vpxd tomcat-stop
vmware-vpxd tomcat-start

Stopping vCenter Server Appliance services

To stop a vCenter Server Appliance service if it has started:

  1. Connect to the vCenter Server Appliance via SSH. For more information, see Enable or Disable SSH Administrator Login on the VMware vCenter Server Appliance section in the vCenter Server and Host Management Guide.
  2. Log in as root.
  3. Run this command to review the list of all services:

    ls /etc/init.d
     
  4. Scroll through the output and find the name of the service you are interested in. For a list of core vCenter Server services, see the Additional Information section of this article.
  5. Run this command in the SSH client:

    service ServiceName stop

    Where ServiceName corresponds to one of the services in /etc/init.d.

Note: When you stop the VMware VirtualCenter Server service (vmware-vpxd), all connected users are disconnected from their session.

Starting vCenter Server Appliance services

To start a vCenter Server Appliance service if it has stopped:

  1. Connect to the vCenter Server Appliance through SSH. For more information, see Enable or Disable SSH Administrator Login on the VMware vCenter Server Appliance section in the vCenter Server and Host Management Guide.
  2. Log in as root.
  3. Run this command to review the list of all services:

    ls /etc/init.d
     
  4. Scroll through the output and find the name of the service you are interested in. For a list of core vCenter Server services, see the Additional Information section of this article.
  5. Run this command in the SSH client:

    service ServiceName start

    Where ServiceName corresponds to one of the services in /etc/init.d.

Note: If the VMware VirtualCenter Server service does not start, verify that it is able to get exclusive access to the vCenter Server repository. For more information, see Unable to get an exclusive access to the vCenter Server repository (1006369).

Restarting vCenter Server Appliance services

To restart a vCenter Server Appliance service:

  1. Connect to the vCenter Server Appliance through SSH. For more information, see Enable or Disable SSH Administrator Login on the VMware vCenter Server Appliance section in the vCenter Server and Host Management Guide.
  2. Log in as root.
  3. Run this command to review the list of all services:

    ls /etc/init.d
     
  4. Scroll through the output and find the name of the service you are interested in. For a list of core vCenter Server services, see the Additional Information section of this article.
  5. Run this command in the SSH client:

    service ServiceName restart

    Where ServiceName corresponds to one of the services in /etc/init.d.
Note: When you restart the VMware VirtualCenter Server service, all connected users are disconnected from their vSphere/Virtual Infrastructure Client sessions.


Additional Information

vCenter Server Appliance 5.x Service Description and Service Name correlation list
 
Service DescriptionService Name
VMware VirtualCenter Server Servicevmware-vpxd
Embedded vPostgres Database servicevmware-vpostgres
VMware Tools Servicevmware-tools-services
VMware vSphere Profile-Driven Storage Servicevmware-sps
VMware vCenter Inventory Servicevmware-inventoryservice
VMware vSphere Network Dump Collector servicevmware-netdumper
VMware vSphere Log Browservmware-logbrowser
VMware vSphere Auto Deploy servicevmware-rbd-watchdog
VMware vSphere Web Clientvsphere-client
[For vSphere 5.1 Only] vCenter Single Sign-On 5.1vmware-sso
  
[For vSphere 5.5 Only] vCenter Single Sign-On 5.5 -
VMware Directory Service
vmdird
[For vSphere 5.5 Only] vCenter Single Sign-On 5.5 -
VMware Certificate Service
vmcad
[For vSphere 5.5 Only] vCenter Single Sign-On 5.5 -
VMware Secure Token Service
vmware-stsd
[For vSphere 5.5 Only] vCenter Single Sign-On 5.5 -
VMware Kdc Service
vmkdcd
[For vSphere 5.5 Only] vCenter Single Sign-On 5.5 -
VMware Identity Management Service
vmware-sts-idmd
 

仮想マシン設定で Storage DRS クラスタの自動化レベルが無効になる
vCenter Server Appliance サービスの停止、起動または再起動方法
如何停止、启动或重新启动 vCenter Server Appliance 服务
Stopping, starting, or restarting VMware vCenter Server Appliance 6.x services
Detener, iniciar o reiniciar servicios de vCenter Server Appliance
Interrompendo, iniciando ou reiniciando os serviços do vCenter Server Appliance
Beenden, Starten oder Neustarten von vCenter Server Appliance-Diensten