Planning and Configuring HP-UX DCE 2.0
Configuring HP-UX DCE Cells
Integrating DCE Services with HP Serviceguard
Chapter 676
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