Managing Serviceguard Eighteenth Edition, September 2010
a. Create the cluster configuration.
b. Create a package.
c. Create the package script.
d. Use the simple scripts you created in earlier steps as the customer defined
functions in the package control script.
3. Start the cluster and verify that applications run as planned.
4. If you will be building an application that depends on a Veritas Cluster File System
(CFS) and Cluster Volume Manager (CVM), then consider the following:
a. Build storage on all nodes of the cluster.
b. Create the disk group and mount point packages.
c. Make sure that your file systems are mounting and unmounting on the nodes
as they are designed to do on your application layout.
d. Once the SG-CFS-DG-ID# and SG-CFS-MP-ID# packages are running as
desired, create your application packages, placing a dependency on the
SG-CFS-MP-ID# package if desired.
NOTE: Check the Serviceguard/SGeRAC/SMS/Serviceguard Manager Plug-in
Compatibility and Feature Matrix and the latest Release Notes for your version of
Serviceguard for up-to-date information about support for CVM and CFS: http://
www.hp.com/go/hpux-serviceguard-docs.
Testing the Cluster
1. Test the cluster:
• Have clients connect.
• Provide a normal system load.
• Halt the package on the first node and move it to the second node:
cmhaltpkg pkg1
cmrunpkg -n node2 pkg1
cmmodpkg -e pkg1
• Move it back.
cmhaltpkg pkg1
cmrunpkg -n node1 pkg1
cmmodpkg -e pkg1
• Fail one of the systems. For example, turn off the power on node 1. Make sure
the package starts up on node 2.
• Repeat failover from node2 back to node1.
2. Be sure to test all combinations of application load during the testing. Repeat the
failover processes under different application states such as heavy user load versus
no user load, batch jobs vs online transactions, etc.
3. Record timelines of the amount of time spent during the failover for each
application state. A sample timeline might be 45 seconds to reconfigure the cluster,
Checklist for Integrating HA Applications 445