Managing HP Serviceguard A.11.20.10 for Linux, December 2012

4.7.3.3.1 Rules and Restrictions for Mixed Mode...........................................................85
4.7.4 Cluster Configuration Parameters ................................................................................86
4.7.5 Cluster Configuration: Next Step ................................................................................99
4.8 Package Configuration Planning ......................................................................................100
4.8.1 Logical Volume and File System Planning ...................................................................100
4.8.2 Planning for NFS-mounted File Systems......................................................................101
4.8.3 Planning for Expansion............................................................................................102
4.8.4 Choosing Switching and Failover Behavior.................................................................103
4.8.5 Parameters for Configuring Generic Resources............................................................103
4.8.6 Configuring a Generic Resource...............................................................................104
4.8.6.1 Getting and Setting the Status/Value of a Simple/Extended Generic Resource.........106
4.8.6.1.1 Using Serviceguard Command to Get the Status/Value of a Simple/Extended
Generic Resource...................................................................................................106
4.8.6.1.2 Using Serviceguard Command to Set the Status/Value of a Simple/Extended
Generic Resource...................................................................................................106
4.8.6.2 Online Reconfiguration of Generic Resources......................................................107
4.8.6.3 Online Reconfiguration of serviceguard-xdc Modular Package Parameters...............107
4.8.7 About Package Dependencies..................................................................................107
4.8.7.1 Simple Dependencies.......................................................................................108
4.8.7.2 Rules for Simple Dependencies..........................................................................108
4.8.7.2.1 Dragging Rules for Simple Dependencies.....................................................109
4.8.7.3 Guidelines for Simple Dependencies..................................................................112
4.8.7.4 Extended Dependencies...................................................................................112
4.8.7.4.1 Rules for Exclusionary Dependencies...........................................................113
4.8.7.4.2 Rules for different_node and any_node Dependencies...................................114
4.8.8 What Happens When a Package Fails......................................................................114
4.8.9 For More Information...............................................................................................115
4.8.10 About Package Weights..........................................................................................115
4.8.10.1 Package Weights and Node Capacities............................................................115
4.8.10.2 Configuring Weights and Capacities................................................................115
4.8.10.3 Simple Method..............................................................................................116
4.8.10.3.1 Example 1.............................................................................................116
4.8.10.3.2 Points to Keep in Mind............................................................................117
4.8.10.4 Comprehensive Method..................................................................................117
4.8.10.4.1 Defining Capacities.................................................................................117
4.8.10.4.2 Defining Weights...................................................................................119
4.8.10.5 Rules and Guidelines......................................................................................121
4.8.10.6 For More Information......................................................................................121
4.8.10.7 How Package Weights Interact with Package Priorities and Dependencies..............121
4.8.10.7.1 Example 1..............................................................................................122
4.8.10.7.2 Example 2.............................................................................................122
4.8.11 About External Scripts.............................................................................................122
4.8.11.1 Using Serviceguard Commands in an External Script............................................124
4.8.11.2 Determining Why a Package Has Shut Down......................................................125
4.8.11.2.1 last_halt_failed Flag..................................................................................125
4.8.12 About Cross-Subnet Failover....................................................................................125
4.8.12.1 Implications for Application Deployment.............................................................126
4.8.12.2 Configuring a Package to Fail Over across Subnets: Example...............................126
4.8.12.2.1 Configuring node_name...........................................................................126
4.8.12.2.2 Configuring monitored_subnet_access.......................................................127
4.8.12.2.3 Configuring ip_subnet_node.....................................................................127
4.8.13 Configuring a Package: Next Steps..........................................................................127
4.9 Planning for Changes in Cluster Size.................................................................................127
6 Contents