Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Solaris Availability Suite

Exit Print View

Updated: July 2014, E39670-01
 
 

Replicating the Availability Suite Protection Group Configuration to a Partner Cluster

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.

How to Replicate the Availability Suite Protection Group Configuration to a Partner Cluster


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name to go to its page. In the Protection Groups section, click Get Protection Groups and select the protection group to replicate. For more information about Oracle Solaris Cluster Manager, see Chapter 13, Using the Oracle Solaris Cluster GUI, in Oracle Solaris Cluster System Administration Guide .

Before You Begin

Before you replicate the configuration of an Availability Suite 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 device groups in the protection group on the remote cluster exist 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.

    # clresourcegroup show -p auto_start_on_new_cluster apprg

    Set the Auto_start_on_new_cluster property to False as follows:

    # clresourcegroup set -p 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. Therefore, after the Geographic Edition software restarts and communicates with the remote cluster to ensure that the remote cluster is running and that the remote cluster is the secondary cluster for that resource group. The Geographic Edition software does not automatically start the resource group on the primary cluster.

    Application resource groups should be online only on primary cluster when the protection group is activated.

  1. Log in to phys-newyork-1.

    You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .

  2. Replicate the protection group configuration to the partner cluster by using the geopg get command.

    This command retrieves the configuration information of the protection group from the remote cluster and creates the protection group on the local cluster.

    # geopg get -s partnership AVS-protection-group
    –s partnership

    Specifies the name of the partnership from which the protection group configuration information is gathered

    AVS-protection-group

    Specifies the name of the protection group


    Note -  The geopg get command replicates Geographic Edition related entities. To replicate Oracle Solaris Cluster resource groups, resource types, and resources, use the cluster export -t rg,rt,rs command to generate an XML cluster configuration file, modify the XML file for the expected configuration on the secondary cluster. Then run the clresource create command with the –a option to apply the configuration updates. For more information, see How to Configure Oracle Solaris Cluster Software on All Nodes (XML) in Oracle Solaris Cluster Software Installation Guide and the cluster (1CL) and clresource (1CL) man pages.
Example 15  Replicating the Availability Suite Protection Group to a Partner Cluster

This example replicates the configuration of avspg to cluster-newyork.

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. This protection group contains a device group and an application group that are configured almost identically to the device group and application group on the remote cluster.

If the validation fails, the protection group is not created on the local cluster. Fix the cause of the error and replicate it again.

# rlogin phys-newyork-1 -l root
phys-newyork-1# geopg get -s paris-newyork-ps avspg

Next Steps

To activate the protection group, see How to Activate a Protection Group in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .