Downgrading from Mirror Replication Agent for Oracle version 15.0 to version 12.6

This procedure assumes that you are using a Mirror Replication Agent for Oracle version 15.0 instance. If the Mirror Replication Agent for Oracle version 12.6 instance no longer exists, create one using the Mirror Replication Agent for Oracle version 12.6 mro_admin command.

StepsTo downgrade from Mirror Replication Agent for Oracle version 15.0 to version 12.6

  1. Be sure that the appropriate Oracle JDBC driver is in your CLASSPATH.

    NoteNo other Oracle drivers are allowed in the CLASSPATH.

  2. Prevent users (other than the Mirror Replication Agent for Oracle version 15.0 user) from accessing the primary database.

  3. Verify that the Mirror Replication Agent for Oracle version 15.0 instance is in Replicating state and allow replication to finish. To verify that replication is completed:

  4. Quiesce the Mirror Replication Agent for Oracle version 15.0 instance.

  5. In the Mirror Replication Agent for Oracle version 15.0 instance, de-initialize the Mirror Replication Agent:

    ra_deinit, force
    
  6. Shut down the Mirror Replication Agent for Oracle version 15.0 instance.

  7. Start and log in to the Mirror Replication Agent for Oracle version 12.6 instance.

  8. Test the primary database connection:

    test_connection PDS
    
  9. Initialize the primary database:

    pdb_init
    

    NoteAny configuration properties that you have modified after migration may need to be reset.

  10. Quiesce the primary database:

    pdb_quiesce hold
    
  11. Initialize the Mirror Replication Agent for Oracle 12.6:

    ra_init
    

    NoteThis automatically marks all the objects for replication. Any objects that you want to unmark must be re-entered.

  12. Allow users access to the primary database:

    pdb_quiesce release
    
  13. Log in to the RSSD and set the Replication Server’s locator to “0”:

    rs_zeroltm source_ds, source_db
    

    where source_ds and source_db match the Mirror Replication Agent for Oracle version 12.6 instance’s values for the rs_source_ds and rs_source_db parameters.

    NoteThe rs_source_ds and rs_source_db values were migrated from Mirror Replication Agent for Oracle version 15.0 and should not be changed.

  14. In the Mirror Replication Agent for Oracle version 12.6 instance, resume replication:

  15. Log out of the Mirror Replication Agent for Oracle version 12.6 instance.

  16. If you created a new interfaces or sql.ini entry when you upgraded to Mirror Replication Agent for Oracle version 15.0, update the entry so the Mirror Replication Agent for Oracle version 12.6 instance name is again associated with the old Mirror Replication Agent for Oracle version 12.6 instance machine and port number.

  17. Revert the Oracle logging properties back to your desired setup in the primary database.

  18. Revoke any additional privileges that were granted to the Mirror Replication Agent primary database user for the upgrade in the primary database.