5.5

Table Of Contents
Example: Getting Task Status
The following cell-management-tool command line supplies system administrator credentials and returns
the count of running jobs. When the Job count value is 0 and the Is Active value is false, you can safely
shut down the cell.
[root@cell1 /opt/vmware/vcloud-
director/bin]# ./cell-management-tool -u administrator cell --status
Job count = 3
Is Active = true
Commands for Exporting Database Tables
Use the dbextract command of the cell management tool to export data from the vCloud Director
database.
To export database tables, use a command line with the following form:
cell-management-tool dbextract options
Table 52. Cell Management Tool Options and Arguments, dbextract Subcommand
Option Argument Description
--help (-h)
None Provides a summary of available
commands in this category.
-categories
A comma-separated list of table categories
to export.
Optional. NETWORKING is the only
supported category
-dataFile
An absolute path to a file describing the
data to export.
Optional. If not supplied, the
command uses
$VCLOUD_HOME/etc/data_to_exp
ort.properties. See “Specifying
Tables and Columns to Export,” on
page 50.
-dumpFile
An absolute path to a dump file. The
containing directory must exist and be
writable by root.
All data will be exported to this
file.
-exportSettingsFile
An absolute path to a data export settings
properties file.
Optional. If not supplied, the
command uses
$VCLOUD_HOME/etc/data_export
_settings.ini. See “Limiting
and Ordering Exported Rows,” on
page 51.
-properties
An absolute path to a database connection
properties file.
Optional. If not supplied, the
command uses the database
connection properties in
$VCLOUD_HOME/etc/global.prop
erties. See “Specifying a
Properties File,” on page 50.
-tables
A comma-separated list of tables. Optional. Export all tables to see
individual table names.
Chapter 5 Cell Management Tool Reference
VMware, Inc. 49