Configuring and Managing a Red Hat Cluster

Configuring and Managing a Red Hat Cluster

Red Hat Cluster for Red Hat Enterprise Linux

Legal Notice

May 2008

Abstract

Configuring and Managing a Red Hat Cluster describes the configuration and management of Red Hat cluster systems for Red Hat Enterprise Linux 5.2 It does not include information about Red Hat Linux Virtual Servers (LVS). Information about installing and configuring LVS is in a separate document.


Introduction
1. Document Conventions
2. Feedback
1. Red Hat Cluster Configuration and Management Overview
1.1. Configuration Basics
1.1.1. Setting Up Hardware
1.1.2. Installing Red Hat Cluster software
1.1.3. Configuring Red Hat Cluster Software
1.2. Conga
1.3. system-config-cluster Cluster Administration GUI
1.3.1. Cluster Configuration Tool
1.3.2. Cluster Status Tool
1.4. Command Line Administration Tools
2. Before Configuring a Red Hat Cluster
2.1. Compatible Hardware
2.2. Enabling IP Ports
2.2.1. Enabling IP Ports on Cluster Nodes
2.2.2. Enabling IP Ports on Computers That Run luci
2.2.3. Examples of iptables Rules
2.3. Configuring ACPI For Use with Integrated Fence Devices
2.3.1. Disabling ACPI Soft-Off with chkconfig Management
2.3.2. Disabling ACPI Soft-Off with the BIOS
2.3.3. Disabling ACPI Completely in the grub.conf File
2.4. Considerations for Configuring HA Services
2.5. Configuring max_luns
2.6. Considerations for Using Quorum Disk
2.7. Multicast Addresses
2.8. Considerations for Using Conga
2.9. General Configuration Considerations
3. Configuring Red Hat Cluster With Conga
3.1. Configuration Tasks
3.2. Starting luci and ricci
3.3. Creating A Cluster
3.4. Global Cluster Properties
3.5. Configuring Fence Devices
3.5.1. Creating a Shared Fence Device
3.5.2. Modifying or Deleting a Fence Device
3.6. Configuring Cluster Members
3.6.1. Initially Configuring Members
3.6.2. Adding a Member to a Running Cluster
3.6.3. Deleting a Member from a Cluster
3.7. Configuring a Failover Domain
3.7.1. Adding a Failover Domain
3.7.2. Modifying a Failover Domain
3.8. Adding Cluster Resources
3.9. Adding a Cluster Service to the Cluster
3.10. Configuring Cluster Storage
4. Managing Red Hat Cluster With Conga
4.1. Starting, Stopping, and Deleting Clusters
4.2. Managing Cluster Nodes
4.3. Managing High-Availability Services
4.4. Diagnosing and Correcting Problems in a Cluster
5. Configuring Red Hat Cluster With system-config-cluster
5.1. Configuration Tasks
5.2. Starting the Cluster Configuration Tool
5.3. Configuring Cluster Properties
5.4. Configuring Fence Devices
5.5. Adding and Deleting Members
5.5.1. Adding a Member to a Cluster
5.5.2. Adding a Member to a Running Cluster
5.5.3. Deleting a Member from a Cluster
5.6. Configuring a Failover Domain
5.6.1. Adding a Failover Domain
5.6.2. Removing a Failover Domain
5.6.3. Removing a Member from a Failover Domain
5.7. Adding Cluster Services
5.8. Adding a Cluster Service to the Cluster
5.9. Propagating The Configuration File: New Cluster
5.10. Starting the Cluster Software
6. Managing Red Hat Cluster With system-config-cluster
6.1. Starting and Stopping the Cluster Software
6.2. Managing High-Availability Services
6.3. Modifying the Cluster Configuration
6.4. Backing Up and Restoring the Cluster Database
6.5. Disabling the Cluster Software
6.6. Diagnosing and Correcting Problems in a Cluster
A. Example of Setting Up Apache HTTP Server
A.1. Apache HTTP Server Setup Overview
A.2. Configuring Shared Storage
A.3. Installing and Configuring the Apache HTTP Server
B. Fence Device Parameters
C. HA Resource Parameters
D. HA Resource Behavior
D.1. Parent, Child, and Sibling Relationships Among Resources
D.2. Sibling Start Ordering and Resource Child Ordering
D.2.1. Typed Child Resource Start and Stop Ordering
D.2.2. Non-typed Child Resource Start and Stop Ordering
D.3. Inheritance, the <resources> Block, and Reusing Resources
D.4. Failure Recovery and Independent Subtrees
D.5. Debugging and Testing Services and Resource Ordering
E. Upgrading A Red Hat Cluster from RHEL 4 to RHEL 5
Index

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.