JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility
search filter icon
search icon

Document Information

Preface

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

A.  Geographic Edition Properties for SRDF

Index

Administering SRDF Data Replication Device Groups

This section provides the following information about administering SRDF data replication device groups:

For details about configuring a SRDF data replication protection group, see How to Create and Configure an SRDF Protection Group.

How to Add a Data Replication Device Group to an SRDF Protection Group

  1. Log in to a cluster node.

    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.

  2. Create a data replication device group in the protection group.

    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
    -p property

    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.

    devicegroupname

    Specifies the name of the new data replication device group.

    protectiongroupname

    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

Validations Made by the Data Replication Subsystem

When the SRDF device group is added to a protection group, the data replication layer makes the following validations.

When an SRDF device group is added to a protection group, an 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

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.


How the State of the SRDF Device Group Is Validated

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.

Determining the State of an Individual SRDF Device Group

An individual SRDF device group can be in one of the following states:

Determining the Aggregate SRDF Device Group State

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

Condition
Aggregate Device Group State
Any of the individual device group states are Invalid.
Invalid
Any of the individual device groups states are Partitioned and none of the individual device group states is Invalid.
Partitioned
One or more of the individual device groups states are Suspended and none of the individual device group states is Invalid, or Partitioned.
Suspended
One or more of the individual device groups states are Split and none of the individual device group states is Invalid, Partitioned, or Suspended.
Split
One or more of the individual device groups states are R1 UpdInProg and none of the individual device group states is Invalid, Partitioned, Suspended, or Split.
R1 UpdInProg
One or more of the individual device groups states are R1 Updated and none of the individual device group states is Invalid, Partitioned, Suspended, Split, or R1 UpdInProg.
R1 Updated
One or more of the individual device groups states are Failedover and none of the individual device group states is Invalid, Partitioned, Suspended, Split, R1 UpdInProg, or R1 Updated.
Failedover
One or more of the individual device groups states are SynInProg and none of the individual device group states is Invalid, Partitioned, Suspended, Split, R1 UpdInProg, R1 Updated, or Failedover.
SynInProg
All of the individual device group states are Synchronized.
Synchronized

Determining the SRDF Pair 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

Condition
Resource Status
Status Message
The RDF pair state is Invalid and the pair state is not Incorrect Role.
Faulted
Invalid state
The RDF pair state is Partitioned and the pair state is not Incorrect Role, or Invalid.
Faulted
Partitioned
The RDF pair state is Suspended and the pair state is not Incorrect Role, Invalid, or Partitioned.
Faulted
Suspended
The RDF pair state is SyncInProg and the pair state is not Incorrect Role, Invalid, Partitioned, or Suspended.
Degraded
SyncInProg
The RDF pair state is R1 UpdInProg and the pair state is not Incorrect Role, Invalid, Partitioned, Suspended, or SyncInProg.
Faulted
R1 UpdInProg
The RDF pair state is Split and the pair state is not Incorrect Role, Invalid, Partitioned, Suspended,SyncInProg, or R1 UpdInProg.
Faulted
Split
The RDF pair state is Failed over and the pair state is not Incorrect Role, Invalid, Partitioned, Suspended,SyncInProg, R1 UpdInProg, or Split.
Faulted
Failed over
The RDF pair state is R1 Updated and the pair state is not Incorrect Role, Invalid, Partitioned, Suspended,SyncInProg, R1 UpdInProg, Split, or Failed over.
Faulted
Replicating with role change
The RDF pair state is Synchronized.
Online
Replicating

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.

How to Modify an SRDF Data Replication Device Group

  1. Log in to a cluster node.

    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.

  2. Modify the device group.

    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
    -p property

    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.

    srdfdevicegroupname

    Specifies the name of the new data replication device group.

    protectiongroupname

    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

How to Delete a Data Replication Device Group From an SRDF Protection Group

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.

  1. Log in to a cluster node.

    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.

  2. Remove the device group.

    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
    devicegroupname

    Specifies the name of the data replication device group

    protectiongroupname

    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