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

4. If a new node is added, then setup SSH equivalence as described in the “Sample
Continentalclusters Configuration” (page 8).
If a node is removed, delete Continentalclusters user along with its HOME directory to remove
all SSH credentials.
5. Verify and apply the configuration using the cmcheckconcl and cmapplyconcl commands.
6. Restart the monitor packages.
7. View the status of Continentalclusters.
# cmviewconcl
Adding a Recovery Group to Continentalclusters
To add a new package to the Continentalclusters configuration, it is necessary to configure a new
primary package and recovery package. Then, you must add a new recovery group to the
Continentalclusters configuration file. In addition, it is necessary to ensure that the data replication
is provided for the new package, using either software based replication or array based replication.
Adding a new package does not require bringing down either cluster. However, to implement the
new configuration:
1. Configure data replication for the applications to be configured as packages.
2. Configure the new primary and recovery packages by creating and editing package
configuration files.
3. Use cmapplyconf command to add the primary package to one cluster, and the recovery
package to the other cluster.
4. Create a new recovery group in the Continentalclusters configuration ASCII file.
5. Halt the monitor packages on both clusters.
6. Use the cmapplyconcl command to apply the edited Continentalclusters configuration file.
7. Restart the monitor packages on both the clusters.
8. View the status of the Continentalclusters.
# cmviewconcl
Modifying a package in a recovery group
There might be situations where a package must be halted for modifications purposes without
having the package moved to another node. HP recommends following the procedure described
here for package maintenance and normal maintenance of Continentalclusters.
1. Shut down the package.
# cmhaltpkg <pkgname>
2. Do the required changes to the packages in the primary and recovery cluster.
3. Distribute the package configuration changes, if any.
In Primary cluster
# cmapplyconf - P <pkgconfig>
In Recovery cluster
# cmapplyconf -P <bkpkgconfig>
4. Run the package with the any one of the following Serviceguard commands.
In Primary cluster
# cmmodpkg -e <pkgname>
In Recovery cluster
Adding a Recovery Group to Continentalclusters 43