Managing Serviceguard 12th Edition, March 2006
Contents
8
Configuring Multi-node Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Configuring Failover Packages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Creating the Package Control Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Using Serviceguard Manager to Create the Package Control Script . . . . . . . . . . . 288
Using Commands to Create the Package Control Script . . . . . . . . . . . . . . . . . . . . . 288
Creating Failover Packages For Database Products. . . . . . . . . . . . . . . . . . . . . . . . . 289
Customizing the Package Control Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Optimizing for Large Numbers of Storage Units . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Package Control Script Template File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Adding Customer Defined Functions to the Package Control Script . . . . . . . . . . . 302
Support for Additional Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Verifying the Package Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Distributing the Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Distributing the Configuration And Control Script with Serviceguard Manager . 305
Copying Package Control Scripts with HP-UX commands . . . . . . . . . . . . . . . . . . . 305
Distributing the Binary Cluster Configuration File with HP-UX Commands . . . . 305
Using Distributed Systems Administration Utilities . . . . . . . . . . . . . . . . . . . . . . . . 306
Testing Cluster and Package Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
7. Cluster and Package Maintenance
Reviewing Cluster and Package Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Reviewing Cluster and Package Status with Serviceguard Manager . . . . . . . . . . . 310
Reviewing Cluster and Package States with the cmviewcl Command . . . . . . . . . . 312
Managing the Cluster and Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Starting the Cluster When all Nodes are Down . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Adding Previously Configured Nodes to a Running Cluster . . . . . . . . . . . . . . . . . . 332
Removing Nodes from Operation in a Running Cluster. . . . . . . . . . . . . . . . . . . . . . 332
Halting the Entire Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Automatically Restarting the Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Managing Packages and Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Starting a Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Halting a Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Moving a Failover Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Changing the Switching Behavior of Failover Packages . . . . . . . . . . . . . . . . . . . . . 339
Reconfiguring a Cluster. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Reconfiguring a Halted Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342