Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019
 
 

Enabling the Disaster Recovery Framework

When you enable the disaster recovery framework, the cluster is ready to enter a partnership with another enabled cluster. You can use the CLI commands or Oracle Solaris Cluster Manager to create a cluster partnership.

For more information about setting up and installing the disaster recovery framework software, see the Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

How to Enable the Disaster Recovery Framework

This procedure enables the disaster recovery framework on the local cluster only. Repeat this procedure on all the clusters of your geographically separated cluster.

Before You Begin

Ensure that the following conditions are met:

  • The cluster is running the Oracle Solaris Operating System and the Oracle Solaris Cluster software.

  • The disaster recovery framework software is installed.

  • The cluster has been configured for secure cluster communication by using security certificates, that is, nodes within the same cluster must share the same security certificates. This is done during Oracle Solaris Cluster installation.

  1. Log in to a cluster node.

    You must be assigned the Geo Operation 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. Ensure that the logical hostname, which is the same as the cluster name, is available and defined.
    # cluster list
  3. If the cluster name is not the name you want to use, change the cluster name.

    If you must change the name of a cluster that is configured in a partnership, do not perform this step. Instead, follow instructions in Renaming a Cluster That Is in a Partnership.

    Follow cluster naming guidelines as described in Planning Required IP Addresses and Hostnames in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4. Cluster names must follow the same requirements as for host names. You cannot rename a cluster that is part of a zone cluster, but you can rename a cluster in a global zone.

    # cluster rename -c new-cluster-name old-cluster-name

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


    Note -  After you have enabled the disaster recovery framework, you must not change the cluster name while the framework is enabled.
  4. Confirm that the naming service and the local hosts files contain a host entry that matches the cluster name.

    The local host file, hosts, is located in the /etc/inet directory.

  5. On a node of the cluster, start the disaster recovery framework.
    # geoadm start

    The geoadm start command enables the disaster recovery framework on the local cluster only. For more information, see the geoadm(8) man page.

  6. Verify that you have enabled the disaster recovery framework and that the disaster recovery framework resource groups are online.

    For a list of the disaster recovery framework resource groups, see Disaster Recovery Framework Resource Groups.

    # geoadm show
    # clresource-group status
    # clresource status

    The output for the geoadm show command displays that the disaster recovery framework is active from a particular node in the cluster.

    The output for the clresource-group status and clresource status commands displays that the geo-failovercontrol, geo-hbmonitor, and geo-cluster-name resources and the geo-infrastructure resource groups are online on one node of the cluster.

    For more information, see the clresourcegroup(8CL) and clresource(8CL) man pages.

Example 1  Enabling the Disaster Recovery Framework in a Cluster

This example enables the disaster recovery framework on the cluster-paris cluster.

  1. Start the disaster recovery framework on cluster-paris.

    phys-paris-1# geoadm start
  2. Ensure that the disaster recovery framework was successfully enabled.

    phys-paris-1# geoadm show
    
    --- CLUSTER LEVEL INFORMATION ---
    Oracle Solaris Cluster disaster recovery framework is active on cluster-paris from node phys-paris-1
    Command execution successful
    phys-paris-1#
  3. Verify the status of the disaster recovery framework resource groups and resources.

    phys-paris-1# clresource-group status
    === Cluster Resource Groups ===
    
    Group Name            Node Name    Suspended       Status
    ----------            ---------    ---------       ------
    geo-clusterstate      phys-paris-1    No           Online
                          phys-paris-2    No           Online
    
    geo-infrastructure    phys-paris-1    No           Online
                          phys-paris-2    No           Offline
    
    # clresource status
    === Cluster Resources ===
    
    Resource Name         Node Name      State                Status Message
    -------------         ---------      -----                --------------
    geo-cluster-name       phys-paris-1   Online               Online - LogicalHostname online.
                           phys-paris-2   Offline              Offline
    
    geo-hbmonitor         phys-paris-1   Online               Online - Daemon OK
                          phys-paris-2   Offline              Offline
    
    geo-failovercontrol   phys-paris-1   Online               Online - Service is online
                          phys-paris-2   Offline              Offline
    
    geo-servicetag        phys-paris-1   Online_not_monitored Online_not_monitored
                          phys-paris-1   Offline              Offline

Next Steps

For information about creating protection groups, see the Oracle Solaris Cluster data replication guide that corresponds to the type of data replication software you are using.