Planning and Configuring HP DCE 1.8

114 Chapter5
Configuring HP DCE Cells
Integrating DCE Services with MC/ServiceGuard
cmckeckconf -C /etc/cmcluster/cmclconfig.ascii \
-P /etc/cmcluster/pkg-name/pkg-name.conf
NOTE This command fails if the ServiceGuard daemons are running.
3. Apply the configuration on the cluster. From the primary node, enter:
cmapplyconf -v -f -C /etc/cmcluster/cmclconfig.ascii \
-P /etc/cmcluster/
pkg-name/pkg-name
.conf
NOTE This command fails if the ServiceGuard daemons are running.
Starting the ServiceGuard Cluster
The ServiceGuard cluster can be started automatically after a system
boot. To do this, modify /etc/r.config.d/cmcluster and set the
environment variable AUTOSTART_CMCLD to 1.
1. To manually start the ServiceGuard cluster services, enter:
cmruncl -v -n
primary_node
-n
secondary_node
2. To view the cluster status, enter:
cmviewcl -v
Starting the Package on the ServiceGuard Cluster
Configured packages are started automatically on their primary nodes
when the ServiceGuard cluster is started. Packages on the ServiceGuard
cluster can be halted manually. To restart a package, use SAM or follow
these steps.
1. To restart the package on a specified host, enter:
cmrunpkg -n
host pkg-name
2. To reenable packet switching after halting the package, enter:
cmmodpkg -n
host pkg-name
See Managing MC/ServiceGuard for procedures on using SAM to
administer MC/ServiceGuard clusters and packages.