CDT command-line arguments in text mode
There are multiple command line parameters as options when running the Configuration Deployment Tool.
The following table describes the Java™ cdtshell script command-line arguments. When you run the Configuration Deployment Tool, you can optionally use any of these arguments.
Arguments | Description |
---|---|
Source | The logical identifier for the source database. |
Target | The logical identifier for the target database. |
ColonyId | Specifies the Colony ID that you want to compare or deploy. You can pass only one colony at a
time. Example: Windows: Linux/UNIX: |
IgnoreMissingTables | Specifies that when you compare source and target databases, you want to ignore tables that
might be missing in the target schema. When comparing databases in a sharded deployment, ensure that
you specify the IgnoreMissingTables argument. For example, when
comparing a Test Configuration schema with a Production Configuration schema, some Master tables,
such as YFS_CUSTOMER and YFS_USER, do not exist in either the source or target schema. In this case,
the CDT throws "table not found" errors. However, you can enable the CDT to ignore missing tables by
passing Example: Windows: Linux/UNIX: |
LabelId | Specifies the Label Id value that is used to create labels such as BEGIN_<LabelId> and
END_<LabelId>, before and after the deployment, respectively. If this argument is not passed,
labels are not created. Example: Windows: Linux/UNIX: |
CompareOrganizationCode | Specifies the organizations you want to compare based on the organization codes passed, as
defined in the config-db.xml . If you do not pass the
CompareOrganizationCode argument, the corresponding filter is not used. Use a comma-delineated format to specify organizations to compare, such as Org-1,
Org-2. If you use the Example: Windows: Linux/UNIX: |
SkipEmptyTableExport | Indicates if you do not want to generate files for empty table in source database while
exporting to XML. By default, the files are generated with empty records. The argument options are
Y or N .Example: Windows: Linux/UNIX: |
TTMode | Indicates the type of table mode that you can load. The TTMode argument
supports ConfigOnly and MasterOnly modes.The
Note: If you want the CDT to run efficiently and smoothly, run only one type of table at a
time.
However, when you run the CDT in a multischema
model, it is recommended not to use the
ConfigOnly and MasterOnly
modes. Instead, use the following TTMode arguments:
For
each of these modes, run the appropriate command. For example, for Windows, run the following
command:
Note:
|