Managing Serviceguard Nineteenth Edition, Reprinted June 2011
Starting a Package that Has Dependencies.....................................................................271
Using Serviceguard Commands to Start a Package..........................................................272
Starting the Special-Purpose CVM and CFS Packages..................................................272
Halting a Package ..........................................................................................................272
Halting a Package that Has Dependencies.....................................................................272
Using Serviceguard Commands to Halt a Package .........................................................272
Moving a Failover Package ..............................................................................................273
Using Serviceguard Commands to Move a Running Failover Package................................273
Changing Package Switching Behavior ..............................................................................273
Changing Package Switching with Serviceguard Commands.............................................273
Maintaining a Package: Maintenance Mode.......................................................................273
Characteristics of a Package Running in Maintenance Mode or Partial-Startup Maintenance
Mode .......................................................................................................................274
Rules for a Package in Maintenance Mode or Partial-Startup Maintenance Mode ...........275
Dependency Rules for a Package in Maintenance Mode or Partial-Startup Maintenance
Mode ..................................................................................................................276
Performing Maintenance Using Maintenance Mode.........................................................276
Procedure..............................................................................................................276
Performing Maintenance Using Partial-Startup Maintenance Mode.....................................276
Procedure..............................................................................................................276
Excluding Modules in Partial-Startup Maintenance Mode.............................................277
Reconfiguring a Cluster.........................................................................................................278
Previewing the Effect of Cluster Changes.............................................................................279
What You Can Preview................................................................................................279
Using Preview mode for Commands and in Serviceguard Manager...................................280
Using cmeval..............................................................................................................280
Updating the Cluster Lock Configuration.............................................................................281
Updating the Cluster Lock Disk Configuration Online.......................................................281
Updating the Cluster Lock LUN Configuration Online.......................................................282
Reconfiguring a Halted Cluster .........................................................................................282
Reconfiguring a Running Cluster........................................................................................282
Adding Nodes to the Cluster While the Cluster is Running ...............................................283
Removing Nodes from the Cluster while the Cluster Is Running ..........................................283
Changing the Cluster Networking Configuration while the Cluster Is Running......................284
What You Can Do..................................................................................................284
What You Must Keep in Mind..................................................................................284
Example: Adding a Heartbeat LAN..........................................................................285
Example: Deleting a Subnet Used by a Package.........................................................287
Removing a LAN or VLAN Interface from a Node.......................................................287
Changing the LVM Configuration while the Cluster is Running ..........................................288
Changing the VxVM or CVM Storage Configuration .......................................................288
Changing MAX_CONFIGURED_PACKAGES..................................................................288
Configuring a Legacy Package...............................................................................................289
Creating the Legacy Package Configuration .......................................................................289
Configuring a Package in Stages...................................................................................289
Editing the Package Configuration File...........................................................................290
Creating the Package Control Script...................................................................................291
Customizing the Package Control Script .........................................................................292
Adding Customer Defined Functions to the Package Control Script ....................................293
Adding Serviceguard Commands in Customer Defined Functions .................................294
Support for Additional Products.....................................................................................294
Verifying the Package Configuration...................................................................................294
Distributing the Configuration............................................................................................294
Distributing the Configuration And Control Script with Serviceguard Manager.....................295
Copying Package Control Scripts with HP-UX commands..................................................295
12 Contents