Check results of replication  Chapter 2: Replication Agent for Informix

Chapter 1: Replication Agent for UDB

Clean up the test environment

Use the following procedure to clean up and remove the replication test environment that you created in the previous sections.

StepsTo clean up and remove the replication test environment

  1. Log in to the Replication Agent administration port using isql (or another query processor).

  2. Use the following command to quiesce the Replication Agent instance:

    quiesce
    
  3. Use the following command to remove the Replication Agent transaction log and unmark the test primary table (rax_test) in the primary database:

    pdb_xlog remove, force
    
  4. Log in to the replicate Replication Server and execute the following scripts:

    Edit the appropriate script file (rs_drop_test_sub.sql or rs_drop_test_sub_for_11.0.x.sql) so that the values for RDS.RDB on the with replicate at clause for each command match the RDS.RDB values that you used in the rs_create_test_sub.sql script. These values are initially set to ase.test.

  5. Log in to the replicate data server and execute the ase_drop_test_replicate_table.sql script to drop the test replicate table.

  6. Use your DB2 Universal Database access tool (such as Command Line Processor) to log in to the DB2 Universal Database server and execute the udb_drop_test_primary_table.sql script to drop the test primary table.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 2: Replication Agent for Informix

View this book as PDF