Running the CDT in text mode

You can run the Configuration Deployment Tool (CDT) from the command line by using a text-based (non-GUI) interface.

Procedure

  1. For Windows, edit the <INSTALL_DIR>/bin/cdtshell.cmd.in script.
    For UNIX or Linux®, edit the cdtshell.sh.in script.

    Configure the following properties:

    Property Description
    SOURCE_DB The logical identifier for the source database. The value corresponds to the Name setting in the <SourceDatabases> element of the ydkprefs.xml file.
    TARGET_DB The logical identifier for the target database. The value corresponds to the Name setting in the <TargetDatabases> element of the ydkprefs.xml file.
    SOURCE_PASSWORD Specify the password of the source database.
    Note: If the source database is an XML folder, do not specify the password for the source database.
    TARGET_PASSWORD Specify the password of the target database.
    Note: If the target database is an XML folder, do not specify the password for the target database.
    TARGET_HTTP_PASSWORD If the user need to refresh the cache on the server, then specify the password of the HTTP user.
    For more information, see CDT command-line arguments in text mode. For example, if you want to load a specific table type, use the TTMode argument.
  2. For Windows, run the <INSTALL_DIR>/bin/setupfiles.cmd script.
    For UNIX or Linux), run the setupfiles.sh script.
  3. Configure the CDT preferences and parameters for the comparison operation. The ydkprefs.xml file determines the CDT preferences and automatically creates when you run the CDT from the GUI.
    You can manually create and edit the ydkprefs.xml file without using the CDT GUI. For more information, see Setting CDT preference settings in text mode.
  4. For Windows, run the cdtshell.cmd script.
    For UNIX or Linux, go to the <INSTALL_DIR>\bin folder and run the cdtshell.sh script.