Configure Automatic DR Plan Execution

To enable automatic DR plan execution for a standby DR protection group, create an Automatic DR configuration and specify the database members you want to include. During the setup, select one or more database members from the DR protection group, select the DR plan to run, and define the operations—switchover, failover, or both, to trigger the plan automatically.

  1. Navigate to the Resource page for the standby DR Protection Group.
  2. Click the Automatic DR configurations tab to navigate to the Automatic DR configuration page for the DR protection group.
  3. Click Create to begin creating a new Automatic DR configuration. Provide values for the following:
    1. Name of the Automatic DR Configuration.
    2. Select the default switchover plan.
    3. Select the default failover plan.

      Note:

      • If you configure a database member for failover, you must specify a failover plan.
      • If you configure a database member for switchover, you must specify a switchover plan.
      • You can enable both operations and provide both plans.
    4. Click Configure and then select a resource type:
      • Autonomous database
      • Autonomous container database
      • Database
    5. Select the member name.
    6. Enable the toggle to trigger Full Stack automatic switchover when the member switches over.
    7. Enable the toggle to trigger Full Stack DR automatic failover when the member fails over.

      Note:

      You must enable at least one option: switchover or failover.
  4. Click Configure to configure the member.

    After the Automatic DR configuration is created, you can view the configuration details, including the database members, and the automatic switchover and failover settings.

    Note:

    After the first switchover or failover execution, the Automatic DR Configuration on the new primary DR Protection Group (original standby) becomes InActive. You must create the DR Plan and Automatic DR Configuration on the new standby DR Protection Group.

    Note:

    Plan executions launched by Automatic DR use Resource Principal (RP) authentication because these executions occur automatically without your action.

    To enable this, you must configure policies for Resource Principal authentication that grant Full Stack DR permissions to perform DR operations.

    See the Resource Principals topic for more information.

Validation for creating an Automatic DR Configuration

The following validations are performed when creating an Automatic DR Configuration:

DR Protection Group requirements:
  • Role: Automatic DR Configuration can be created only for a Standby DR Protection Group.
  • Lifecycle state: The DR Protection Group must be in the Active state.
Member Requirements:
  • Supported Member Types:
    • Oracle Database:
      • Autonomous Database
      • Autonomous Container Database
      • ExaDB-D
      • ExaDB-C@C
      • ExaDB-XS

    Note:

    Oracle Base Database is not supported.
  • Membership: Only members within the same DR Protection Group can be included in its Automatic DR Configuration.
  • Event Conditions: Each included member must specify at least one event condition—switchover or failover. You can also specify both.
  • Uniqueness: Each member can be added only once to an Automatic DR Configuration.
  • Data Guard Support: Only database members that are part of a Data Guard group are supported.

DR Plan requirements:

  • Supported Plan Types: Only Switchover and Failover DR Plans can be specified for automatic execution.
  • Plan State: The selected DR Plan must be in the Active state.
  • Default Plans: If you enable Switchover for any member, then you must provide a default Switchover DR Plan. If you enable Failover for any member, then you must provide a default Failover DR Plan.
Resource Principal policies:
  • Policy requirement: You must define the appropriate Resource Principal (RP) policies for all the members in the DR Protection Group. These policies authorize the Full Stack Disaster Recovery service to automatically execute the specified DR Plan on your behalf.
 For details, see the Resource Principals topic.