Enable Oracle Data Guard

This article provides the details and procedure to enable Data Guard on a DB system.

General Information

Create the first standby

Perform the following steps to enable Data Guard on a DB system by creating the first standby for a database using the OCI Console:

  1. On the DB Systems list page, select the DB system that contains the database that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the Databases tab, select the database that you want to work with.
  3. On the database details page, select the Data Guard Associations tab.
  4. Select Add standby.
  5. On the Add standby page, create a new peer DB system for the standby by entering the following information.

Data Guard resource type

You must select the Data Guard resource type when you are creating the first standby database.

Note: You can switch to the new Data Guard Group resource at any time without impact to your database.

Peer DB system

Shape

Shape: The shape determines the type of DB system created and the resources allocated to the system. For a complete list of shapes, see Available Shapes and How It Determines the Resources Allocated.

In the Change shape panel, provide the following details to select from available shapes:

Shape series

Select an AMD, Intel, or Ampere processor in the processor group.

Note: If you select Ampere A1, AMD E4, AMD E5, or Intel X9 flexible shapes, the memory, network bandwidth, and maximum theoretical IOPS scale proportionally.

Configure OCPU

Select the shape you want to use for this instance.

To change the number of OCPUs, perform the following steps:

You can change the number of OCPUs for Ampere A1, AMD E4, AMD E5, and Intel X9 flexible shapes.

The following resources scale proportionately to the number of OCPUs you selected.

DB system configuration

Network information

Data Guard details

Note: You cannot set the Protection Mode or Transport Type for the standby database during its creation. However, it is possible to edit it later. You can also edit other Data Guard details after provisioning if you need to. For more information, see Edit Oracle Data Guard.

Diagnostics collection

The diagnostics collection and notifications feature enables Oracle Cloud Operations and you to identify, investigate, track, and resolve guest VM issues quickly and effectively. Subscribe to events to get notified about resource state changes. You can enable or disable this feature at anytime.

By default the options are selected for enabling. However, you can select to uncheck the diagnostic collection check boxes if you do not require the diagnostic feature.

Note: You are opting in with the understanding that the list of events and log files can change in the future. You can opt out of this feature at any time.

Advanced options

Expand Advanced options to provide the advanced options for this resource.

Management

Expand Management to provide the following details:

Security

Expand Security to provide security details. Optionally, you can specify one or more security attributes to configure Zero Trust Packet Routing (ZPR) for the DB system.

Note:

For more information about:

Tags

Expand Tags to provide tag details for this resource.

You can add free-form tags or defined tags to this resource. You must have permission to use the tag namespace for defined tags. For information about using tags to manage your OCI resources, see Resource Tags.

Tip: Tags can be applied later or at any time to a resource.

Standby database

Enable

Select Add.

When you create Data Guard, the details for a database and its peer display their respective roles as Primary or Standby.

If setting up Data Guard fails for any reason, we recommend contacting Oracle Support to resolve the issue. The billing for the DB system starts as soon as it is created and is in Available status.

Create multiple standby databases

In a Data Guard group, a primary database can support up to a maximum of six standby databases.

Perform the following steps to create multiple standby databases in a Data Guard group using the OCI Console:

  1. On the DB Systems list page, select the DB system that contains the database that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the Databases tab, select the database that you want to work with.
  3. On the database details page, select the Data Guard Group tab.
  4. Select Add standby.
  5. On the Add standby page, create a new peer DB system for the standby by entering the following information.

Peer DB system

Shape

Shape: The shape determines the type of DB system created and the resources allocated to the system. For a complete list of shapes, see Available Shapes and How It Determines the Resources Allocated.

In the Change shape panel, provide the following details to select from available shapes:

Shape series

Select an AMD, Intel, or Ampere processor in the processor group.

Note: If you select Ampere A1, AMD E4, AMD E5, or Intel X9 flexible shapes, the memory, network bandwidth, and maximum theoretical IOPS scale proportionally.

Configure OCPU

Select the shape you want to use for this instance.

To change the number of OCPUs, perform the following steps:

You can change the number of OCPUs for Ampere A1, AMD E4, AMD E5, and Intel X9 flexible shapes.

The following resources scale proportionately to the number of OCPUs you selected.

DB system configuration

Network information

Data Guard details

Note: You cannot set the Protection Mode or Transport Type for the standby database during its creation. However, it is possible to edit it later. You can also edit other Data Guard details after provisioning if you need to. For more information, see Edit Oracle Data Guard.

Diagnostics collection

The diagnostics collection and notifications feature enables Oracle Cloud Operations and you to identify, investigate, track, and resolve guest VM issues quickly and effectively. Subscribe to events to get notified about resource state changes. You can enable or disable this feature at anytime.

By default the options are selected for enabling. However, you can select to uncheck the diagnostic collection check boxes if you do not require the diagnostic feature.

Note: You are opting in with the understanding that the list of events and log files can change in the future. You can opt out of this feature at any time.

Advanced options

Expand Advanced options to provide the advanced options for this resource.

Management

Expand Management to provide the following details:

Security

Expand Security to provide security details. Optionally, you can specify one or more security attributes to configure Zero Trust Packet Routing (ZPR) for the DB system.

Note:

For more information about:

Tags

Expand Tags to provide tag details for this resource.

You can add free-form tags or defined tags to this resource. You must have permission to use the tag namespace for defined tags. For information about using tags to manage your OCI resources, see Resource Tags.

Tip: Tags can be applied later or at any time to a resource.

Standby database

Enable

Select Add.

When you create Data Guard, the details for a database and its peer display their respective roles as Primary or Standby.

If setting up Data Guard fails for any reason, we recommend contacting Oracle Support to resolve the issue. The billing for the DB system starts as soon as it is created and is in Available status.