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.
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.
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.
# cluster list
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.
The local host file, hosts, is located in the /etc/inet directory.
# 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.
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.
This example enables the disaster recovery framework on the cluster-paris cluster.
Start the disaster recovery framework on cluster-paris.
phys-paris-1# geoadm start
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#
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.