Search the VMware Knowledge Base (KB)
View by Article ID

Stopping, starting, or restarting the VMware vCloud Director service (1026310)

  • 7 Ratings

Purpose

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

Resolution

For troubleshooting and maintenance purposes, it may be necessary to change the status of VMware vCloud Director service.
   
If you want to start the VMware vCloud 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 vCloud Director service:
 
Note: This procedure aborts 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 Using the Cell Management Tool to shut down a vCloud Director Cell (1033575).
  1. Log in to the target host as root.
  2. Open a console, shell, or terminal window and run the appropriate command.
    • To start the VMware vCloud 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 vCloud Director service, run the command:

      [root@vcloud-http /]# service vmware-vcd status


    • To stop the VMware vCloud Director service, run the command:

      [root@vcloud-http /]# service vmware-vcd stop
If the VMware vCloud Director service does not start:
  1. Check the status of VMware vCloud Director.

    1. Change ( cd) to the /opt/vmware/cloud-director/logs for 1.x or /opt/vmware/vcloud-director/logs for 1.5.x and run the command:

      # grep -i "Application Initialization" cell.log

      You see the status of the VMware vCloud 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 vCloud Director has loaded successfully.

  2. Check that the VMware vCloud Director processes are running by running the command:

    # ps -ef | grep vcloud

  3. Check the runlevel information for VMware vCloud 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

See Also

Update History

01/06/2012 - Added version 1.5. 02/01/2013 - Added vCD 5.1.x to Products

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 7 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 7 Ratings
Actions
KB: