Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

Cannot view the cluster configuration: Permission denied. This user doesn't have access to
view the cluster configuration.
To resolve this error, edit the cluster configuration file and add the following information:
USER_NAME conclusr
USER_HOST ANY_SERVICEGUARD_NODE
USER_ROLE MONITOR
Apply the cluster configuration file. Now, you should be able to view the cluster configuration
using the cmviewcl command.
Creating the Monitor Package
The Continentalclusters monitoring software is configured as a Serviceguard package so that it
remains highly available. If more than one primary cluster is configured to share the same common
recovery cluster, such as a multiple recovery pair scenario, the monitor package running on
the common recovery cluster performs the following:
monitors all of the primary clusters
sends notifications for all of the monitored clusters events
The following steps should be carried out on the recovery cluster and can be repeated on the
primary cluster if you want the primary cluster to monitor the recovery cluster:
Starting with Continentalclusters A.08.00, the monitor package can be configured as a modular
package. In addition, the existing monitor package configured as a legacy package can be
migrated to a modular style package. For information on configuring the monitor package as a
modular package or for migrating an existing monitor package from the legacy package style to
the modular style, see “Configuring the Monitoring Daemon as a Modular Package” (page 65).
NOTE: HP recommends configuring the Monitoring daemon as a Modular package
To configure monitoring daemon in legacy style, complete the following steps:
1. On the node where the configuration is located, create a directory for the monitor package.
# mkdir /etc/cmcluster/ccmonpkg
2. Copy the template files from the /opt/cmconcl/scripts directory to the /etc/
cmcluster/ccmonpkg directory.
# cp /opt/cmconcl/scripts/ccmonpkg.* /etc/cmcluster/ccmonpkg
ccmonpkg.config is the ASCII package configuration file template for the
Continentalclusters monitoring application.
ccmonpkg.cntl is the control script file for the Continentalclusters monitoring application.
NOTE: It is not recommended editing the ccmonpkg.cntlfile. However, if preferred,
change the default SERVICE_RESTART value -r 3 to a value that fits your environment.
3. Edit the package configuration file (suggested name of /etc/cmcluster/ccmonpkg/
ccmonpkg.config) to match the cluster configuration:
a. Add the names of all nodes in the cluster on which the monitor may run.
b. AUTO_RUN should be set to YES so that the monitor package can fail over between local
nodes.
NOTE: For all primary and recovery packages, AUTO_RUN is always set to NO.
4. Continentalclusters provides an optional feature for recovery groups to be in the maintenance
mode. To enable this feature, configure the monitor package with a file system in a shared
62 Designing Continentalclusters