Updating Source and Target Metadata for a Replication Configuration in the CLI
Updating Source and Target Metadata for a Replication Configuration in the CLI
You can use the Replication Configuration Command Line Interface (CLI) to get updated source and target schema information and object IDs for a replication configuration.
Data Replication retrieves metadata from the source and target databases and updates the source and target schema and object IDs in the configuration.
You can get the updated metadata for the configuration in either of the following modes:
In interactive mode, run the idr_cmd_line.cmd or idr_cmd_line.sh script without any parameters to display the Replication Configuration CLI prompt. At the prompt, enter the open command to open the XML configuration file, retrieve current source and target metadata, and update the configuration with that metadata. Then enter the save command to save the updated configuration.
In non-interactive mode, run the idr_cmd_line.cmd or idr_cmd_line.sh script from the command prompt with the path to the configuration file as the first parameter. You can also include the following optional parameters:
Include the recovery parameter to specify the recovery table name if you did not previously create this table when generating the configuration or if you want to override the previously created table.
If you have DB2
sources, include the service parameter to specify the auxiliary table name if you did not previously create this table when generating the configuration or if you want to override the previously created table.
The script retrieves the source and target metadata and updates the configuration.