Managing HP Serviceguard A.11.20.20 for Linux, March 2014

7.6.4.4 Example: Deleting a Subnet Used by a Package..................................................232
7.6.5 Updating the Cluster Lock LUN Configuration Online....................................................233
7.6.6 Changing MAX_CONFIGURED_PACKAGES...............................................................233
7.7 Configuring a Legacy Package..........................................................................................233
7.7.1 Creating the Legacy Package Configuration ................................................................233
7.7.1.1 Using Serviceguard Manager to Configure a Package ...........................................234
7.7.1.2 Using Serviceguard Commands to Configure a Package ........................................234
7.7.1.2.1 Configuring a Package in Stages..................................................................234
7.7.1.2.2 Editing the Package Configuration File..........................................................234
7.7.2 Creating the Package Control Script...........................................................................236
7.7.2.1 Customizing the Package Control Script ..............................................................236
7.7.2.2 Adding Customer Defined Functions to the Package Control Script .........................237
7.7.2.2.1 Adding Serviceguard Commands in Customer Defined Functions ....................237
7.7.2.3 Support for Additional Products..........................................................................237
7.7.3 Verifying the Package Configuration...........................................................................238
7.7.4 Distributing the Configuration....................................................................................238
7.7.4.1 Distributing the Configuration And Control Script with Serviceguard Manager..........238
7.7.4.2 Copying Package Control Scripts with Linux commands.........................................238
7.7.4.3 Distributing the Binary Cluster Configuration File with Linux Commands ..................239
7.7.5 Configuring Cross-Subnet Failover..............................................................................239
7.7.5.1 Configuring node_name....................................................................................239
7.7.5.2 Configuring monitored_subnet_access.................................................................239
7.7.5.3 Creating Subnet-Specific Package Control Scripts..................................................240
7.7.5.3.1 Control-script entries for nodeA and nodeB...................................................240
7.7.5.3.2 Control-script entries for nodeC and nodeD..................................................240
7.8 Reconfiguring a Package..................................................................................................240
7.8.1 Migrating a Legacy Package to a Modular Package.....................................................240
7.8.2 Reconfiguring a Package on a Running Cluster ...........................................................240
7.8.3 Renaming or Replacing an External Script Used by a Running Package..........................241
7.8.4 Reconfiguring a Package on a Halted Cluster .............................................................241
7.8.5 Adding a Package to a Running Cluster......................................................................242
7.8.6 Deleting a Package from a Running Cluster ................................................................242
7.8.7 Resetting the Service Restart Counter..........................................................................242
7.8.8 Allowable Package States During Reconfiguration .......................................................242
7.8.8.1 Changes that Will Trigger Warnings...................................................................247
7.8.9 Online Reconfiguration of Modular package...............................................................247
7.8.9.1 Handling Failures During Online Package Reconfiguration.....................................248
7.9 Responding to Cluster Events ...........................................................................................252
7.10 Single-Node Operation .................................................................................................252
7.11 Removing Serviceguard from a System..............................................................................252
8 Troubleshooting Your Cluster....................................................................253
8.1 Testing Cluster Operation ................................................................................................253
8.1.1 Testing the Package Manager ...................................................................................253
8.1.2 Testing the Cluster Manager .....................................................................................254
8.2 Monitoring Hardware .....................................................................................................254
8.3 Replacing Disks..............................................................................................................255
8.3.1 Replacing a Faulty Mechanism in a Disk Array............................................................255
8.3.2 Replacing a Lock LUN..............................................................................................255
8.4 Revoking Persistent Reservations after a Catastrophic Failure.................................................255
8.4.1 Examples...............................................................................................................256
8.5 Replacing LAN Cards......................................................................................................256
8.6 Replacing a Failed Quorum Server System.........................................................................257
8.7 Troubleshooting Approaches ...........................................................................................258
Contents 11