Chapter 3. Setting Up a Red Hat Enterprise Linux LVS Cluster

Chapter 3. Setting Up a Red Hat Enterprise Linux LVS Cluster

3.1. The NAT LVS Cluster
3.1.1. Configuring Network Interfaces for a NAT LVS Cluster
3.1.2. Routing on the Real Servers
3.1.3. Enabling NAT Routing on the LVS Routers
3.2. LVS Cluster via Direct Routing
3.2.1. Direct Routing and arptables_jf
3.2.2. Direct Routing and IPTables
3.3. Putting the Cluster Together
3.3.1. General LVS Networking Tips
3.4. Multi-port Services and LVS Clustering
3.4.1. Assigning Firewall Marks
3.5. FTP In an LVS Cluster
3.5.1. How FTP Works
3.5.2. How This Affects LVS Routing
3.5.3. Creating Network Packet Filter Rules
3.6. Saving Network Packet Filter Settings

A Red Hat Enterprise Linux LVS cluster consists of two basic groups: the LVS routers and the real servers. To prevent a single point of failure, each groups should contain at least two member systems.

The LVS router group should consist of two identical or very similar systems running Red Hat Enterprise Linux. One will act as the active LVS router while the other stays in hot standby mode, so they need to have as close to the same capabilities as possible.

Before choosing and configuring the hardware for the real server group, you most decide what which of the three types of LVS topologies to use.


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-4 because CentOS-4 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-4 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.