More

Graceful shutdown of vCloud Director

By Antti Hurme 30/11/2013 No Comments 1 Min Read

There are a few steps you need to take when you wish to shutdown a vCD node for upgrade or to reboot the VM itself. This is required so that no active jobs gets interrupted by an unexpected reboot and as such provides better user experience for your clients. Since version 1.5 of vCloud Director the cell management tools are included and thus don’t require seperate download.

  1. Log in to the target cell as root.
  2. Navigate to $VCLOUD_HOME/bin/ (typically /opt/vmware/vcloud-director/bin/).
  3. Check for any active jobs on the vCD Cell:
    ./cell-management-tool -u username -p password cell –status
    or
    ./cell-management-tool -u username -p password cell -t
  4. Suspend the scheduler by running this command:
    ./cell-management-tool -u username -p password cell -q true
  5. View the tasks that are running using this command:
    ./cell-management-tool -u username -p password cell -t
  6. When the task count reaches zero, shut down the cell by running this command:
    ./cell-management-tool -u username -p password cell -s

You can additionally verify that the vCD Cell is offline by using your browser to https://ip-of-vcd-cell/cloud.

 

Once you have rebooted the server or finish your configuration, to start a vCD cell you just need to type in service vmware-vcd start. I would also recommend following the cell log to see if there are any errors while booting the vCD Cell using the following command: tail -f /opt/vmware/vcloud-director/logs/cell.log

Sources: VMware KB

Tags /
Written By

Who am I? | Linkedin

View All Articles
E
M
Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.