HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011
Use Restartable Transactions .............................................................................................344
Use Checkpoints .............................................................................................................344
Balance Checkpoint Frequency with Performance ...........................................................344
Design for Multiple Servers ..............................................................................................344
Design for Replicated Data Sites .......................................................................................345
Designing Applications to Run on Multiple Systems ..................................................................345
Avoid Node-Specific Information .......................................................................................345
Obtain Enough IP Addresses .......................................................................................346
Allow Multiple Instances on Same System ......................................................................346
Avoid Using SPU IDs or MAC Addresses ............................................................................346
Assign Unique Names to Applications ...............................................................................346
Use DNS ..................................................................................................................346
Use uname(2) With Care .................................................................................................347
Bind to a Fixed Port .........................................................................................................347
Bind to Relocatable IP Addresses ......................................................................................347
Call bind() before connect() .........................................................................................348
Give Each Application its Own Volume Group ....................................................................348
Use Multiple Destinations for SNA Applications ..................................................................348
Avoid File Locking ...........................................................................................................348
Using a Relocatable Address as the Source Address for an Application that is Bound to
INADDR_ANY.....................................................................................................................349
Restoring Client Connections .................................................................................................350
Handling Application Failures ...............................................................................................351
Create Applications to be Failure Tolerant ..........................................................................351
Be Able to Monitor Applications .......................................................................................351
Minimizing Planned Downtime ..............................................................................................352
Reducing Time Needed for Application Upgrades and Patches .............................................352
Provide for Rolling Upgrades .......................................................................................352
Do Not Change the Data Layout Between Releases .........................................................352
Providing Online Application Reconfiguration .....................................................................353
Documenting Maintenance Operations ..............................................................................353
C Integrating HA Applications with Serviceguard..........................................354
Checklist for Integrating HA Applications ................................................................................354
Defining Baseline Application Behavior on a Single System ..................................................354
Integrating HA Applications in Multiple Systems ..................................................................355
Testing the Cluster ...........................................................................................................356
D Software Upgrades ...............................................................................357
Special Considerations for Upgrade to Serviceguard A.11.20.....................................................357
Special Considerations for Upgrade to Serviceguard A.11.19.......................................................357
How To Tell when the Cluster Re-formation Is Complete.........................................................358
Types of Upgrade.................................................................................................................358
Rolling Upgrade..............................................................................................................358
Rolling Upgrade Using DRD..............................................................................................358
Restrictions for DRD Upgrades...........................................................................................359
Non-Rolling Upgrade.......................................................................................................359
Non-Rolling Upgrade Using DRD.......................................................................................359
Migration with Cold Install................................................................................................359
Guidelines for Rolling Upgrade..............................................................................................359
Performing a Rolling Upgrade................................................................................................360
Limitations of Rolling Upgrades .........................................................................................360
Before You Start...............................................................................................................361
Running the Rolling Upgrade.............................................................................................361
Keeping Kernels Consistent................................................................................................361
Migrating cmclnodelist entries from A.11.15 or earlier............................................................361
Contents 15