Table Of Contents - Red Hat LINUX VIRTUAL SERVER - FOR ENTERPRISE LINUX 5.2 REV 05-2008 Manual

Linux virtual server (lvs) for red hat enterprise linux 5.2
Table of Contents

Advertisement

Introduction .............................................................................................................. vii
1. Document Conventions ................................................................................ viii
2. Feedback ...................................................................................................... ix
1. Linux Virtual Server Overview ................................................................................. 1
1. A Basic LVS Configuration .............................................................................. 1
2. A Three-Tier LVS Configuration ...................................................................... 3
3. LVS Scheduling Overview .............................................................................. 5
3.1. Scheduling Algorithms ......................................................................... 5
3.2. Server Weight and Scheduling ............................................................. 7
4. Routing Methods ............................................................................................ 7
4.1. NAT Routing ....................................................................................... 7
4.2. Direct Routing ..................................................................................... 9
5. Persistence and Firewall Marks ......................................................................11
5.1. Persistence ........................................................................................11
5.2. Firewall Marks ....................................................................................12
6. LVS - A Block Diagram ................................................................................12
6.1. LVS Components ...............................................................................14
2. Initial LVS Configuration ........................................................................................17
1. Configuring Services on the LVS Routers .......................................................17
3. Starting the Piranha Configuration Tool Service ...........................................18
4. Limiting Access To the Piranha Configuration Tool ......................................20
5. Turning on Packet Forwarding .......................................................................21
6. Configuring Services on the Real Servers .......................................................21
3. Setting Up LVS .....................................................................................................23
1. The NAT LVS Network ..................................................................................23
1.1. Configuring Network Interfaces for LVS with NAT .................................23
1.2. Routing on the Real Servers ...............................................................25
1.3. Enabling NAT Routing on the LVS Routers ..........................................25
2. LVS via Direct Routing ..................................................................................26
3. Putting the Configuration Together .................................................................29
3.1. General LVS Networking Tips .............................................................30
4. Multi-port Services and LVS ...........................................................................30
4.1. Assigning Firewall Marks ....................................................................31
5. Configuring FTP ............................................................................................32
5.1. How FTP Works .................................................................................32
5.2. How This Affects LVS Routing ............................................................33
5.3. Creating Network Packet Filter Rules ..................................................33
6. Saving Network Packet Filter Settings ............................................................35
1. Necessary Software ......................................................................................37
2. Logging Into the Piranha Configuration Tool ................................................37
.......................................................27
..............................................................28
iptables
v

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux virtual server

Table of Contents