Jump To Close Expand all Collapse all Table of contents Virtual Server Administration Introduction Expand section "Introduction" Collapse section "Introduction" 1. Feedback 1. Linux Virtual Server Overview Expand section "1. Linux Virtual Server Overview" Collapse section "1. Linux Virtual Server Overview" 1.1. A Basic LVS Configuration Expand section "1.1. A Basic LVS Configuration" Collapse section "1.1. A Basic LVS Configuration" 1.1.1. Data Replication and Data Sharing Between Real Servers Expand section "1.1.1. Data Replication and Data Sharing Between Real Servers" Collapse section "1.1.1. Data Replication and Data Sharing Between Real Servers" 1.1.1.1. Configuring Real Servers to Synchronize Data 1.2. A Three-Tier LVS Configuration 1.3. LVS Scheduling Overview Expand section "1.3. LVS Scheduling Overview" Collapse section "1.3. LVS Scheduling Overview" 1.3.1. Scheduling Algorithms 1.3.2. Server Weight and Scheduling 1.4. Routing Methods Expand section "1.4. Routing Methods" Collapse section "1.4. Routing Methods" 1.4.1. NAT Routing 1.4.2. Direct Routing Expand section "1.4.2. Direct Routing" Collapse section "1.4.2. Direct Routing" 1.4.2.1. Direct Routing and the ARP Limitation 1.5. Persistence and Firewall Marks Expand section "1.5. Persistence and Firewall Marks" Collapse section "1.5. Persistence and Firewall Marks" 1.5.1. Persistence 1.5.2. Firewall Marks 1.6. LVS — A Block Diagram Expand section "1.6. LVS — A Block Diagram" Collapse section "1.6. LVS — A Block Diagram" 1.6.1. LVS Components Expand section "1.6.1. LVS Components" Collapse section "1.6.1. LVS Components" 1.6.1.1. pulse 1.6.1.2. lvs 1.6.1.3. ipvsadm 1.6.1.4. nanny 1.6.1.5. /etc/sysconfig/ha/lvs.cf 1.6.1.6. Piranha Configuration Tool 1.6.1.7. send_arp 2. Initial LVS Configuration Expand section "2. Initial LVS Configuration" Collapse section "2. Initial LVS Configuration" 2.1. Configuring Services on the LVS Routers 2.2. Setting a Password for the Piranha Configuration Tool 2.3. Starting the Piranha Configuration Tool Service Expand section "2.3. Starting the Piranha Configuration Tool Service" Collapse section "2.3. Starting the Piranha Configuration Tool Service" 2.3.1. Configuring the Piranha Configuration Tool Web Server Port 2.4. Limiting Access To the Piranha Configuration Tool 2.5. Turning on Packet Forwarding 2.6. Configuring Services on the Real Servers 3. Setting Up LVS Expand section "3. Setting Up LVS" Collapse section "3. Setting Up LVS" 3.1. The NAT LVS Network Expand section "3.1. The NAT LVS Network" Collapse section "3.1. The NAT LVS Network" 3.1.1. Configuring Network Interfaces for LVS with NAT 3.1.2. Routing on the Real Servers 3.1.3. Enabling NAT Routing on the LVS Routers 3.2. LVS via Direct Routing Expand section "3.2. LVS via Direct Routing" Collapse section "3.2. LVS via Direct Routing" 3.2.1. Direct Routing and arptables_jf 3.2.2. Direct Routing and iptables 3.3. Putting the Configuration Together Expand section "3.3. Putting the Configuration Together" Collapse section "3.3. Putting the Configuration Together" 3.3.1. General LVS Networking Tips 3.4. Multi-port Services and LVS Expand section "3.4. Multi-port Services and LVS" Collapse section "3.4. Multi-port Services and LVS" 3.4.1. Assigning Firewall Marks 3.5. Configuring FTP Expand section "3.5. Configuring FTP" Collapse section "3.5. Configuring FTP" 3.5.1. How FTP Works 3.5.2. How This Affects LVS Routing 3.5.3. Creating Network Packet Filter Rules Expand section "3.5.3. Creating Network Packet Filter Rules" Collapse section "3.5.3. Creating Network Packet Filter Rules" 3.5.3.1. Rules for Active Connections 3.5.3.2. Rules for Passive Connections 3.6. Saving Network Packet Filter Settings 4. Configuring the LVS Routers with Piranha Configuration Tool Expand section "4. Configuring the LVS Routers with Piranha Configuration Tool" Collapse section "4. Configuring the LVS Routers with Piranha Configuration Tool" 4.1. Necessary Software 4.2. Logging Into the Piranha Configuration Tool 4.3. CONTROL/MONITORING 4.4. GLOBAL SETTINGS 4.5. REDUNDANCY 4.6. VIRTUAL SERVERS Expand section "4.6. VIRTUAL SERVERS" Collapse section "4.6. VIRTUAL SERVERS" 4.6.1. The VIRTUAL SERVER Subsection 4.6.2. REAL SERVER Subsection 4.6.3. EDIT MONITORING SCRIPTS Subsection 4.7. Synchronizing Configuration Files Expand section "4.7. Synchronizing Configuration Files" Collapse section "4.7. Synchronizing Configuration Files" 4.7.1. Synchronizing lvs.cf 4.7.2. Synchronizing sysctl 4.7.3. Synchronizing Network Packet Filtering Rules 4.8. Starting LVS A. Using LVS with Red Hat Cluster B. Revision History Index Legal Notice Settings Close Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Appendix B. Revision History Revision HistoryRevision 1.0-5.4002013-10-31Rüdiger Landmann Rebuild with publican 4.0.0 Revision 1.0-52012-07-18Anthony Towns Rebuild for Publican 3.0 Revision 1.0-0Fri Apr 24 2009 Previous Next