Planning and Configuring HP DCE 1.7
Planning and Configuring HP DCE 1.7 5-39
Configuring HP DCE Cells
Integrating DCE Services with MC/ServiceGuard
10.Create the DCE daemon restart script using dce.restart as a sample
template. Set the environment variable SG_DCE_BASE_DIR to
/etc/cmcluster/pkg-name.
Distributing the Package
To distribute the package follow these steps:
1. Distribute the package configuration and control scripts across the
nodes. From the primary node, enter;
rcp -r /etc/cmcluster/pkg-name \
secondary_node:/etc/cmcluster/pkg-name
2. Verify that the configuration scripts are correct. From the primary
node, enter:
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.