Manage peer deployments

Use peer deployments to implement your OCI GoldenGate disaster recovery plan.

Note:

This article applies only to Data replication deployments.

About peer deployments

A peer deployment is a resource you create as a standby to your primary deployment in the event of a disaster or service disruption. It includes all the same primary deployment metadata, such as Trail and parameter files, Block volume, and File storage service replicas.

Peer deployments let you switch from the primary to the standby deployment when needed. When you perform a switchover to a peer deployment, the peer deployment you switch to becomes the primary.

Note:

Peer deployments are billed at the same rate as primary deployments. Learn more about OCPU management and billing.

Stopping a primary deployment doesn't stop the standby deployment, which continues to be billed. You must manually stop the standby deployments to prevent being billed. If you delete a primary deployment, then its peers are also deleted.

Add a peer deployment

To add a peer deployment to a primary deployment:
  1. On the primary deployment's Details page, select Disaster recovery.
  2. On the Disaster recovery page, click Add peer.
  3. In the Add peer deployment panel:
    1. For Automatically select the best availability domain placement:
      • Select this option for the service to select the Availability domain and Fault domain on your behalf.
      • Deselect this option to select the Availability domain and Fault domain yourself.
  4. Click Add.
The peer deployment appears in the list on the Disaster recovery page, where you can monitor its state until be becomes Active.

Switch to a peer deployment

Learn to perform a switchover from a primary to a standby peer deployment.

Switchover from a primary to a peer deployment is a manual process. Ensure that you subscribe to the necessary OCI GoldenGate Events to be kept informed of relevant deployment activities.
To switch to a peer deployment:
  1. On the primary deployment's Details page, select Disaster recovery.
  2. In the Peer deployment list on the Disaster recovery page, from the Actions menu of the peer you want to switch to, select Switchover.
  3. In the Switchover dialog window, confirm that you want to switch to this peer, and then click Switch.
  4. The deployment status changes to Updating while the switchover is in progress.
When the switchover completes, the peer is now the primary and the primary becomes the peer.

Delete a peer deployment

Delete a peer deployment when it's no longer needed to stop recurring additional charges for unused resources.

To delete a peer deployment:
  1. On the primary deployment's Details page, select Disaster recovery.
  2. In the Peer deployment list, from the Actions menu of the peer you want to delete, select Delete.
  3. In the Delete peer dialog window, confirm that you want to delete this peer, and then click Delete.
The state of the peer deployment changes to Deleting.