This procedure enables the Sun Cluster Geographic Edition infrastructure on the local cluster only. Repeat this procedure on all the clusters of your geographically separated cluster.
Ensure that the following conditions are met:
The cluster is running the Solaris Operating System and the Sun Cluster software.
The Sun Cluster management-agent container for Sun Cluster Manager is running.
The Sun Cluster Geographic Edition 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 Sun Cluster installation.
When you upgrade to Sun Cluster 3.2 software, the security certificates must be identical on all nodes of the cluster. Therefore, you must copy the security certificates manually from one node of the cluster to the other nodes of the cluster. For more information on copying the security files for the common agent container, see the procedures in How to Finish Upgrade to Sun Cluster 3.2 12/07 Software in Sun Cluster Upgrade Guide for Solaris OS.
Log in to a cluster node.
You must be assigned the Geo Operation RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.
Ensure that the logical hostname, which is the same as the cluster name, is available and defined.
# cluster list
(Optional) If the cluster name is not the name you want to use, you can change the cluster name with the following command:
# cluster rename -c newclustername oldclustername
For more information, see the cluster(1CL) man page.
After you have enabled the Sun Cluster Geographic Edition infrastructure, you must not change the cluster name while the infrastructure is enabled.
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.
On a node of the cluster, start the Sun Cluster Geographic Edition infrastructure.
# geoadm start
The geoadm start command enables the Sun Cluster Geographic Edition infrastructure on the local cluster only. For more information, see the geoadm(1M) man page.
Verify that you have enabled the infrastructure and that the Sun Cluster Geographic Edition resource groups are online.
For a list of the Sun Cluster Geographic Edition resource groups, see Sun Cluster Geographic Edition Infrastructure Resource Groups.
# geoadm show # clresourcegroup status # clresource status
The output for the geoadm show command displays that the Sun Cluster Geographic Edition infrastructure is active from a particular node in the cluster.
The output for the clresourcegroup sstatusand clresource status commands displays that the geo-failovercontrol, geo-hbmonitor, and geo-clustername resources and the geo-infrastructure resource groups are online on one node of the cluster.
This example enables the Sun Cluster Geographic Edition software on the cluster-paris cluster.
Start the Sun Cluster Geographic Edition software on cluster-paris.
phys-paris-1# geoadm start
Ensure that the Sun Cluster Geographic Edition infrastructure was successfully enabled.
phys-paris-1# geoadm show --- CLUSTER LEVEL INFORMATION --- Sun Cluster Geographic Edition is active on cluster-paris from node phys-paris-1 Command execution successful phys-paris-1#
Verify the status of the Sun Cluster Geographic Edition resource groups and resources.
phys-paris-1# clresourcegroup 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-clustername 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 phys-paris-2 Offline Offline
For information about creating protection groups, see the Sun Cluster Geographic Edition Data Replication Guide that corresponds to the type of data replication software you are using.