Building Disaster Recovery Serviceguard Solutions Using Continentalclusters for Linux B.01.00.00

2 Building the Continentalclusters configuration
To build a Continentalclusters configuration:
The firewall rules must be configured as mentioned in Configuring firewall rules for HP Serviceguard
on SLES and Red Hat whitepaper available at http://www.hp.com/go/linux-serviceguard-docs.
In addition to the ports mentioned in the whitepaper, SSH port must be open in all the nodes of
Continentalclusters.
1. Create a Serviceguard cluster at both the data center sites.
2. Establish the security credentials for Continentalclusters operation.
3. Create data replication between the two clusters.
4. If required, then create the volume groups on the replicated disks.
5. Install and configure an application in the primary site using the replicated disks.
6. Install and configure a redundant copy of the application in the recovery site using the same
replicated disks.
7. Package the primary and the recovery copy of the applications using Serviceguard and
Continentalclusters package modules.
8. Configure a monitor package in the recovery cluster.
9. Specify the clusters, the cluster events with its notification, and the recovery groups in the
Continentalclusters configuration ASCII file.
10. Validate and deploy the Continentalclusters configuration.
Creating the Serviceguard clusters at both the sites
You can create the primary and recovery clusters using regular Serviceguard deployment method.
First, run the cmquerycl command to get the cluster configuration template, modify the parameter
values as required, and then validate the cluster configuration using the cmcheckconf command.
After the cluster configuration validation is complete, the cluster configuration using the
cmapplyconf command.
# cmquerycl -v -C /$SGCONF/cluster.config -n node1 -n node2 -w full
# cmapplyconf -v -C /$SGCONF/cluster.config
For more information, see Managing Serviceguard for Linux A.11.20.10, available at http://
www.hp.com/go/linux-serviceguard-docs.
Setting up security
From Continentalclusters, all nodes in all the clusters must be able to communicate with one another
using SSH.
When Continentalclusters for Linux is installed, a special Continentalclusters user group, conclgrp,
and a special user, conclusr are created using groupadd and useradd commands.
NOTE: The conclusr is used by Continentalclusters software for inter node communication. All
Continentalclusters commands and operations must be performed as root user only. When a node
is no longer part of Continentalclusters configuration, the user must be deleted from the removed
node.
To set up the SSH environment for Continentalclusters on all the nodes of all the clusters:
1. Set a password for the Continentalclusters user. By default, the Continentalclusters user is
conclusr.
8 Building the Continentalclusters configuration