With the cell subcommand of the VMware Cloud Director cell management tool, you can suspend the task scheduler so that new tasks cannot be started, view the status of active tasks, control cell maintenance mode, or shut down the cell gracefully.
cell-management-tool cell -u sysadmin-username -p sysadmin-password optionwhere sysadmin-username and sysadmin-password are the user name and password of the system administrator.
For security reasons, you can omit the password. In this case, the command prompts you to enter the password without displaying it on the screen.
service vmware-vcd pid cell
Option | Argument | Description |
---|---|---|
--help (-h) |
None | Provides a summary of available commands in this category. |
--pid (-i) |
Process ID of the cell process | You can use this option instead of -username. |
--maintenance (-m) |
true or false | Sets the cell in maintenance mode. The argument The argument |
--password (-p) |
VMware Cloud Director system administrator password | Optional if the -username option is used. If you omit this option, the command prompts you to enter the password without displaying it on the screen. |
--quiesce (-q) |
true or false | Quiesces activity on the cell. The argument The argument |
--shutdown (-s) |
None | Gracefully shuts down VMware Cloud Director services on the server. |
--status (-t) |
None | Displays information about the number of tasks running on the cell and the status of the cell. |
--status-verbose (-tt) |
None | Displays verbose information about the tasks running on the cell and the status of the cell. |
--username (-u) |
VMware Cloud Director system administrator user name. | You can use this option instead of -pid. |
Reactivating a cell
To reactivate a VMware Cloud Director cell after putting it in maintenance mode, run the following command.
cell-management-tool cell -i $(service vmware-vcd pid cell) --maintenance false