Building Disaster Recovery Serviceguard Solutions Using Continentalclusters for Linux B.01.00.00
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 4 describes the Serviceguard commands whose behavior is different in Continentalclusters
environment. Specifically, when one of the commands listed in Table 4 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.
The verification is done based on the stable clusters' environment and the proper functioning of
the network communication. In case the network communication between clusters can not be
established or the cluster or package status cannot be determined, manual verification must be
done to ensure that the operation to be performed on the target package will not have a conflict
with other packages configured in the same recovery group.
Table 4 Serviceguard and Continentalclusters Commands
How the command works in ContinentalclustersHow the command
works in Serviceguard
Command
Will not start a recovery package if any of the primary, data receiver,
or data sender package in the same recovery group is running or
Runs a package.cmrunpkg
enabled. Will not start recovery package if the recovery group is in
maintenance mode. Will not start a primary, data receiver, or data
sender package if the recovery package in the same recovery group is
running or enabled. Will not start a rehearsal package when the
recovery group is not in maintenance mode.
Will not enable switching on a recovery package if any of the primary,
data receiver, or data sender package in the same recovery group is
Enables switching
attribute for a highly
available package.
cmmodpkg -e
running or enabled. Will not enable switching for a recovery package
if the recovery group is in maintenance mode. Will not enable a primary,
data receiver, or data sender package if the recovery package in the
same recovery group is running or enabled. Will not enable switching
for a rehearsal package when the recovery group is not in maintenance
mode.
Will not re-enable switching on a recovery package if any of the primary,
data receiver, or data sender package in the same recovery group is
Halts a node in a
highly available
cluster.
cmhaltnode -f
running or enabled. Will not re-enable a primary, data receiver, or data
Changing monitoring definitions 45