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 -ecommand.

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 -ecommand.

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 38) 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.

.

Changing monitoring definitions

You can change the monitoring definitions in the configuration without bringing down either cluster. This includes adding, removing, or changing the cluster events, changing the timings, and adding, removing, or changing the notification messages.

To change the monitoring definitions:

1.Edit the Continentalclusters configuration file to incorporate the new or changed monitoring definitions.

2.Halt the monitor packages on both clusters.

3.Use the cmapplyconcl command to apply the new configuration.

4.Restart the monitor packages on both clusters.

5.View the status of the Continentalclusters.

# cmviewconcl

Behavior of Serviceguard commands in Continentalclusters

Continentalclusters packages are manipulated manually by the user via Serviceguard commands and by cmcld automatically in the same way as any other packages.

In Continentalclusters the recovery package is not allowed to run at the same time as the primary, data sender, or data receiver packages. To enforce this, several Serviceguard commands behave in a slightly different manner when used in Continentalclusters.

Table 1 describes the Serviceguard commands whose behavior is different in Continentalclusters environment. Specifically, when one of the commands listed in Table 1 attempts to start or enable switching of a package, it first verifies the status of the other packages in the recovery group.

Based on the status, the operation is either allowed or disallowed.

Removing a rehearsal package from a recovery group 61

Page 61
Image 61
HP Serviceguard Metrocluster manual Removing a rehearsal package from a recovery group, Changing monitoring definitions