Stopping, starting, or restarting VMware vCenter Server 6.0 services

Purpose

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. This article provides steps to stop, start, or restart vCenter Server and Platform Services Controller services.

Resolution

In VMware vCenter Server 6.0, 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.

For more information about previous version of vCenter Server, see Stopping, starting, or restarting VMware vCenter Server services (1003895).

Listing vCenter Server and/or Platform Services Controller services

To list the vCenter Server and Platform Services Controller services within 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.
To list the vCenter Server and/or Platform Services Controller services:
  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 vCenter Server and/or Platform Services Controller installation directory:

     

    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.

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

     

  5. Run this command to view the current status of the vCenter Server and/or Platform Services Controller services:

     

Starting vCenter Server and/or Platform Services Controller services

To start 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.
To start a vCenter Server and/or Platform Services Controller service if it is has stopped using the command-line:
  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 vCenter Server and/or Platform Services Controller installation directory:

     

    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.

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

     

     

  5. Run this command to start a specific service:

     

  6. Run this command to start all services:

     

  7. To perform a dry run of the command, add the option

     

    to the command. This displays the actions that command run without executing the actions.For example:

     


Stopping vCenter Server and/or Platform Services Controller services

To stop a vCenter Server and/or Platform Services Controller service if it has started 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 the 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 stop and select Stop.
To stop a vCenter Server and/or Platform Services Controller service if it is has started using the command-line:
  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 vCenter Server and/or Platform Services Controller installation directory:

     

    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.

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

     

     

  5. Run this command to stop a specific service:

     

  6. Run this command to stop all services:

     

  7. To perform a dry run of the command, add the option

     

    to the command. This displays the actions that command run, without executing the actions.For example:

     


Restarting vCenter Server and/or Platform Services Controller services

To restart a vCenter Server and/or Platform Services Controller service 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 the 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 restart and select Restart.
To restart a vCenter Server and/or Platform Services Controller service using the command-line:
  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 vCenter Server and/or Platform Services Controller installation directory:

     

    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.

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

     

     

  5. Run this command to stop a specific service:

     

  6. Run this command to stop all services:

     

     

  7. Run this command to start a specific service:

     
  8. Run this command to start all services: