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     Oracle Solaris Cluster 4.1
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

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

A.  Geographic Edition Properties for SRDF

Index

Administering SRDF Application Resource Groups

To make an application highly available, the application must be managed as a resource in an application resource group.

All the entities you configure for the application resource group on the primary cluster, such as resources and the application resource group, must be replicated to the secondary cluster. The resource group names must be identical on both clusters. Also, the data that the application resource uses must be replicated to the secondary cluster.

This section contains information about the following tasks:

How to Add an Application Resource Group to an SRDF Protection Group

Before You Begin

You can add an existing resource group to the list of application resource groups for a protection group. Before you add an application resource group to a protection group, ensure that the following conditions are met:

The protection group can be activated or deactivated and the resource group can be either online or unmanaged.

  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. Ensure that the Auto_start_on_new_cluster property of the resource group is set to False.
    # clresourcegroup show -p Auto_start_on_new_cluster resource-group

    If necessary, change the property value to True.

    # clresourcegroup set -p Auto_start_on_new_cluster=True resource-group
  3. If the application resource group must have dependencies on resource groups and resources that are not managed by this protection group, ensure that the External_dependencies_allowed property of the protection group is set to TRUE.
    # geopg list protection-group | grep -i external_dependencies_allowed

    If necessary, change the property value to True.

    # geopg set-prop -p External_dependencies_allowed=TRUE protection-group
  4. (Optional) If the protection group is offline, take offline the application resource group.

    If the protection group is offline, the application resource group must also be offline before it can successfully be added to the protection group.

    # clresourcegroup offline resource-group
  5. Add an application resource group to the protection group.

    This command adds an application resource group to a protection group on the local cluster. Then the command propagates the new configuration information to the partner cluster if the partner cluster contains a protection group of the same name.

    # geopg add-resource-group resourcegrouplist protectiongroup
    resourcegrouplist

    Specifies the name or names of the application resource group.

    You can specify more than one resource group in a comma-separated list.

    protectiongroup

    Specifies the name of the protection 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.

    If the add operation is unsuccessful on the local cluster, the configuration of the protection group is not modified. Otherwise, the Configuration status is set to OK on the local cluster.

    If the application resource group configuration is OK on the local cluster, the application resource group gets added to the protection group on the local and remote cluster. If the subsequent configuration validation on the remote cluster does not result in a status of OK on the partner, the status is set to Error on the partner cluster.

    After the application resource group is added to the protection group, the application resource group is managed as an entity of the protection group. Then the application resource group is affected by protection group operations such as start, stop, switchover, and takeover.

Example 2-8 Adding an Application Resource Group to a Protection Group

This example adds two application resource groups, apprg1 and apprg2, to srdfpg.

# geopg add-resource-group apprg1,apprg2 srdfpg

How to Delete an Application Resource Group From an SRDF Protection Group

You can remove an application resource group from a protection group without altering the state or contents of an application resource group.

Before You Begin

Ensure that the following conditions are met:

  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 application resource group from the protection group.

    This command removes an application resource group from the protection group on the local cluster. If the partner cluster contains a protection group of the same name, then the command removes the application resource group from the protection group on the partner cluster.

    If resource groups in the protection group have dependencies between them, you must remove all affected resource groups in the same geopg remove-resource-groupcommand.

    # geopg remove-resource-group resourcegrouplist protectiongroup
    resourcegrouplist

    Specifies the list of application resource groups.

    You can specify more than one resource group in a comma-separated list.

    protectiongroup

    Specifies the name of the protection group.

    If the remove operation is unsuccessful on the local cluster, the configuration of the protection group is not modified. Otherwise, the Configuration status is set to OK on the local cluster.

    If the Configuration status is OK on the local cluster, but the remove operation is unsuccessful on the partner cluster, the Configuration status is set to Error on the partner cluster.

Example 2-9 Deleting an Application Resource Group From a Protection Group

This example removes two application resource groups, apprg1 and apprg2, from srdfpg.

# geopg remove-resource-group apprg1,apprg2 srdfpg