Deploy Oracle Data Guard on Bare Metal Solution

Oracle® Data Guard is a high availability and disaster recovery solution for Oracle databases. Setting it up on Bare Metal Solution follows the same best practices as on-premises or any other Oracle Data Guard deployment.

Before you begin

This guide explains the process of configuring Oracle Data Guard on Bare Metal Solution. It applies to Bare Metal Solution environments running Oracle database version 12.2 or newer that meet the following criteria:

  • Each environment contains two Bare Metal Solution clusters that are configured in separate regional extensions.
  • Each Bare Metal Solution cluster communicates through a Google Virtual Private Cloud (VPC) via a Partner Cloud Interconnect.
  • Oracle Grid Infrastructure and Oracle database are already installed on the Bare Metal Solution servers.
  • The primary and standby databases for Data Guard are hosted in separate Bare Metal Solution regional extensions.
  • Each Bare Metal Solution cluster uses Oracle Real Application Clusters (RAC) option for high availability.
  • Each Bare Metal Solution cluster uses Oracle Automatic Storage Management (ASM) for shared storage.
  • Oracle ASM diskgroup names are consistent between clusters.
  • TCP port 1521 is used for communication between the primary and standby databases.

The first Bare Metal Solution cluster hosts the Data Guard primary database and the second Bare Metal Solution cluster hosts the standby database. This guide uses the Data Guard broker to manage the configuration. This guide also includes instructions to optionally configure the Data Guard observer on Compute Engine. Configuring an observer lets you configure automatic database failover between the primary and standby databases.

System architecture

The following diagram shows the system architecture used in this guide:

A system architecture diagram

Each regional extension contains a different Bare Metal Solution cluster. The primary database, DBDG_SITE1, exists in regional extension 1. The standby database, DBDG_SITE2, exists in regional extension 2 and is created via active duplication. Communication between the databases travels over the Partner Cloud Interconnect through a shared customer Virtual Private Cloud.

Next steps

Next, prepare Data Guard's primary database.