Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

3 Configuring complex workloads using SADTA
Creating a Site Aware Metrocluster configuration
Creating a Serviceguard cluster with sites configured
To create a Serviceguard cluster with the sites configured:
1. Run the cmquerycl command to create a cluster configuration from any node.
2. Edit the created cluster configuration file to specify the site configuration.
The following is a sample of the configuration file:
SITE_NAME <site1>
SITE_NAME <site2>
NODE_NAME <site1_node1>
SITE <site1>
... . . .
NODE_NAME <site1_node2>
SITE <site1>
. . .
NODE_NAME <site2_node1>
SITE <site2> . . .
NODE_NAME <site2_node2>
SITE <site2>
. . .
3. Run the cmapplyconf command to apply the configuration file.
4. Run the cmruncl command to start the cluster.
After the cluster is started, you can run the cmviewcl command to view the site configuration.
Configuring the CFS multi-node package
If CFS/CVM is configured in the environment, the Cluster File System multi-node package must be
created.
To configure the Cluster File System multi-node package when using HP Serviceguard Storage
Management Suite:
1. Run the cfscluster command to create an SG-CFS SMNP package.
After creating the package, ensure that there are two CFS sub-clusters in the Metrocluster.
2. Run the cfscluster status command on any node at both sites to view the list of nodes
and the status of each node.
Easy Deployment of Site-Aware cluster and CFS cluster using cmdeploycl
You can use the Cluster Easy Deployment feature while creating the cluster for the first time.
To create a Metrocluster with two sites, run cmdeploycl. The cmdeploycl command and options
are described as follows:
cmdeploycl [-t] [-s site ]... [-n node]... [-N net_template ] [-c
clustername] [-q qs_host [qs_ip] | -L locklun] [-cfs]
For Example,
# cmdeploycl -s siteA -n node1 -n node2 -s siteB -n node3 -n node4 -c
site_cluster -q quorum.server.com
To create a Metrocluster with two sites and have the SG-CFS-pkg System Multi-node package
(SMNP) configured using a single command, run cmdeploycl as shown:
For Example,
Creating a Site Aware Metrocluster configuration 29