27 Mar 2014 by Simon Greaves
To cleanly shut down a vCloud Director cell run the following commands. Display the current state of the cell to view any active jobs.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <USERNAME> cell --status
Then Quiesce the active jobs.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <USERNAME> cell --quiesce true
Check the cell isn’t processing any active jobs.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <USERNAME> cell --status
Shut the cell down to prevent any other jobs from becoming active on the cell.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <USERNAME> cell --shutdown
Now run the status command again to check that job count says zero.
/opt/vmware/vcloud-director/bin/cell-management-tool -u <USERNAME> cell --status
Then stop the vCD service.
service vmware-vcd stop
When you want to bring the host back up again start the service.
service vmware-vcd start
A typical service start takes around 2-5 minutes. You can monitor the progess of the restart by tailing the cell.log file.
tail -f /opt/vmware/vcloud-director/logs/cell.log
Once it say’s 100%, it is done.
Tagged with: vCD
Comments are closed for this post.