Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

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.

0 COMMENTS

We’d like to hear from you!