Replication fails to start after resuming standby connection

When replication fails to start after you resume the standby connection in Replication Server, there are two probable causes:

Problem with enable replication marker

If the Replication Server standby database connection is resumed before the Mirror Replication Agent is resumed, the standby DSI thread may not recognize the “enable replication” marker in the inbound queue. In that event, the standby DSI continues to ignore messages in the inbound queue, waiting for the marker to appear. The following symptoms indicate this problem:

NoteTo avoid this problem, always resume replication in the Mirror Replication Agent before you resume the Replication Server standby connection.

StepsTo correct the enable replication marker problem

  1. Suspend the standby connection in Replication Server.

  2. Suspend the Mirror Replication Agent.

  3. Purge all open transactions in the Replication Server stable queue.

    See the Replication Server Reference Manual for information about the sysadmin purge_all_open and sysadmin purge_first_open commands.

  4. Resume the Mirror Replication Agent.

  5. Resume the standby connection in Replication Server.

Problem with truncation point moved

If the secondary truncation point moves while an open transaction remains in the Replication Server stable (inbound) queue, no transactions are sent to the standby database. When this occurs:

This problem may occur under the following conditions:

NoteTo avoid this problem, do not move the secondary truncation point while an open transaction remains in the stable queue.

If you need to re-initialize the primary database, in preparation for re-initializing the Mirror Replication Agent, do not move the secondary truncation point.

StepsTo correct the moved truncation point problem

  1. Purge all open transactions in the stable queue before resuming the Replication Server standby connection.

    See the Replication Server Reference Manual for information about the sysadmin purge_all_open and sysadmin purge_first_open commands.

NoteIf the secondary truncation point must be moved (for example, when the primary database is re-materialized in a failback procedure), you must purge all open transactions in the stable queue before resuming the standby connection.