Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Configuring Weights and Capacities.............................................................139
Simple Method...........................................................................................139
Example 1.............................................................................................139
Points to Keep in Mind............................................................................140
Comprehensive Method...............................................................................141
Defining Capacities................................................................................141
Defining Weights...................................................................................143
Rules and Guidelines...................................................................................145
For More Information...................................................................................146
How Package Weights Interact with Package Priorities and Dependencies..........146
Example 1.............................................................................................147
Example 2.............................................................................................147
About External Scripts......................................................................................147
Using Serviceguard Commands in an External Script.......................................150
Determining Why a Package Has Shut Down..................................................150
last_halt_failed Flag................................................................................151
About Cross-Subnet Failover..............................................................................151
Implications for Application Deployment.........................................................152
Configuring a Package to Fail Over across Subnets: Example...........................153
Configuring node_name..........................................................................153
Configuring monitored_subnet_access.......................................................153
Configuring ip_subnet_node....................................................................154
Configuring a Package: Next Steps....................................................................154
Planning for Changes in Cluster Size.......................................................................154
5 Building an HA Cluster Configuration.....................................................................................156
Preparing Your Systems ........................................................................................156
Installing and Updating Serviceguard ................................................................156
Understanding the Location of Serviceguard Files.................................................156
Enabling Serviceguard Command Access...........................................................157
Configuring Root-Level Access............................................................................158
Allowing Root Access to an Unconfigured Node.............................................158
Ensuring that the Root User on Another Node Is Recognized.............................159
About identd.........................................................................................159
Configuring Name Resolution............................................................................159
Safeguarding against Loss of Name Resolution Services...................................161
Ensuring Consistency of Kernel Configuration .....................................................162
Enabling the Network Time Protocol ..................................................................162
Implementing Channel Bonding (Red Hat)...........................................................162
Sample Configuration..................................................................................163
Restarting Networking.................................................................................164
Viewing the Configuration............................................................................164
Implementing Channel Bonding (SUSE)...............................................................165
Restarting Networking.................................................................................166
Setting up a Lock LUN......................................................................................166
Contents 7