Red Hat Enterprise Linux 4

Cluster Administration

Configuring and Managing a Red Hat Cluster

Edition 1.0

Logo

Legal Notice

Copyright © 2008 Red Hat, Inc.
This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed.
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.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.

Abstract

Configuring and Managing a Red Hat Cluster describes the configuration and management of Red Hat cluster systems for Red Hat Enterprise Linux 4. 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. 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. Configuring max_luns
2.5. Considerations for Using Quorum Disk
2.6. Red Hat Cluster Suite and SELinux
2.7. Considerations for Using Conga
2.8. 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 New Cluster
5.5.2. Adding a Member to a Running DLM Cluster
5.5.3. Deleting a Member from a DLM Cluster
5.5.4. Adding a GULM Client-only Member
5.5.5. Deleting a GULM Client-only Member
5.5.6. Adding or Deleting a GULM Lock Server Member
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.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. Revision History
Index