Resetting DR Configuration After a Failover

Issue: A failover plan execution does not clean up resources in the primary DR protection group or configure DR member properties to prepare for a DR transition in the reverse direction.

Solution: After a failover plan execution has succeeded, you must manually perform this cleanup and reverse the configuration of properties to prepare the DR configuration for switchover or failover in the reverse direction when needed.
Note

Performing the manual cleanup step listed here will delete all the existing DR plans.

Perform the following cleanup and reconfiguration tasks manually at the end of a failover plan execution:

  1. Delete all the volume groups from the primary DR protection group.
  2. Delete all the file systems from the primary DR protection group.
  3. Detach and delete all the block volumes attached to moving instances in the primary DR protection group.
  4. Delete all the moving instances from the primary DR protection group. Ensure that you also delete the attached boot volumes when deleting instances.
  5. Perform a Data Guard reinstate operation on all the Oracle Exadata Database Service and the Oracle Base Database Service databases in the old primary DR protection group. Before performing the reinstate operation verify using the OCI Database console that the new primary database has a Primary role, and the old primary database has a Disabled Standby role. See Perform Database Switchover and Failover and Reinstate a Database for additional details.
  6. If you had configured any non-moving instances in the primary DR protection group to detach block volumes, then detach these block volumes and delete them.
  7. If you had configured any non-moving instances in the primary DR protection group to unmount file systems, then unmount these file systems.
  8. If you had configured any non-movable instances in the primary DR protection group to unmount file systems, then remove the existing Mount target details and re-configure the Mount target properties in the File system tab for those members.
  9. If you had configured any non-movable instances in the primary DR protection group to detach block volumes, then remove the existing attach/detach properties for block volumes in the Block volumes tab for those members and re-configure them using block volumes in the new primary DR protection group.