Managing HP Serviceguard A.11.20.00 for Linux, June 2012

Using Serviceguard Command to Set the Status/Value of a Simple/Extended Generic
Resource.................................................................................................................99
Online Reconfiguration of Generic Resources..................................................................100
About Package Dependencies...........................................................................................100
Simple Dependencies..................................................................................................100
Rules for Simple Dependencies......................................................................................100
Dragging Rules for Simple Dependencies...................................................................102
Guidelines for Simple Dependencies..............................................................................104
Extended Dependencies...............................................................................................105
Rules for Exclusionary Dependencies.........................................................................105
Rules for different_node and any_node Dependencies.................................................106
What Happens When a Package Fails...............................................................................106
For More Information........................................................................................................107
About Package Weights....................................................................................................107
Package Weights and Node Capacities.........................................................................107
Configuring Weights and Capacities.............................................................................108
Simple Method...........................................................................................................108
Example 1.............................................................................................................108
Points to Keep in Mind............................................................................................109
Comprehensive Method...............................................................................................109
Defining Capacities................................................................................................109
Defining Weights...................................................................................................111
Rules and Guidelines...................................................................................................113
For More Information...................................................................................................113
How Package Weights Interact with Package Priorities and Dependencies...........................113
Example 1.............................................................................................................114
Example 2.............................................................................................................114
About External Scripts......................................................................................................114
Using Serviceguard Commands in an External Script.......................................................116
Determining Why a Package Has Shut Down..................................................................117
last_halt_failed Flag................................................................................................117
About Cross-Subnet Failover..............................................................................................117
Implications for Application Deployment.........................................................................118
Configuring a Package to Fail Over across Subnets: Example............................................118
Configuring node_name..........................................................................................118
Configuring monitored_subnet_access.......................................................................119
Configuring ip_subnet_node....................................................................................119
Configuring a Package: Next Steps....................................................................................119
Planning for Changes in Cluster Size.......................................................................................119
5 Building an HA Cluster Configuration........................................................121
Preparing Your Systems ........................................................................................................121
Installing and Updating Serviceguard ................................................................................121
Understanding the Location of Serviceguard Files.................................................................121
Enabling Serviceguard Command Access...........................................................................122
Configuring Root-Level Access............................................................................................122
Allowing Root Access to an Unconfigured Node.............................................................122
Ensuring that the Root User on Another Node Is Recognized.............................................123
About identd..........................................................................................................123
Configuring Name Resolution............................................................................................123
Safeguarding against Loss of Name Resolution Services...................................................125
Ensuring Consistency of Kernel Configuration .....................................................................126
Enabling the Network Time Protocol ..................................................................................126
Implementing Channel Bonding (Red Hat)...........................................................................126
Sample Configuration..................................................................................................126
6 Contents