Product SiteDocumentation Site

Red Hat Enterprise Linux 5

Cluster Administration

Configuring and Managing a Red Hat Cluster

Edition 5

Logo


Legal Notice

Copyright © 2012 Red Hat Inc..
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other trademarks are the property of their respective owners.


1801 Varsity Drive
RaleighNC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701

Abstract
Configuring and Managing a Red Hat Cluster describes the configuration and management of Red Hat cluster systems for Red Hat Enterprise Linux 5. 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
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
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. General Configuration Considerations
2.2. Compatible Hardware
2.3. Enabling IP Ports
2.3.1. Enabling IP Ports on Cluster Nodes
2.3.2. Enabling IP Ports on Computers That Run luci
2.4. Configuring ACPI For Use with Integrated Fence Devices
2.4.1. Disabling ACPI Soft-Off with chkconfig Management
2.4.2. Disabling ACPI Soft-Off with the BIOS
2.4.3. Disabling ACPI Completely in the grub.conf File
2.5. Considerations for Configuring HA Services
2.6. Configuring max_luns
2.7. Considerations for Using Quorum Disk
2.8. Red Hat Cluster Suite and SELinux
2.9. Multicast Addresses
2.10. Configuring the iptables Firewall to Allow Cluster Components
2.11. Considerations for Using Conga
2.12. Configuring Virtual Machines in a Clustered Environment
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 Resources
5.8. Adding a Cluster Service to the Cluster
5.8.1. Relocating a Service in a 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 Resources of a Clustered Service for Maintenance
6.6. Disabling the Cluster Software
6.7. 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. Cluster Service Resource Check and Failover Timeout
E.1. Modifying the Resource Status Check Interval
E.2. Enforcing Resource Timeouts
E.3. Changing Consensus Timeout
F. Upgrading A Red Hat Cluster from RHEL 4 to RHEL 5
G. Revision History
Index