This section explains how to run the Configuration
Deployment Tool from a command line, using a text-based (non-GUI)
interface.
To run the Configuration Deployment
Tool from command line:
Procedure
Edit the <INSTALL_DIR>/bin/cdtshell.cmd.in script
for windows (cdtshell.sh.in for
UNIX/Linux) and set the following properties:
Property
Description
SOURCE_DB
The logical identifier for the source database.
This value corresponds to the Name setting in the <SourceDatabases> element
in the ydkprefs.xml file.
TARGET_DB
The logical identifier for the target database.
This value corresponds to the Name setting in the <TargetDatabases> element
in the ydkprefs.xml file.
SOURCE_PASSWORD
Specify the password required for the source database.
Note: This parameter is not required to be set
if the source is an XML folder.
TARGET_PASSWORD
Specify the password required for the target database.
Note: This parameter is not required to be set
if the source is an XML folder.
TARGET_HTTP_PASSWORD
Specify the password of the http user required
to refresh the cache on the server.
Note: This
parameter is not required if there is no cache to refresh on the server.
Run the <INSTALL_DIR>/bin/setupfiles.cmd script
for windows (setupfiles.sh for UNIX/Linux).
Configure CDT preferences and parameters
for the comparison operation. The ydkprefs.xml file
determines CDT preferences and is automatically created when you run
the CDT from the GUI; however, you can also manually create and edit
the ydkprefs.xml file without using the CDT GUI.
For information about manually creating and editing the ydkprefs.xml file,
see Setting CDT preference settings in text mode.
Run the cdtshell.cmd script
for windows (cdtshell.sh for UNIX/Linux) from the <INSTALL_DIR>\bin directory.