Red Hat Cluster Suite
Configuring and Managing a Cluster
Copyright
© 2000-2003 by Red Hat, Inc., Mission Critical Linux, Inc., K.M. Sorenson
ISBN: N/A
Table of Contents
Acknowledgments
Introduction
1.
Cluster Overview
2.
Cluster Features
3.
How To Use This Manual
4.
Document Conventions
5.
More to Come
5.1.
Send in Your Feedback
6.
Sign Up for Support
I.
Using the Red Hat Cluster Manager
1.
Hardware Installation and Operating System Configuration
1.1.
Choosing a Hardware Configuration
1.2.
Setting Up the Members
1.3.
Installing and Configuring Red Hat Enterprise Linux
1.4.
Setting Up and Connecting the Cluster Hardware
2.
Cluster Configuration
2.1.
Installing the Red Hat Cluster Manager Packages
2.2.
Installation Notes for Red Hat Enterprise Linux 2.1 Users
2.3.
The
Cluster Configuration Tool
2.4.
Configuring the Cluster Software
2.5.
Editing the
rawdevices
File
2.6.
Configuring Cluster Daemons
2.7.
Adding and Deleting Members
2.8.
Configuring a Power Controller Connection
2.9.
Configuring a Failover Domain
2.10.
Adding a Service to the Cluster
2.11.
Checking the Cluster Configuration
2.12.
Configuring
syslogd
Event Logging
3.
Service Administration
3.1.
Configuring a Service
3.2.
Displaying a Service Configuration
3.3.
Disabling a Service
3.4.
Enabling a Service
3.5.
Modifying a Service
3.6.
Relocating a Service
3.7.
Deleting a Service
3.8.
Handling Failed Services
4.
Database Services
4.1.
Setting Up an Oracle Service
4.2.
Tuning Oracle Service
4.3.
Setting Up a MySQL Service
5.
Network File Sharing Services
5.1.
Setting Up an NFS Service
5.2.
Using the
NFS Druid
5.3.
NFS Caveats
5.4.
Importing the Contents of an NFS Exports File
5.5.
NFS Configuration: Active-Active Example
5.6.
Setting Up a Samba Service
5.7.
Using the Samba Druid
5.8.
Fields in the
smb.conf.
sharename
File
6.
Setting Up Apache HTTP Server
6.1.
Apache HTTP Server Setup Overview
6.2.
Configuring Shared Storage
6.3.
Installing and Configuring the Apache HTTP Server
7.
Cluster Administration
7.1.
Overview of the
Cluster Status Tool
7.2.
Displaying Cluster and Service Status
7.3.
Starting and Stopping the Cluster Software
7.4.
Modifying the Cluster Configuration
7.5.
Backing Up and Restoring the Cluster Database
7.6.
Modifying Cluster Event Logging
7.7.
Updating the Cluster Software
7.8.
Changing the Cluster Name
7.9.
Disabling the Cluster Software
7.10.
Diagnosing and Correcting Problems in a Cluster
II.
Configuring a Linux Virtual Server Cluster
8.
Introduction to Linux Virtual Server
8.1.
Technology Overview
8.2.
Basic Configurations
9.
Linux Virtual Server Overview
9.1.
A Basic LVS Configuration
9.2.
A Three Tiered LVS Configuration
9.3.
LVS Scheduling Overview
9.4.
Routing Methods
9.5.
Persistence and Firewall Marks
9.6.
LVS Cluster — A Block Diagram
10.
Initial LVS Configuration
10.1.
Configuring Services on the LVS Routers
10.2.
Setting a Password for the
Piranha Configuration Tool
10.3.
Starting the
Piranha Configuration Tool
Service
10.4.
Limiting Access To the
Piranha Configuration Tool
10.5.
Turning on Packet Forwarding
10.6.
Configuring Services on the Real Servers
11.
Setting Up a Red Hat Enterprise Linux LVS Cluster
11.1.
The NAT LVS Cluster
11.2.
Putting the Cluster Together
11.3.
Multi-port Services and LVS Clustering
11.4.
FTP In an LVS Cluster
11.5.
Saving Network Packet Filter Settings
12.
Configuring the LVS Routers with
Piranha Configuration Tool
12.1.
Necessary Software
12.2.
Logging Into the
Piranha Configuration Tool
12.3.
CONTROL/MONITORING
12.4.
GLOBAL SETTINGS
12.5.
REDUNDANCY
12.6.
VIRTUAL SERVERS
12.7.
Synchronizing Configuration Files
12.8.
Starting the Cluster
III.
Appendixes
A.
Using Red Hat Cluster Manager with Piranha
B.
Supplementary Hardware Information
B.1.
Setting Up Power Controllers
B.2.
SCSI Bus Configuration Requirements
B.3.
SCSI Bus Termination
B.4.
SCSI Bus Length
B.5.
SCSI Identification Numbers
C.
Supplementary Software Information
C.1.
Cluster Communication Mechanisms
C.2.
Failover and Recovery Scenarios
C.3.
Common Cluster Behaviors: General
C.4.
Common Behaviors: Two Member Cluster with Disk-based Tie-breaker
C.5.
Common Behaviors: 2-4 Member Cluster with IP-based Tie-Breaker
C.6.
Common Behaviors: 3-5 Member Cluster
C.7.
Common Behaviors: Cluster Service Daemons
C.8.
Common Behaviors: Miscellaneous
C.9.
The
cluster.xml
File
D.
Cluster Command-line Utilities
D.1.
Using
redhat-config-cluster-cmd
D.2.
Using the
shutil
Utility
D.3.
Using the
clusvcadm
Utility
D.4.
Using the
clufence
Utility
Index
Colophon
Next
Acknowledgments