Sun Cluster Geographic Edition System Administration Guide

Disabling the Sun Cluster Geographic Edition Software

You can disable the Sun Cluster Geographic Edition infrastructure by using the following procedure.

ProcedureHow to Disable the Sun Cluster Geographic Edition Software

Before You Begin

Before you can disable the Sun Cluster Geographic Edition infrastructure, all protection groups on the local cluster must be offline.

Steps
  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 Sun Cluster Geographic Edition Software and RBAC.

  2. Confirm that all of the protection groups are offline on the local cluster.


    phys-paris-1# geoadm status

    For more information about the geoadm status command and its output, see Monitoring the Runtime Status of the Sun Cluster Geographic Edition Software.

    If you want to keep the application resource groups online while deactivating a Sun StorEdge Availability Suite 3.2.1 protection group, follow the procedure described in Example 7–18.

    If you want to keep the application resource groups online while deactivating a Hitachi TrueCopy protection group, follow the procedure described in Example 10–23.

  3. Disable the Sun Cluster Geographic Edition software.


    phys-paris-1# geoadm stop

    This command removes the infrastructure resource groups that were created when you enabled the Sun Cluster Geographic Edition infrastructure.

    For more information about this command, see the geoadm(1M) man page.


    Note –

    If you did not deleted the protection group entities by using the Sun Cluster Geographic Edition software, then the data replication resource groups are not removed when you disable the Sun Cluster Geographic Edition infrastructure. The data replication resource groups are available again when you enable the Sun Cluster Geographic Edition infrastructure.


  4. Verify that the software was disabled and that the Sun Cluster Geographic Edition resource groups are no longer displayed.


    phys-paris-1# geoadm show
    phys-paris-1# scstat -g

    For more information, see the scstat(1M) man page.


Example 3–2 Disabling a Cluster

The following example illustrates how to disable cluster-paris.

  1. Confirm that all protection groups are offline as follows.


    phys-paris-1# geoadm status
    Cluster: cluster-paris
    
    Partnership "paris-newyork-ps" : OK
    
       Partner clusters: cluster-newyork
       Synchronization:  OK
    
       Heartbeat "paris-to-newyork" monitoring "cluster-newyork": OK
           Heartbeat plug-in "ping_plugin"   : Inactive
           Heartbeat plug-in "icrm_plugin"   : OK
           Heartbeat plug-in "tcp_udp_plugin": OK
    
    Protection group "tcpg"      : OK
        Partnership              : paris-newyork-ps
        Synchronization          : OK
    
        Cluster cluster-paris    : OK
            Role                 : Primary
            PG activation state  : Deactivated
            Configuration        : OK
            Data replication     : OK
            Resource groups      : OK
    
    
        Cluster cluster-newyork  : OK
            Role                 : Secondary
            PG activation state  : Deactivated
            Configuration        : OK
            Data replication     : OK
            Resource groups      : OK
  2. Disable the Sun Cluster Geographic Edition infrastructure.


    phys-paris-1# geoadm stop
    ... verifying pre conditions and performing pre remove operations ... done
    ...removing product infrastructure ... please wait ...
  3. Use the geoadm show command to determine if the Sun Cluster Geographic Edition infrastructure was successfully disabled.


    phys-paris-1# geoadm show
    
    --- CLUSTER LEVEL INFORMATION ---
    Sun Cluster Geographic Edition is not active on cluster-paris
    
    --- LOCAL NODE INFORMATION ---
    Node phys-paris-1 does not host active product module.
    
    Command execution successful
    phys-paris-1#
  4. Verify that Sun Cluster Geographic Edition resource groups and resources have been removed by using the scstat -g command.


    phys-paris-1# scstat -g
    phys-paris-1#