Red Hat Cluster Suite
Configuring and Managing a Cluster
Copyright
© 2000-2004 by Red Hat, Inc., Mission Critical Linux, Inc., K.M. Sorenson
ISBN: N/A
Table of Contents
Acknowledgments
Introduction
1.
How To Use This Manual
2.
Document Conventions
3.
More to Come
3.1.
Send in Your Feedback
4.
Sign Up for Support
I.
Using the Red Hat Cluster Manager
1.
Red Hat Cluster Manager Overview
1.1.
Red Hat Cluster Manager Features
2.
Hardware Installation and Operating System Configuration
2.1.
Choosing a Hardware Configuration
2.2.
Setting Up the Members
2.3.
Installing and Configuring Red Hat Enterprise Linux
2.4.
Setting Up and Connecting the Cluster Hardware
3.
Cluster Configuration
3.1.
Installing the Red Hat Cluster Suite Packages
3.2.
Installation Notes for Red Hat Enterprise Linux 2.1 Users
3.3.
The
Cluster Configuration Tool
3.4.
Configuring the Cluster Software
3.5.
Editing the
rawdevices
File
3.6.
Configuring Cluster Daemons
3.7.
Adding and Deleting Members
3.8.
Configuring a Power Controller Connection
3.9.
Configuring a Failover Domain
3.10.
Adding a Service to the Cluster
3.11.
Checking the Cluster Configuration
3.12.
Configuring
syslogd
Event Logging
4.
Service Administration
4.1.
Configuring a Service
4.2.
Displaying a Service Configuration
4.3.
Disabling a Service
4.4.
Enabling a Service
4.5.
Modifying a Service
4.6.
Relocating a Service
4.7.
Deleting a Service
4.8.
Handling Failed Services
5.
Database Services
5.1.
Setting Up an Oracle Service
5.2.
Tuning Oracle Service
5.3.
Setting Up a MySQL Service
6.
Network File Sharing Services
6.1.
Setting Up an NFS Service
6.2.
Using the
NFS Druid
6.3.
NFS Caveats
6.4.
Importing the Contents of an NFS Exports File
6.5.
NFS Configuration: Active-Active Example
6.6.
Setting Up a Samba Service
6.7.
Using the Samba Druid
6.8.
Fields in the
smb.conf.
sharename
File
7.
Setting Up Apache HTTP Server
7.1.
Apache HTTP Server Setup Overview
7.2.
Configuring Shared Storage
7.3.
Installing and Configuring the Apache HTTP Server
8.
Cluster Administration
8.1.
Overview of the
Cluster Status Tool
8.2.
Displaying Cluster and Service Status
8.3.
Starting and Stopping the Cluster Software
8.4.
Modifying the Cluster Configuration
8.5.
Backing Up and Restoring the Cluster Database
8.6.
Modifying Cluster Event Logging
8.7.
Updating the Cluster Software
8.8.
Changing the Cluster Name
8.9.
Disabling the Cluster Software
8.10.
Diagnosing and Correcting Problems in a Cluster
II.
Configuring a Linux Virtual Server Cluster
9.
Introduction to Linux Virtual Server
9.1.
Technology Overview
9.2.
Basic Configurations
10.
Linux Virtual Server Overview
10.1.
A Basic LVS Configuration
10.2.
A Three Tiered LVS Configuration
10.3.
LVS Scheduling Overview
10.4.
Routing Methods
10.5.
Persistence and Firewall Marks
10.6.
LVS Cluster — A Block Diagram
11.
Initial LVS Configuration
11.1.
Configuring Services on the LVS Routers
11.2.
Setting a Password for the
Piranha Configuration Tool
11.3.
Starting the
Piranha Configuration Tool
Service
11.4.
Limiting Access To the
Piranha Configuration Tool
11.5.
Turning on Packet Forwarding
11.6.
Configuring Services on the Real Servers
12.
Setting Up a Red Hat Enterprise Linux LVS Cluster
12.1.
The NAT LVS Cluster
12.2.
Putting the Cluster Together
12.3.
Multi-port Services and LVS Clustering
12.4.
FTP In an LVS Cluster
12.5.
Saving Network Packet Filter Settings
13.
Configuring the LVS Routers with
Piranha Configuration Tool
13.1.
Necessary Software
13.2.
Logging Into the
Piranha Configuration Tool
13.3.
CONTROL/MONITORING
13.4.
GLOBAL SETTINGS
13.5.
REDUNDANCY
13.6.
VIRTUAL SERVERS
13.7.
Synchronizing Configuration Files
13.8.
Starting the Cluster
III.
Appendixes
A.
Using Red Hat Cluster Manager with Piranha
B.
Using Red Hat GFS with Red Hat Cluster Suite
B.1.
Terminology
B.2.
Changes to Red Hat Cluster
B.3.
Installation Scenarios
C.
The GFS Setup Druid
C.1.
Cluster Name
C.2.
LOCK_GULM
parameters
C.3.
Choose Location for CCS Files
C.4.
Cluster Members
C.5.
Saving Your Configuration and Next Steps
D.
Supplementary Hardware Information
D.1.
Setting Up Power Controllers
D.2.
SCSI Bus Configuration Requirements
D.3.
SCSI Bus Termination
D.4.
SCSI Bus Length
D.5.
SCSI Identification Numbers
E.
Supplementary Software Information
E.1.
Cluster Communication Mechanisms
E.2.
Failover and Recovery Scenarios
E.3.
Common Cluster Behaviors: General
E.4.
Common Behaviors: Two Member Cluster with Disk-based Tie-breaker
E.5.
Common Behaviors: 2-4 Member Cluster with IP-based Tie-Breaker
E.6.
Common Behaviors: 3-5 Member Cluster
E.7.
Common Behaviors: Cluster Service Daemons
E.8.
Common Behaviors: Miscellaneous
E.9.
The
cluster.xml
File
F.
Cluster Command-line Utilities
F.1.
Using
redhat-config-cluster-cmd
F.2.
Using the
shutil
Utility
F.3.
Using the
clusvcadm
Utility
F.4.
Using the
clufence
Utility
Index
Colophon
Next
Acknowledgments