Use OCI Full Stack Disaster Recovery Service with Autonomous Database

You can enable the Oracle Cloud Infrastructure Full Stack Disaster Recovery Service on Autonomous Database.

When you enable the OCI Full Stack Disaster Recovery Service (Full Stack Disaster Recovery) you can use Full Stack Disaster Recovery to perform switchover/failover operations or optionally perform database only cross-region Autonomous Database switchover/failover operations.

Note:

Full Stack Disaster Recovery can only be enabled on an Autonomous Database instance that uses the ECPU compute model.

See Full Stack Disaster Recovery for more information.

Topics

Prerequisite Steps for Autonomous Database with Full Stack Disaster Recovery

If you enable Full Stack Disaster Recovery and you want your disaster recovery topology to contain an Autonomous Database instance, first perform these prerequisite steps.

  1. Add one or more cross-region Autonomous Data Guard peers to your Autonomous Database instance.

    See Add a Cross-Region Standby Database for more information.

  2. Set up Full Stack Disaster Recovery and configure the required OCI Identity and Access Management policies.

Enable Full Stack Disaster Recovery with Autonomous Database

Enable Full Stack Disaster Recovery by adding an Autonomous Database instance to a Disaster Recovery Protection Group.

  1. Create Disaster Recovery Protection Groups in a primary region and in one or more standby regions.

    You can create a Disaster Recovery Protection Group from the Oracle Cloud Infrastructure Console. To access Full Stack Disaster Recovery, on the Autonomous Database details page click Configure in the Full Stack DR field under Disaster recovery.



    See Manage Disaster Recovery Protection Groups for more information.

  2. Add an Autonomous Database instance to the Disaster Recovery Protection Group in primary region.
  3. Add at least one Autonomous Data Guard cross-region standby database to a Disaster Recovery Protection Group in a remote (standby) region.

    Note:

    Full Stack Disaster Recovery does not support using a local, same region, Autonomous Data Guard standby.

    See Add Members to a Disaster Recovery Protection Group for more information.

After you create a Disaster Recovery Protection Group that includes an Autonomous Database, the Oracle Cloud Infrastructure Console shows that Full Stack Disaster Recovery is enabled.



Click Enabled in the Full Stack DR field to view the Disaster Recovery Protection Group details.

Use Full Stack Disaster Recovery to Perform Switchover or Failover Operations

After you enable Full Stack Disaster Recovery, when you perform a cross-region switchover or failover you have the option to use Full Stack Disaster Recovery.

For a cross-region switchover or failover you must initiate the operation from a Standby database. You have several options to access a Standby database:

  • Select the remote region in Oracle Cloud Infrastructure Console and then access the Standby database.

  • On the Primary database you can access a standby database from the Oracle Cloud Infrastructure Console. To access a standby database, from the Autonomous Database details page select Disaster recovery under Resources and click a link for a standby database in the Peer Autonomous Database column.

To perform a switchover or a failover:

  1. Access the cross-region standby database and from the Autonomous Database details page, under Disaster recovery click Switchover(or Failover when the Primary is not available) in the Role field.

    As an alternative, to initiate a switchover you can select More actions and Switchover(or Failover when the Primary is not available).

    This shows the Confirm switchover to peer dialog.

  2. Select an option and confirm the operation.
    1. Select Switchover stack with Full Stack Disaster Recovery.
    2. In the Select Disaster Recovery Protection Group field, select a value.
    3. Click Goto DR protection group.

    This brings you to the Disaster Recovery DR protection group details page. From this page you can perform disaster recovery actions. See Manage Disaster Recovery Plan Executions for more information.

Notes for Full Stack Disaster Recovery

Note the following for using Autonomous Database with Full Stack Disaster Recovery enabled.

  • When Full Stack Disaster Recovery is enabled, depending on the configuration of the Disaster Recovery Protection Group, a cross-region Standby database should be part of a larger disaster recovery configuration. If you perform disaster recovery operations just on the database, this can impact other Oracle Cloud Infrastructure resources that are part of the Disaster Recovery Protection Group. For example, if you select the Switchover only database option, Full Stack Disaster Recovery receives an event indicating that a database switchover has occurred. In this case Full Stack Disaster Recovery can automatically trigger a switchover of the remaining stack. The action that Full Stack Disaster Recovery takes when it receives the database switchover event is configurable with Full Stack Disaster Recovery.

  • Full Stack Disaster Recovery can only be enabled on an Autonomous Database instance that uses the ECPU compute model.

    See Compute Models in Autonomous Database for more information.

  • Full Stack Disaster Recovery does not support disaster recovery using Autonomous Database Backup-Based Disaster Recovery peers.

    See Use Backup-Based Disaster Recovery for more information.