Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility Oracle Solaris Cluster 4.1 |
1. Replicating Data With EMC Symmetrix Remote Data Facility Software
2. Administering SRDF Protection Groups
Strategies for Creating SRDF Protection Groups
Creating a Protection Group While the Application Is Offline
Creating, Modifying, Validating, and Deleting an SRDF Protection Group
How to Create and Configure an SRDF Protection Group
Requirements to Support Oracle Real Application Clusters With Data Replication Software
How to Create a Protection Group for Oracle Real Application Clusters
How the Data Replication Subsystem Validates the Device Group
How to Modify an SRDF Protection Group
Validating an SRDF Protection Group
How to Validate an SRDF Protection Group
How to Delete an SRDF Protection Group
How to Create a Protection Group That Does Not Require Data Replication
Administering SRDF Application Resource Groups
How to Add an Application Resource Group to an SRDF Protection Group
How to Delete an Application Resource Group From an SRDF Protection Group
Administering SRDF Data Replication Device Groups
How to Add a Data Replication Device Group to an SRDF Protection Group
Validations Made by the Data Replication Subsystem
How the State of the SRDF Device Group Is Validated
Determining the State of an Individual SRDF Device Group
Determining the Aggregate SRDF Device Group State
Determining the SRDF Pair State
How to Modify an SRDF Data Replication Device Group
How to Delete a Data Replication Device Group From an SRDF Protection Group
Replicating the SRDF Protection Group Configuration to a Partner Cluster
How to Replicate the SRDF Protection Group Configuration to a Partner Cluster
Activating an SRDF Protection Group
How to Activate an SRDF Protection Group
Deactivating an SRDF Protection Group
How to Deactivate an SRDF Protection Group
Resynchronizing an SRDF Protection Group
How to Resynchronize a Protection Group
Checking the Runtime Status of SRDF Data Replication
Displaying an SRDF Runtime Status Overview
How to Check the Overall Runtime Status of Replication
Displaying a Detailed SRDF Runtime Status
3. Migrating Services That Use SRDF Data Replication
Before you begin creating protection groups, consider which of the following strategies is best for you:
Creating the protection group while the application remains online.
This strategy allows you to create a protection group without any application outage.
Taking the application offline before creating the protection group.
The following sections describe the steps for each strategy:
To create a protection group while the application resource groups is offline, complete the following steps.
Create the protection group from a node on one cluster.
For more information, see How to Create and Configure an SRDF Protection Group.
Add the data replication device group to the protection group.
For more information, see How to Add a Data Replication Device Group to an SRDF Protection Group.
Take the application resource group offline.
Add the application resource group to the protection group.
For more information, see How to Add an Application Resource Group to an SRDF Protection Group.
On the other cluster, retrieve the protection group configuration.
For more information, see How to Replicate the SRDF Protection Group Configuration to a Partner Cluster.
From either cluster, start the protection group globally.
For more information, see How to Activate an SRDF Protection Group.
To add an existing application resource group to a new protection group without taking the application offline, complete the following steps on the cluster where the application resource group is online.
Create the protection group from a cluster node.
For more information, see How to Create and Configure an SRDF Protection Group.
Add the data replication device group to the protection group.
For more information, see How to Add a Data Replication Device Group to an SRDF Protection Group.
Start the protection group locally.
For more information, see How to Activate an SRDF Protection Group.
Add the application resource group to the protection group.
For more information, see How to Add an Application Resource Group to an SRDF Protection Group.
Complete the following steps on the other cluster.
Retrieve the protection group configuration.
For more information, see How to Replicate the SRDF Protection Group Configuration to a Partner Cluster.
Activate the protection group locally.
For more information, see How to Activate an SRDF Protection Group.
Example 2-1 Creating an SRDF Protection Group While the Application Remains Online
This example creates a protection group without taking the application offline.
In this example, the apprg1 resource group is online on the cluster-paris cluster.
Create the protection group on cluster-paris.
phys-paris-1# geopg create -d srdf -p Cluster_dgs=dg1 \ -o Primary -s paris-newyork-ps srdfpg Protection group "srdfpg" has been successfully created
Add the device group, devgroup1, to the protection group.
phys-paris-1# geopg add-device-group devgroup1 rdfpg
Activate the protection group locally.
phys-paris-1# geopg start -e local srdfpg Processing operation.... this may take a while... Protection group "srdfpg" successfully started.
This command starts data replication.
Add an application resource group that is already online to the protection group.
phys-paris-1# geopg add-resource-group apprg1 srdfpg Following resource groups were successfully inserted: "apprg1"
Verify that the application resource group was added successfully.
phys-paris-1# geoadm list srdfpg
On one node of the partner cluster, retrieve the protection group.
phys-newyork-1# geopg get -s paris-newyork-ps srdfpg Protection group "srdfpg" has been successfully created.
Activate the protection group locally on the partner cluster.
phys-newyork-1# geopg start -e local srdfpg Processing operation.... this may take a while... Protection group "srdfpg" successfully started.
Verify that the protection group was successfully created and activated.
Running the geoadm status command on cluster-paris produces the following output:
phys-paris-1# geoadm status Cluster: cluster-paris Partnership "paris-newyork-ps" : OK Partner clusters : newyork Synchronization : OK ICRM Connection : OK Heartbeat "hb_cluster-paris~cluster-newyork" monitoring \ "paris-newyork-ps": OK Plug-in "ping-plugin" : Inactive Plug-in "tcp_udp_plugin" : OK Protection group "srdfpg" : OK Partnership : paris-newyork-ps Synchronization : OK Cluster cluster-paris : OK Role : Primary Configuration : OK Data replication : OK Resource groups : OK Cluster cluster-newyork : OK Role : Secondary Configuration : OK Data Replication : OK Resource Groups : OK