Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Delete a Hitachi TrueCopy Protection Group

Before You Begin

If you want to delete the protection group everywhere, you must run the geopg delete command on each cluster where the protection group exists.

Before deleting a protection group, ensure that the following conditions are met:


Note –

You must remove the application resource groups from the protection group in order to keep the application resource groups online while deleting the protection group. See Example 10–7 and Example 10–10 for examples of this procedure.


Steps
  1. Log in to a nodes on the primary cluster.

    You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.

  2. Delete the protection group.

    This command deletes the configuration of the protection group from the local cluster. The command also removes the replication resource group for each Hitachi TrueCopy device group in the protection group. This command does not alter the pair state of the Hitachi TrueCopy device group.


    # geopg delete protection-group-name 
    
    protection-group-name

    Specifies the name of the protection group

  3. To also delete the protection group on the secondary cluster, repeat step 1 and step 2 on cluster-newyork.


Example 10–6 Deleting a Protection Group

The following example illustrates how to delete a protection group from both partner clusters.

The cluster-paris is the primary cluster. For a reminder of the sample cluster configuration, see Figure 2–1.


# rlogin cluster-paris -l root
cluster-paris# geopg delete tcpg
# rlogin cluster-newyork -l root
cluster-newyork# geopg delete tcpg


Example 10–7 Deleting a Hitachi TrueCopyProtection Group While Keeping Application Resource Groups Online

The following example illustrates how to keep two application resource groups, apprg1 and apprg2, online while deleting their protection group, tcpg. Remove the application resource groups from the protection group, then delete the protection group.


# geopg remove-resource-group apprg1,apprg2 tcpg
# geopg stop -e global tcpg 
# geopg delete tcpg