1.Halt any monitor packages that are running both clusters.
#cmhaltpkg ccmonpkg
2.Add or remove the node in a cluster by editing the Serviceguard cluster configuration file and applying the configuration.
#cmapplyconf
3.Edit the Continentalclusters configuration ASCII file to add or remove the node in the cluster.
4.For added nodes, ensure that the /etc/cmcluster/cmclnodelist and /etc/opt/ cmom/cmomhosts files are set up correctly on the new node. Refer to “Setting up Security” (page 59). Ensure that the cmclnodelist and cmomhosts files on all nodes (including the new node) contains an entry allowing write access by the host on which you are running the configuration commands.
5.Check and apply the configuration using the cmcheckconcl and cmapplyconcl commands.
6.Restart the monitor packages on both clusters.
7.View the status of the Continentalclusters.
#cmviewconcl
Adding a Package to the Continentalclusters
To add a new package for possible recovery to the Continentalclusters configuration, it is necessary to first 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, either through hardware or software.
Adding a new package does not require bringing down either cluster. However, in order to implement the new configuration, the following are required:
1.Configure the new primary and recovery packages by editing the new package configuration files and control scripts.
2.Use the Serviceguard cmapplyconf command to add the primary package to one cluster, and the recovery package to the other cluster.
3.Provide the appropriate data replication for the new package.
4.Create the new recovery group in the Continentalclusters configuration file.
5.Ensure that the cmclnodelist and cmomhosts files on all nodes contains an entry allowing write access by the host on which you are running the configuration commands.
6.Halt the monitor packages on both clusters.
7.Use the cmapplyconcl command to apply the new Continentalclusters configuration.
8.Restart the monitor packages on both clusters.
9.View the status of the Continentalclusters.
# cmviewconcl
Removing a Rehearsal Package from a Recovery Group
To remove a rehearsal package from a recovery group, you must move the recovery group out of the maintenance mode and then delete the rehearsal package from the recovery cluster. Also, you need to update the Continentalclusters configuration file by removing the REHEARSAL_PACKAGE parameter in the recovery group definition. Distribute the Continentalclusters configuration by reapplying the configuration file.
Modifying a Recovery Group with a new Rehearsal Package
To change the rehearsal package configured for a recovery group, you need to first move the recovery group out of the maintenance mode. Then the old rehearsal package must be deleted from the recovery cluster and the new rehearsal package must be configured in the recovery cluster.
Maintaining Continentalclusters 107