Managing Serviceguard A.11.20, March 2013

Planning for Expansion.....................................................................................................137
Choosing Switching and Failover Behavior..........................................................................137
Parameters for Configuring Generic Resources.....................................................................138
Configuring a Generic Resource........................................................................................139
Getting and Setting the Status/Value of a Simple/Extended Generic Resource....................141
Using Serviceguard Command to Get the Status/Value of a Simple/Extended Generic
Resource...............................................................................................................141
Using Serviceguard Command to Set the Status/Value of a Simple/Extended Generic
Resource...............................................................................................................141
Online Reconfiguration of Generic Resources..................................................................141
Parameters for Configuring EMS Resources..........................................................................142
About Package Dependencies...........................................................................................142
Simple Dependencies..................................................................................................143
Rules for Simple Dependencies.................................................................................143
Guidelines for Simple Dependencies.........................................................................147
Extended Dependencies...............................................................................................147
Rules for Exclusionary Dependencies.........................................................................148
Rules for different_node and any_node Dependencies.................................................148
What Happens when a Package Fails............................................................................149
For More Information...................................................................................................150
About Package Weights....................................................................................................150
Package Weights and Node Capacities.........................................................................150
Configuring Weights and Capacities.............................................................................150
Simple Method...........................................................................................................150
Example 1.............................................................................................................151
Points to Keep in Mind............................................................................................152
Comprehensive Method...............................................................................................152
Defining Capacities................................................................................................152
Defining Weights...................................................................................................153
Rules and Guidelines...................................................................................................155
For More Information...................................................................................................156
How Package Weights Interact with Package Priorities and Dependencies...........................156
Example 1.............................................................................................................156
Example 2.............................................................................................................157
About External Scripts......................................................................................................157
Using Serviceguard Commands in an External Script.......................................................159
Determining Why a Package Has Shut Down..................................................................159
last_halt_failed.......................................................................................................160
About Cross-Subnet Failover..............................................................................................160
Implications for Application Deployment.........................................................................161
Configuring a Package to Fail Over across Subnets: Example............................................161
Configuring node_name..........................................................................................161
Configuring monitored_subnet_access.......................................................................162
Configuring ip_subnet_node....................................................................................162
Configuring a Package: Next Steps....................................................................................162
Planning for Changes in Cluster Size.......................................................................................162
5 Building an HA Cluster Configuration........................................................163
Preparing Your Systems ........................................................................................................163
Installing and Updating Serviceguard ................................................................................163
Where Serviceguard Files Are Kept....................................................................................163
Creating Cluster-wide Device Special Files (cDSFs)................................................................164
Before You Start..........................................................................................................164
Creating cDSFs for a Group of Nodes...........................................................................164
Adding a Node to a cDSF Group.................................................................................165
Contents 7