Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Minimize Data Loss .........................................................................................308
Minimize the Use and Amount of Memory-Based Data ....................................309
Keep Logs Small ........................................................................................309
Eliminate Need for Local Data .....................................................................309
Use Restartable Transactions ............................................................................309
Use Checkpoints .............................................................................................310
Balance Checkpoint Frequency with Performance ...........................................310
Design for Multiple Servers ..............................................................................310
Design for Replicated Data Sites .......................................................................311
Designing Applications to Run on Multiple Systems ..................................................311
Avoid Node Specific Information ......................................................................311
Obtain Enough IP Addresses .......................................................................312
Allow Multiple Instances on Same System ......................................................312
Avoid Using SPU IDs or MAC Addresses ............................................................312
Assign Unique Names to Applications ...............................................................313
Use DNS ..................................................................................................313
Use uname(2) With Care .................................................................................314
Bind to a Fixed Port .........................................................................................314
Bind to Relocatable IP Addresses ......................................................................314
Call bind() before connect() .........................................................................315
Give Each Application its Own Volume Group ....................................................315
Use Multiple Destinations for SNA Applications ..................................................315
Avoid File Locking ...........................................................................................316
Restoring Client Connections .................................................................................316
Handling Application Failures ...............................................................................317
Create Applications to be Failure Tolerant ..........................................................317
Be Able to Monitor Applications .......................................................................318
Minimizing Planned Downtime ..............................................................................318
Reducing Time Needed for Application Upgrades and Patches .............................318
Provide for Rolling Upgrades .......................................................................318
Do Not Change the Data Layout Between Releases ........................................319
Providing Online Application Reconfiguration .....................................................319
Documenting Maintenance Operations ..............................................................319
B Integrating HA Applications with Serviceguard........................................................................320
Checklist for Integrating HA Applications ................................................................320
Defining Baseline Application Behavior on a Single System ..................................321
Integrating HA Applications in Multiple Systems ..................................................321
Testing the Cluster ...........................................................................................322
C Blank Planning Worksheets .................................................................................................323
Hardware Worksheet ...........................................................................................323
Power Supply Worksheet ......................................................................................324
Quorum Server Worksheet ....................................................................................324
Volume Group and Physical Volume Worksheet .......................................................325
14 Contents