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, 15 seconds to run fsck on the file systems, 30 seconds to start the application and 3 minutes to recover the database.

356 Integrating HA Applications with Serviceguard

Page 356
Image 356
HP Serviceguard manual Testing the Cluster, Move it back