Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility |
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 a Protection Group While the Application Is Online
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
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
This section provides the following information about administering SRDF data replication device groups:
How to Add a Data Replication Device Group to an SRDF Protection Group
How to Delete a Data Replication Device Group From an SRDF Protection Group
For details about configuring a SRDF data replication protection group, see How to Create and Configure an SRDF Protection Group.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
This command adds a device group to a protection group on the local cluster and propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.
# geopg add-device-group -p property [-p...] devicegroupname protectiongroupname
Specifies the properties of the data replication device group.
You can specify the following SRDF properties:
DG_or_CG – Specifies that the device group is an SRDF device group.
You must set this property to DG.
R1SID – Specifies the primary (RDF1) EMC Symmetrix ID of the EMC Symmetrix devices.
The data replication layer automatically sets the value of this property. You should specify the primary (RDF1) EMC Symmetrix ID of the EMC Symmetrix devices if you change the settings of the EMC Symmetrix host.
R2SID – Specifies the secondary (RDF2) EMC Symmetrix ID of the EMC Symmetrix devices.
The data replication layer automatically sets the value of this property. You should specify the secondary (RDF2) EMC Symmetrix ID of the EMC Symmetrix devices if you change the settings of the EMC Symmetrix host.
Specifies the name of the new data replication device group.
Specifies the name of the protection group that will contain the new data replication device group.
For information about the names and values that are supported by Geographic Edition software, see Appendix B, Legal Names and Values of Geographic Edition Entities, in Oracle Solaris Cluster Geographic Edition System Administration Guide.
For more information about the geopg command, refer to the geopg(1M) man page.
Example 2-10 Adding a Data Replication Device Group to an SRDF Protection Group
This example adds the SRDF data replication device group to the srdfpg protection group.
# geopg add-device-group devgroup1 srdfpg
When the SRDF device group is added to a protection group, the data replication layer makes the following validations.
The specified device group name exists in the SRDF configuration.
The replication role matches the SRDF protection group role.
The EMC Symmetrix source, R1SID, and the EMC Symmetrix target, R2SID, can be reached.
When an SRDF device group is added to a protection group, a Oracle Solaris Cluster data replication resource is automatically created by this command. This resource monitors data replication state. The name of the resource is sc_ggeo_dr-SRDFprotectiongroupname-devicegroupname. This resource is placed in the corresponding Oracle Solaris Cluster resource group, which is named sc_geo_dr-SRDFprotectiongroupname.
![]() | Caution - Do not change, remove, or bring offline these resources or resource groups. Use only Geographic Edition commands to administer replication resource groups and resources that are internal entities managed by Geographic Edition software. Altering the configuration or state of these entities directly with Oracle Solaris Cluster commands could result in unrecoverable failure. |
The state of each SRDF device group is mapped to the Geographic Edition resource group state. The symrdf -g dgname query command returns this state.
The remainder of this section describes the individual device group states and how these states are validated against the local role of the protection group.
An individual SRDF device group can be in one of the following states:
Synchronized
SynInProg
Failedover
R1 Updated
R1 UpdInProg
Split
Suspended
Partitioned
Invalid
If a protection group contains only one SRDF device group, then the aggregate device group state is the same as the individual device group state.
When a protection group contains multiple SRDF device groups, the aggregate device group state is obtained as described in the following table.
Table 2-1 Conditions That Determine the Aggregate Device Group State
|
The resource status message reflects the role and state of the RDF pair. For example, the resource status and status message of Faulted Split, is reported when the RDF pair is in a Split state.
The RDF pair state is mapped to the associated resource status as described in the following table.
Table 2-2 Mapping From the RDF Pair State to the Resource Status
|
The state of the RDF pair determines the availability of consistent data in the partnership. When the state of the RDF resource on the primary or secondary cluster is Degraded or Faulted, the data volumes might not be synchronized even if the application can still write data from the primary volume to the secondary volume. The RDF pair will be in a Partitioned state and the invalid entries will be logged as the data is written to the primary volume. Manual recovery operations are required to resolve the error and resynchronize the data.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
This command modifies the properties of a device group in a protection group on the local cluster. Then the command propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.
# geopg modify-device-group -p property [-p...] srdfdevicegroupname protectiongroupname
Specifies the properties of the data replication device group.
For more information about the properties you can set, see Appendix A, Standard Geographic Edition Properties, in Oracle Solaris Cluster Geographic Edition System Administration Guide.
Specifies the name of the new data replication device group.
Specifies the name of the protection group that will contain the new data replication device group.
Example 2-11 Modifying the Properties of an SRDF Data Replication Device Group
This example modifies the R1SID property of a data replication device group that is part of an SRDF protection group.
# geopg modify-device-group -p R1SID=215 srdfdg srdfpg
Before You Begin
You might delete a data replication device group from a protection group if you added a data replication device group to a protection group. Normally, after an application is configured to write to a set of disks, you would not change the disks.
Deleting a data replication device group does not stop replication or change the replication status of the data replication device group.
For information about deleting protection groups, refer to How to Delete an SRDF Protection Group. For information about deleting application resource groups from a protection group, refer to How to Delete an Application Resource Group From an SRDF Protection Group.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
This command removes a device group from a protection group on the local cluster. Then the command propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.
# geopg remove-device-group devicegroupname protectiongroupname
Specifies the name of the data replication device group
Specifies the name of the protection group
When a device group is deleted from an SRDF protection group, the corresponding Oracle Solaris Cluster resource, sc_geo_dr-SRDF-protectiongroupname-devicegroupname, is removed from the replication resource group. As a result, the deleted device group is no longer monitored. The replication resource group is removed when the protection group is deleted.
Example 2-12 Deleting a Replication Device Group From an SRDF Protection Group
This example removes an SRDF data replication device group srdfdg from the srdfpg protection group.
# geopg remove-device-group srdfdg srdfpg