Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

Complete the following procedure to configure the primary cluster with a single site defined in the
Serviceguard configuration file:
1. Run the cmquerycl command to create a cluster configuration file from any node.
2. Edit the created cluster configuration file to specify a site configuration.
Following is a sample of the site configuration:
SITE_NAME <site name>
NODE_NAME <node1>
SITE <site name>
... ...
NODE_NAME <node2>
SITE <site name>
...
NOTE: Only one site must be defined in the cluster configuration file and all nodes in the
cluster must belong to this site.
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 single site configuration.
If CFS or CVM must be configured in the environment, then the Cluster File System multi-node
package must be created using the cfscluster command. For more information on configuring
a Cluster File System multi-node package, see the Managing Serviceguard manual available at
http://www.hp.com/go/hpux-serviceguard-docs ->HP Serviceguard.
Configuring the Recovery Cluster with a Single Site
The recovery cluster must be created with a single site configured in the Serviceguard cluster
configuration file. The steps to create a recover cluster with single site is identical to the procedure
for creating a primary cluster with a single site. To configure a recovery cluster with a single site,
complete the procedure mentioned in section “Configuring the Primary Cluster with a Single Site.
Setting up the Complex Workload in the Primary Cluster
To set up the complex workload, first the storage device for the complex workload must be
configured at the primary cluster with the source disk of the replication disk group. Then, a complex
workload package stack must be created at this cluster.
Setting up the Complex workload in the primary cluster involves the following steps:
1. Configuring the Storage Device for the Complex Workload at the primary cluster
2. Configuring the Complex Workload Stack at the primary cluster
3. Halting the Complex Workload at the primary cluster
Configuring the Storage Device for the Complex Workload at the Primary Cluster
The shared storage device for storing data of a complex workload can be configured using CFS,
CVM or SLVM. When using CFS, appropriate Cluster File Systems must be created over the
replicated disks. When using SLVM or CVM, appropriate SLVM volume groups or CVM disk groups
must be created with the required raw volumes over the replicated disks. The procedures to create
the storage device differ when using CFS, CVM or SLVM. If you are configuring Oracle RAC as
a complex workload, you can also use ASM storage for storing RAC database. For configuring
Oracle RAC database with ASM in Continentalclusters, see the section “Configuring Oracle RAC
Database with ASM in a Site Aware Disaster Tolerant Architecture” (page 142).
Following are the topics discussed in this section:
“Configuring the Storage Device using CFS or SG SMS CVM in a Modular Style Package
(page 129)
Configuring the Storage Device using CFS in a Legacy Style Package
128 Designing Continentalclusters