Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Geographic Edition Data Replication Guide for Oracle Data Guard |
1. Replicating Data With Oracle Data Guard Software
2. Administering Oracle Data Guard Protection Groups
Working With Oracle Data Guard Protection Groups
Overview of Administering Protection Groups
How to Administer an Oracle Data Guard Protection Group (Example)
Creating, Modifying, Validating, and Deleting an Oracle Data Guard Protection Group
How to Create and Configure an Oracle Data Guard Protection Group
How to Modify an Oracle Data Guard Protection Group
How to Validate an Oracle Data Guard Protection Group
How to Delete an Oracle Data Guard Protection Group
Administering Oracle Data Guard Application Resource Groups
How to Add an Application Resource Group to an Oracle Data Guard Protection Group
How to Delete an Application Resource Group From an Oracle Data Guard Protection Group
Administering Oracle Data Guard Broker Configurations
How to Add an Oracle Data Guard Broker Configuration to an Oracle Data Guard Protection Group
How the Data Replication Subsystem Verifies the Oracle Data Guard Broker Configuration
How to Modify an Oracle Data Guard Broker Configuration
How to Delete an Oracle Data Guard Broker Configuration From an Oracle Data Guard Protection Group
Replicating the Oracle Data Guard Protection Group Configuration to a Partner Cluster
How to Replicate the Oracle Data Guard Protection Group Configuration to a Partner Cluster
Activating and Deactivating a Protection Group
How to Activate an Oracle Data Guard Protection Group
How to Deactivate an Oracle Data Guard Protection Group
Resynchronizing an Oracle Data Guard Protection Group
How to Resynchronize an Oracle Data Guard Protection Group
Checking the Runtime Status of Oracle Data Guard Data Replication
Displaying an Oracle Data Guard Runtime Status Overview
How to Check the Overall Runtime Status of Replication
Displaying a Detailed Oracle Data Guard Runtime Status
3. Migrating Services That Use Oracle Data Guard Data Replication
A. Geographic Edition Properties for Oracle Data Guard Broker Configurations
You can replicate the configuration of a protection group to the partner cluster either before or after you configure data replication, resource groups, and resources on both clusters.
Before You Begin
Before you replicate the configuration of an Oracle Data Guard protection group to a partner cluster, ensure that the following conditions are met:
The protection group is defined on the remote cluster, not on the local cluster.
The Oracle Data Guard Broker configuration in the protection group on the remote cluster exists on the local cluster.
The application resource groups in the protection group on the remote cluster exist on the local cluster.
The Auto_start_on_new_cluster property of the resource groups is set to False. You can view this property by using the clresourcegroup show command.
phys-node-n# clresourcegroup show -p Auto_start_on_new_cluster apprg
Set the Auto_start_on_new_cluster property to False as follows:
phys-node-n# clresourcegroup set -y Auto_start_on_new_cluster=False apprg1
Setting the Auto_start_on_new_cluster property to False prevents the Oracle Solaris Cluster resource group manager from automatically starting the resource groups in the protection group. The Geographic Edition software restarts and communicates with the remote cluster to ensure that it is running and that it is the standby cluster for that resource group. The Geographic Edition software does not automatically start the resource group on the primary cluster.
When the protection group is activated, application resource groups need to be online only on the primary cluster.
You have not added the shadow RAC server proxy resource group for an Oracle Data Guard Broker configuration to a protection group application resource group list before that resource group exists on all clusters.
Note - You must replicate the protection group configuration to a partner cluster before you can add a shadow RAC server proxy resource group to a protection group.
When you successfully add the Oracle Data Guard configuration to the protection group on the clusters on which the protection group exists, Oracle Data Guard creates the shadow RAC server proxy resource group on the clusters. The means by which you can successfully add a shadow RAC server proxy resource group to a protection group include the following:
If an Oracle Data Guard protection group does not contain an Oracle Data Guard Broker configuration, once you replicate the protection group on the partner cluster and add the Oracle Data Guard Broker configuration to it, Oracle Data Guard adds the shadow RAC server proxy resource group on both clusters.
If an Oracle Data Guard protection group contains an Oracle Data Guard Broker configuration, does not contain a shadow RAC server proxy resource group on one cluster, and is not replicated on the partner cluster, when you replicate the protection group to the partner cluster, Oracle Data Guard creates the shadow RAC server proxy resource group on the partner cluster.
Once a shadow RAC server proxy resource group exists on both clusters, you can add that resource group to the protection group.
To complete this step, you need to be assigned the Geo Management RBAC rights profile. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
phys-newyork-1# geopg get -s partnershipname ODGprotectiongroup
Specifies the name of the partnership from which the protection group configuration information is gathered.
Specifies the name of the protection group.
The geopg get command retrieves the configuration information of the protection group from the remote cluster and creates the protection group on the local cluster.
Note - The geopg get command replicates Geographic Edition related entities. For information about how to replicate Oracle Solaris Cluster entities, see Replicating and Upgrading Configuration Data for Resource Groups, Resource Types, and Resources in Oracle Solaris Cluster Data Services Planning and Administration Guide.
Example 2-9 Replicating the Oracle Data Guard Protection Group Configuration to a Partner Cluster
This example shows how to replicate the configuration of sales-pg to cluster-newyork.
# rlogin phys-newyork-1 -l root phys-newyork-1# geopg get -s paris-newyork-ps sales-pg
The configuration of the protection group is retrieved from the remote cluster, in this example cluster-paris, and then validated by the data replication subsystem on the local cluster cluster-newyork.
If the validation is successful, the Configuration status is set to OK and the protection group is created on the local cluster.
If the validation fails, the protection group is not created on the local cluster. Resolve the error and replicate the protection group again.