Managing HP Serviceguard for Linux, Tenth Edition, September 2012
B Integrating HA Applications with Serviceguard
The following is a summary of the steps you should follow to integrate an application
into the Serviceguard environment:
1. Read the rest of this book, including the chapters on cluster and package
configuration, and the appendix “Designing Highly Available Cluster Applications.”
2. Define the cluster’s behavior for normal operations:
• What should the cluster look like during normal operation?
• What is the standard configuration most people will use? (Is there any data
available about user requirements?)
• Can you separate out functions such as database or application server onto
separate machines, or does everything run on one machine?
3. Define the cluster’s behavior for failover operations:
• Does everything fail over together to the adoptive node?
• Can separate applications fail over to the same node?
• Is there already a high availability mechanism within the application other than
the features provided by Serviceguard?
4. Identify problem areas
• What does the application do today to handle a system reboot or panic?
• Does the application use any system-specific information such as uname() or
gethostname(), SPU_ID or MAC address which would prevent it from failing
over to another system?
Checklist for Integrating HA Applications
This section contains a checklist for integrating HA applications in both single and multiple
systems.
320 Integrating HA Applications with Serviceguard