Configuring Database Resynchronization

Configure resynchronization for Adaptive Server databases.

  1. Stop replication processing by suspending RepAgent.
  2. Instruct Replication Server to be in resync mode. While in resync mode, Replication Server skips transactions and purges replication data from replication queues in anticipation of the replicate database being repopulated from a dump taken from the primary database or trusted source.
  3. Restart RepAgent and send a resync database marker to Replication Server to indicate that a resynchronization effort is in progress.
  4. Verify that DSI receives the resync database marker.
  5. Obtain a dump from the primary database.

    When Replication Server detects a dump marker that indicates the completion of the primary database dump, Replication Server stops skipping transactions and can determine which transactions to apply to the replicate database.

  6. Verify that DSI receives the dump database marker.
    Note: Sending a dump database marker does not apply in cases where you send the resync marker with the init instruction.
  7. Apply the dump to the replicate database.
  8. Resume replication.

You must use commands and parameters from both Replication Server and RepAgent for database resynchronization.