Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019
 
 

Disabling the Disaster Recovery Framework

You can disable the disaster recovery framework by using the following procedure.

How to Disable the Disaster Recovery Framework

Before You Begin

Ensure that all protection groups on the local cluster are offline. For more information, see the following procedures:

  1. Log in to a cluster node.

    You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Disaster Recovery Framework Rights Profiles in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

  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 Disaster Recovery Framework.

  3. Disable the disaster recovery framework.
    phys-paris-1# geoadm stop

    This command removes the disaster recovery framework resource groups that were created when you enabled the disaster recovery framework.

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


    Note -  Disabling the disaster recovery framework removes only the disaster recovery framework resource groups. Resource groups that have been created to support data replication are not removed unless you remove the protection group that the resource groups are supporting by using the geopg delete command.
  4. Verify that the software was disabled and that the disaster recovery framework resource groups are no longer displayed.
    phys-paris-1# geoadm show
    phys-paris-1# clresource-group status

    For more information, see the clresourcegroup(8CL) man page.

Example 2  Disabling a Cluster

This example disables the cluster-paris cluster.

  1. Confirm that all protection groups are offline.

    phys-paris-1# geoadm status
    
    Cluster: cluster-paris
    
    Partnership "paris-newyork-ps" :OK
       Partner clusters   :cluster-newyork
       Synchronization    :OK
       ICRM Connection    :OK
    
       Heartbeat "paris-to-newyork" monitoring "cluster-newyork":OK
          Heartbeat plug-in "ping_plugin"   :Inactive
          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 disaster recovery framework.

    phys-paris-1# geoadm stop
    ... verifying pre conditions and performing pre remove operations ... done
    ...removing product infrastructure ... please wait ...
  3. Confirm that the disaster recovery framework was successfully disabled.

    phys-paris-1# geoadm show
    
    --- CLUSTER LEVEL INFORMATION ---
    Oracle Solaris Cluster disaster recovery framework 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 disaster recovery framework resource groups and resources have been removed.

    phys-paris-1# clresource-group status
    phys-paris-1#