Planning and Configuring HP-UX DCE 2.0
Configuring HP-UX DCE Cells
Integrating DCE Services with HP Serviceguard
Chapter 6 73
DCE Configuration for Integration with
ServiceGuard
Following are the steps to integrate DCE Configuration with
ServiceGuard:
1. Configure the ServiceGuard cluster
2. Configure DCE
3. Configure the package
4. Distribute the package
5. Start the ServiceGuard cluster
6. Start the package on the ServiceGuard cluster
The following subsections describe these steps in more detail.
Configuring the ServiceGuard Cluster
Before configuring DCE for integration with ServiceGuard, you must
install ServiceGuard. Then, install the DCE software on the primary and
secondary nodes separately.
1. To configure the primary and secondary nodes in a ServiceGuard
cluster, enter the following command:
cmquerycl -v -C /etc/cmcluster/cmclconfig.ascii \
-n primary_node -n secondary_node1 \
-n secondary_node2
This command creates the template script
/etc/cmcluster/cmclconf.ascii. Modify the script parameters to
reflect your desired configuration, after which, the script seldom
needs modification.
2. To determine if ServiceGuard daemons are running so that the DCE
initial configuration program (dce_config) detects the presence of
ServiceGuard enter the following command:
cmruncl -v -n primary_node -n secondary_node
3. Identify the hostname and IP address to be dedicated to the
packages. To manually add the IP address to the cluster's primary
node, enter the following command
cmmodnet -a -i package_IP SUBNET