Review the requirements for global clustering:
Cluster names on the primary and secondary sites must be unique.
Node and resource names must be unique within a cluster but not across clusters.
Each cluster requires a virtual IP address associated with the cluster. The VCS installation and creation of the ClusterService
group typically involves defining this IP address. If you did not configure the ClusterService
group when you installed Storage Foundation, configure it when you configure global clustering.
One WAN (Wide Area Network) heartbeat must travel between clusters, assuming each cluster has the means to monitor the health of the remote cluster. Configure the heartbeat resource manually.
All oracle s must be the same on all nodes.
The Oracle database, which VVR replicates from the storage on the primary site to the secondary site, must be defined in a global group having the same name on each cluster. Each resource in the group may differ from cluster to cluster, but clients redirected to a remote cluster after a wide-area failover must see the same application as the one in the primary cluster.
You can modify the global clustering configuration using the following methods:
The global clustering wizard results is generally more accurate for basic configurations. The manual modification method provides greater opportunity for customazation but also greater opportunity for errors.
See the Veritas Cluster Server User's Guide for complete details on global clustering.
The global clustering wizard completes the following tasks:
ClusterService
group, or updates an existing ClusterService
group.
Run the global clustering configuration wizard on each of the clusters; you must have the global clustering license in place on each node in the cluster.
To use the global clustering wizard
With NIC and IP address values configured, the wizard creates a ClusterService
group or updates an existing one. After modifying the VCS configuration file, the wizard brings the group online.
After you run the global clustering configuration wizard, the modifications to the main.cf
file typically involve specifying the virtual IP address for the local cluster and defining the ClusterService
group for the local cluster.
The example global clustering configuration shows the rac_cluster101
cluster on the primary site. The additions to the configuration appear in bold text. Use the example as guidelines to add a cluster service group to main.cf.
UserNames = { admin = "cDRpdxPmHpzS." }
ClusterAddress = "10.10.10.101"
SystemList = { galaxy = 0, nebula = 0 }
AutoStartList = { galaxy, nebula }
StartProgram = "/opt/VRTSvcs/bin/wacstart"
StopProgram = "/opt/VRTSvcs/bin/wacstop"
MonitorProcesses = "/opt/VRTSvcs/bin/wac" }
After using the global clustering wizard, the main.cf
for the secondary site has a similar configuration to the one above.
After configuring global clustering, add the remotecluster
cluster object to define the IP address of the cluster on the secondary site, and the heartbeat
object to define the cluster-to-cluster heartbeat.
Heartbeats monitor the health of remote clusters. VCS can communicate with the remote cluster only after you set up the heartbeat
resource on both clusters.
To define the remote cluster and heartbeat
remotecluster
and its virtual IP address. In this example, the remote cluster is rac_cluster102
and its IP address is 10.11.10.102
:
rac_cluster101
and 10.10.10.101
).
heartbeat
object for the cluster. In this example, the heartbeat method is ICMP
ping.
heartbeat
resource:
Example additions to the main.cf
file on the primary site:
remotecluster rac_cluster102 (
Cluster Address = "10.11.10.102"
ClusterList = { rac_cluster102 }
Arguments @rac_cluster102 = { "10.11.10.102" }
Example additions to the main.cf
file on the secondary site:
remotecluster rac_cluster101 (
Cluster Address = "10.190.88.188"
ClusterList = { rac_cluster101 }
See the Veritas Cluster Server User's Guide for details for configuring the required and optional attributes of the heartbeat
object.