Managing HP Serviceguard for Linux, Tenth Edition, September 2012

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 node 2 back to node 1.
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, 15 seconds
to run fsck on the filesystems, 30 seconds to start the application and 3 minutes
to recover the database.
322 Integrating HA Applications with Serviceguard