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

# cmrunpkg <pkgname>
CAUTION: Never enable package switching on both the primary package and the recovery
package.
Modifying Continentalclusters configuration
1. Halt the monitor package.
# cmhaltpkg ccmonpkg
2. Apply the new Continentalclusters configuration.
# cmapplyconcl -C <configfile>
3. Restart the monitor package.
# cmrunpkg ccmonpkg
Removing a recovery group from the Continentalclusters
To remove a package from the Continentalclusters configuration, you must remove the recovery
group from the Continentalclusters configuration file.
To remove the package it is not necessary to bring down either cluster. However, to implement the
new configuration:
1. Remove the recovery group from the Continentalclusters configuration file.
2. Halt the monitor packages that are running on the clusters.
3. Use the cmapplyconcl command to apply the new Continentalclusters configuration.
4. Restart the monitor packages on both clusters.
5. Use the Serviceguard cmdeleteconf command to remove every package in the recovery
group.
6. View the status of the Continentalclusters.
# cmviewconcl
Removing a rehearsal package from a recovery group
To remove a rehearsal package from a recovery group:
1. Move the recovery group out of maintenance mode using the cmrecovercl -e command.
2. Delete the rehearsal package from the recovery cluster using the cmdeleteconf command.
3. Edit the Continentalclusters configuration ASCII file to remove the REHEARSAL_PACKAGE
parameter.
4. Apply the edited configuration ASCII file using the cmapplyconcl command.
Modifying a recovery group with a new rehearsal package
To change the rehearsal package configured for a recovery group:
1. Move the recovery group out of maintenance mode using the cmrecovercl -e command.
2. Delete the rehearsal package from the recovery cluster using the cmdeleteconf command.
3. Create the new rehearsal package by following the steps in “Configuring Continentalclusters
rehearsal packages” (page 33) section.
4. Edit the Continentalclusters configuration ASCII file to replace the REHEARSAL_PACKAGE
parameter with the new rehearsal package name.
5. Apply the edited configuration ASCII file using the cmapplyconcl command.
.
44 Administering Continentalclusters