JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Geographic Edition Data Replication Guide for Hitachi TrueCopy and Universal Replicator
search filter icon
search icon

Document Information

Preface

1.  Replicating Data With Hitachi TrueCopy and Universal Replicator Software

2.  Administering Hitachi TrueCopy and Universal Replicator Protection Groups

Strategies for Creating Hitachi TrueCopy and Universal Replicator 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 a Hitachi TrueCopy or Universal Replicator Protection Group

How to Create and Configure a Hitachi TrueCopy or Universal Replicator Protection Group That Does Not Use Oracle Real Application Clusters

Ensuring Data Consistency for Hitachi Universal Replicator in Asynchronous Mode

Understanding Data Consistency in Geographic Edition

Using Consistency Group IDs to Ensure Data Consistency

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 a Hitachi TrueCopy or Universal Replicator Protection Group

Validating a Hitachi TrueCopy or Universal Replicator Protection Group

How to Validate a Hitachi TrueCopy or Universal Replicator Protection Group

How to Delete a Hitachi TrueCopy or Universal Replicator Protection Group

Administering Hitachi TrueCopy and Universal Replicator Application Resource Groups

How to Add an Application Resource Group to a Hitachi TrueCopy or Universal Replicator Protection Group

How to Delete an Application Resource Group From a Hitachi TrueCopy or Universal Replicator Protection Group

Administering Hitachi TrueCopy and Universal Replicator Data Replication Device Groups

How to Add a Data Replication Device Group to a Hitachi TrueCopy or Universal Replicator Protection Group

Validations Made by the Data Replication Subsystem

How the State of the Hitachi TrueCopy or Universal Replicator Device Group Is Validated

Determining the State of an Individual Hitachi TrueCopy or Universal Replicator Device Group

Determining the Aggregate Hitachi TrueCopy or Universal Replicator Device Group State

Validating the Local Role of the Protection Group Against the Aggregate Device Group State

How to Modify a Hitachi TrueCopy or Universal Replicator Data Replication Device Group

How to Delete a Data Replication Device Group From a Hitachi TrueCopy or Universal Replicator Protection Group

Replicating the Hitachi TrueCopy or Universal Replicator Protection Group Configuration to a Secondary Cluster

How to Replicate the Hitachi TrueCopy or Universal Replicator Protection Group Configuration to a Secondary Cluster

Activating a Hitachi TrueCopy or Universal Replicator Protection Group

How to Activate a Hitachi TrueCopy or Universal Replicator Protection Group

Deactivating a Hitachi TrueCopy or Universal Replicator Protection Group

How to Deactivate a Hitachi TrueCopy or Universal Replicator Protection Group

Resynchronizing a Hitachi TrueCopy or Universal Replicator Protection Group

How to Resynchronize a Protection Group

Checking the Runtime Status of Hitachi TrueCopy and Universal Replicator Data Replication

Displaying a Hitachi TrueCopy or Universal Replicator Runtime Status Overview

How to Check the Overall Runtime Status of Replication

Displaying a Detailed Hitachi TrueCopy or Universal Replicator Runtime Status

3.  Migrating Services That Use Hitachi TrueCopy and Universal Replicator Data Replication

A.  Geographic Edition Properties for Hitachi TrueCopy and Universal Replicator

Index

Deactivating a Hitachi TrueCopy or Universal Replicator Protection Group

You can deactivate a protection group on the following levels:

Deactivating a Hitachi TrueCopy or Universal Replicator protection group on a cluster has the following effect on the data replication layer:

Deactivating a protection group has the following effect on the application layer:

The Hitachi TrueCopy or Universal Replicator command that is used to stop data replication depends on the following factors:

The following table describes the Hitachi TrueCopy or Universal Replicator command used to stop data replication for each of the possible combinations of factors. In the commands, dg is the device group name.

Table 2-5 Commands Used to Stop Hitachi TrueCopy or Universal Replicator Data Replication

Aggregate Device Group State
Valid Local Protection Group Role
Hitachi TrueCopy or Universal ReplicatorStop Command
SMPL
primary or secondary
No command is run because no data is being replicated.
Regular Primary
primary
If the local state code is 22, 23, 26, 29, 42, 43, 46, or 47, then the following command is run: pairsplit -g dg [-l].

If the local state code is 11, 24, 25, 44, 45, or 48, then no command is run because no data is being replicated.

Regular Secondary
secondary
If the local state code is 32, 33, 35, 36, 39, 52, 53, 55, 56, or 57, the following command is run: pairsplit -g dg.

If the local state code is 33 or 53 and the remote state is PSUE, no command is run to stop replication.

If the local state code is 11, 34, 54, or 58, then no command is run because no data is being replicated.

Takeover Primary
primary
No command is run because no data is being replicated.
Takeover Secondary
secondary
No command is run because no data is being replicated.

How to Deactivate a Hitachi TrueCopy or Universal Replicator 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. Deactivate the protection group.

    When you deactivate a protection group, its application resource groups are also unmanaged.

    # geopg stop -e scope [-D] protectiongroupname
    -e scope

    Specifies the scope of the command.

    If the scope is Local, then the command operates on the local cluster only. If the scope is Global, the command operates on both clusters where the protection group is deployed.


    Note - The property values, such as Global and Local, are not case sensitive.


    -D

    Specifies that only data replication should be stopped and the protection group should be online.

    If you omit this option, the data replication subsystem and the protection group are both stopped.

    protectiongroupname

    Specifies the name of the protection group.

Example 2-19 How the Geographic Edition Software Issues the Command to Stop Replication

This example illustrates how the Geographic Edition software determines the Hitachi TrueCopy or Universal Replicator command that is used to stop data replication.

The current state of the Hitachi TrueCopy or Universal Replicator device group, devgroup1, is provided in the output of the pairdisplay command:

phys-paris-1# pairdisplay -g devgroup1
Group PairVol(L/R) (Port#,TID,LU),Seq#,LDEV#,P/S,Status,Fence,Seq#,P-LDEV# M 
devgroup1 pair1(L) (CL1-A , 0, 1) 12345   1..P-VOL PAIR ASYNC,54321  609   - 
devgroup1 pair1(R) (CL1-C , 0, 20)54321 609..S-VOL PAIR ASYNC,-----   1    - 
devgroup1 pair2(L) (CL1-A , 0, 2) 12345   2..P-VOL PAIR ASYNC,54321  610   - 
devgroup1 pair2(R) (CL1-C , 0,21) 54321 610..S-VOL PAIR ASYNC,-----   2    -

A device group, devgroup1, is added to the protection group as follows:

phys-paris-1# geopg add-device-group -p fence_level=async devgroup1 tcpg

The Geographic Edition software runs the pairvolchk -g <DG> -ss command at the data replication level, which returns a value of 43.

# pairvolchk -g devgroup1 -ss
Volstat is P-VOL.[status = PAIR fence = ASYNC]
phys-paris-1# echo $?
43

Next, the protection group, tcpg, is deactivated by using the geopg stop command.

phys-paris-1# geopg stop -s local tcpg

The Geographic Edition software runs the pairsplit -g devgroup1 command at the data replication level.

If the command is successful, the state of devgroup1 is provided in the output of the pairdisplay command:

phys-paris-1# pairdisplay -g devgroup1
Group PairVol(L/R) (Port#,TID,LU),Seq#,LDEV#,P/S,Status,Fence,Seq#,P-LDEV# M
devgroup1 pair1(L) (CL1-A , 0, 1) 12345   1..P-VOL PSUS ASYNC,54321  609   - 
devgroup1 pair1(R) (CL1-C , 0, 20)54321 609..S-VOL SSUS ASYNC,-----   1    - 
devgroup1 pair2(L) (CL1-A , 0, 2) 12345   2..P-VOL PSUS ASYNC,54321  610   - 
devgroup1 pair2(R) (CL1-C , 0,21) 54321 610..S-VOL SSUS ASYNC,-----   2    -

Example 2-20 Deactivating a Protection Group on All Clusters

This example deactivates a protection group on all clusters.

# geopg stop -e global tcpg

Example 2-21 Deactivating a Protection Group on a Local Cluster

This example deactivates a protection group on the local cluster.

# geopg stop -e local tcpg

Example 2-22 Stopping Data Replication While Leaving the Protection Group Online

This example stops only data replication on a local cluster.

# geopg stop -e local -D tcpg

If the administrator decides later to deactivate both the protection group and its underlying data replication subsystem, the administrator can rerun the command without the -D option:

# geopg stop -e local tcpg

Example 2-23 Deactivating a Hitachi TrueCopy or Universal Replicator Protection Group While Keeping Application Resource Groups Online

This example keeps two application resource groups, apprg1 and apprg2, online while deactivating their protection group, tcpg, on both clusters.

  1. Remove the application resource groups from the protection group.

    # geopg remove-resource-group apprg1,apprg2 tcpg
  2. Deactivate the protection group.

    # geopg stop -e global tcpg