Stopping, starting, or restarting the VMware Cloud Director service
search cancel

Stopping, starting, or restarting the VMware Cloud Director service

book

Article ID: 308791

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

This article provides steps to stop, start, or restart VMware Cloud Director service.


Environment

VMware Cloud Director 10.x

Resolution

For troubleshooting and maintenance purposes, it may be necessary to change the status of VMware Cloud Director service.
 
If you want to start the VMware Cloud Director service without rebooting the host, you can start them yourself any time after the configuration script has completed.
 
To manually start or restart the VMware Cloud Director service:
 
Note: This procedure stops all tasks in progress.
This procedure should only be used in an emergency situation. VMware recommends you to use the Cell Management tool first to perform this task.
For more information, see
Managing a Cell.
  1. Log in to the target Cell as root.
  2. Open a console, shell, or terminal window and run the appropriate command.
    • To start the VMware Cloud Director service, run the command:
      [root@vcloud-http /]# service vmware-vcd start
      Starting vmware-vcd-watchdog: [ OK ]
      Starting vmware-vcd-cell [ OK ]

       
    • To check the status of the VMware Cloud Director service, run the command:
      [root@vcloud-http /]# service vmware-vcd status

       
    • To stop the VMware Cloud Director service, run the command:
      [root@vcloud-http /]# service vmware-vcd stop
The systemctl variation of the above is also applicable:
systemctl <command> vmware-vcd

If the VMware Cloud Director service does not start:
  1. Check the status of VMware Cloud Director.
     
    1. Change ( cd) to the /opt/vmware/vcloud-director/logs and run the command:

      # grep -i "Application Initialization" cell.log


      You see the status of the VMware Cloud Director initializing as it loads the subsystems and a status of complete and the time taken to start.

      Note: You may have to run this command a couple of times.

       
    2. Watch the percentage numbers increase as the different subsystems load. When you see the line Application Initialization: Complete. Server is ready in X:XX (minutes:seconds), VMware Cloud Director has loaded successfully.
       
  2. Check that the VMware Cloud Director processes are running by running the command:

    # ps -ef | grep vcloud
     
  3. Check the runlevel information for VMware Cloud Director by running the command:

    # chkconfig --list | grep -i vmware-vcd
    vmware-vcd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

     
  4. Ensure that a vcloud user has been created in /etc/passwd , /etc/group , and /etc/shadow .



Additional Information