Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Integrating HA Applications with Serviceguard
Checklist for Integrating HA Applications
Appendix D 389
• Create the LVM infrastructure on the second system.
• Add the appropriate users to the system.
• Install the appropriate executables.
• With the application not running on the first system, try to bring
it up on the second system. You might use the script you created
in the step above. Is there anything different that you must do?
Does it run?
• Repeat this process until you can get the application to run on
the second system.
2. Configure the Serviceguard cluster:
• Create the cluster configuration.
• Create a package.
• Create the package script.
• 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.
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.