Once the data in the RASD is created by initializing the Mirror Replication Agent instance, the only way to update the RASD is to re-initialize the instance using the ra_init command with the force keyword.
Before you re-initialize the Mirror Replication Agent, the primary database
must be re-initialized and quiesced. The following procedure includes both
of those tasks.
To update the RASD
Log in to the Mirror Replication Agent instance with the administrator login.
Use the following command to determine the state of the Mirror Replication Agent instance:
ra_status
If the Mirror Replication Agent is in Admin state, skip this step and continue with step 4.
If the Mirror Replication Agent is in Replicating state:
Use the following command to quiesce the Mirror Replication Agent instance:
quiesce
Use the following command to verify that the Mirror Replication Agent is in Admin state:
ra_status
After you verify that the Mirror Replication Agent is in Admin state, use the following command to initialize the primary database:
pdb_init
WARNING! Do not use the move_truncpt option when you re-initialize a primary database that was previously initialized by the Mirror Replication Agent.
If you do not preserve the existing secondary truncation point in the primary database, you will have to re-materialize the standby database before you can resume replication.
After you re-initialize the primary database, use the following command to quiesce the primary database:
pdb_quiesce hold
Use the following command to re-initialize the Mirror Replication Agent and force it to update its RASD:
ra_init force
After the Mirror Replication Agent is initialized, use the following command to release the quiesce hold on the primary database:
pdb_quiesce release
Use the following command to resume replication in the Mirror Replication Agent:
resume
Use the following command to verify that the Mirror Replication Agent is in Replicating state:
ra_status
If the Mirror Replication Agent does not return to Replicating state, see Chapter 6, “Troubleshooting Mirror Replication Agent,” for more information.