Managing HP Serviceguard A.11.20.10 for Linux, December 2012

7.7.1.2.2 Editing the Package Configuration File..........................................................226
7.7.2 Creating the Package Control Script...........................................................................227
7.7.2.1 Customizing the Package Control Script ..............................................................228
7.7.2.2 Adding Customer Defined Functions to the Package Control Script .........................228
7.7.2.2.1 Adding Serviceguard Commands in Customer Defined Functions ....................229
7.7.2.3 Support for Additional Products..........................................................................229
7.7.3 Verifying the Package Configuration...........................................................................229
7.7.4 Distributing the Configuration....................................................................................230
7.7.4.1 Distributing the Configuration And Control Script with Serviceguard Manager..........230
7.7.4.2 Copying Package Control Scripts with Linux commands.........................................230
7.7.4.3 Distributing the Binary Cluster Configuration File with Linux Commands ..................230
7.7.5 Configuring Cross-Subnet Failover..............................................................................231
7.7.5.1 Configuring node_name....................................................................................231
7.7.5.2 Configuring monitored_subnet_access.................................................................231
7.7.5.3 Creating Subnet-Specific Package Control Scripts..................................................231
7.7.5.3.1 Control-script entries for nodeA and nodeB...................................................232
7.7.5.3.2 Control-script entries for nodeC and nodeD..................................................232
7.8 Reconfiguring a Package..................................................................................................232
7.8.1 Migrating a Legacy Package to a Modular Package.....................................................232
7.8.2 Reconfiguring a Package on a Running Cluster ...........................................................232
7.8.3 Renaming or Replacing an External Script Used by a Running Package..........................233
7.8.4 Reconfiguring a Package on a Halted Cluster .............................................................233
7.8.5 Adding a Package to a Running Cluster......................................................................233
7.8.6 Deleting a Package from a Running Cluster ................................................................234
7.8.7 Resetting the Service Restart Counter..........................................................................234
7.8.8 Allowable Package States During Reconfiguration .......................................................234
7.8.8.1 Changes that Will Trigger Warnings...................................................................238
7.9 Responding to Cluster Events ...........................................................................................238
7.10 Single-Node Operation .................................................................................................239
7.11 Removing Serviceguard from a System..............................................................................239
8 Troubleshooting Your Cluster....................................................................241
8.1 Testing Cluster Operation ................................................................................................241
8.1.1 Testing the Package Manager ...................................................................................241
8.1.2 Testing the Cluster Manager .....................................................................................242
8.2 Monitoring Hardware .....................................................................................................242
8.3 Replacing Disks..............................................................................................................243
8.3.1 Replacing a Faulty Mechanism in a Disk Array............................................................243
8.3.2 Replacing a Lock LUN..............................................................................................243
8.4 Revoking Persistent Reservations after a Catastrophic Failure.................................................243
8.4.1 Examples...............................................................................................................244
8.5 Replacing LAN Cards......................................................................................................244
8.6 Replacing a Failed Quorum Server System.........................................................................245
8.7 Troubleshooting Approaches ...........................................................................................246
8.7.1 Reviewing Package IP Addresses ...............................................................................246
8.7.2 Reviewing the System Log File ..................................................................................247
8.7.2.1 Sample System Log Entries ................................................................................247
8.7.3 Reviewing Configuration Files ...................................................................................248
8.7.4 Reviewing the Package Control Script ........................................................................248
8.7.5 Using the cmquerycl and cmcheckconf Commands......................................................248
8.7.6 Reviewing the LAN Configuration .............................................................................249
8.8 Solving Problems ...........................................................................................................249
8.8.1 Name Resolution Problems.......................................................................................249
8.8.1.1 Networking and Security Configuration Errors......................................................249
Contents 11