Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

Red Hat Enterprise Linux 6

Virtual Server Administration

Load Balancer Add-On for Red Hat Enterprise Linux

Edition 6

Logo


Legal Notice

Copyright © 2010 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at https://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other trademarks are the property of their respective owners.


1801 Varsity Drive
 RaleighNC 27606-2072 USA
 Phone: +1 919 754 3700
 Phone: 888 733 4281
 Fax: +1 919 754 3701

Abstract
Building a Load Balancer Add-On system offers a highly available and scalable solution for production services using specialized Linux Virtual Servers (LVS) for routing and load-balancing techniques configured through the PIRANHA configuration tool. This book discusses the configuration of high-performance systems and services with Red Hat Enterprise Linux and the Load Balancer Add-On for Red Hat Enterprise Linux 6.

Introduction
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. Feedback
1. Load Balancer Add-On Overview
1.1. A Basic Load Balancer Add-On Configuration
1.1.1. Data Replication and Data Sharing Between Real Servers
1.2. A Three-Tier Load Balancer Add-On Configuration
1.3. Load Balancer Add-On Scheduling Overview
1.3.1. Scheduling Algorithms
1.3.2. Server Weight and Scheduling
1.4. Routing Methods
1.4.1. NAT Routing
1.4.2. Direct Routing
1.5. Persistence and Firewall Marks
1.5.1. Persistence
1.5.2. Firewall Marks
1.6. Load Balancer Add-On — A Block Diagram
1.6.1. Load Balancer Add-On Components
2. Initial Load Balancer Add-On 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
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 Load Balancer Add-On
3.1. The NAT Load Balancer Add-On Network
3.1.1. Configuring Network Interfaces for Load Balancer Add-On with NAT
3.1.2. Routing on the Real Servers
3.1.3. Enabling NAT Routing on the LVS Routers
3.2. Load Balancer Add-On via Direct Routing
3.2.1. Direct Routing and arptables_jf
3.2.2. Direct Routing and iptables
3.3. Putting the Configuration Together
3.3.1. General Load Balancer Add-On Networking Tips
3.4. Multi-port Services and Load Balancer Add-On
3.4.1. Assigning Firewall Marks
3.5. Configuring FTP
3.5.1. How FTP Works
3.5.2. How This Affects Load Balancer Add-On Routing
3.5.3. Creating Network Packet Filter Rules
3.6. Saving Network Packet Filter Settings
4. Configuring the Load Balancer Add-On 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
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
4.7.1. Synchronizing lvs.cf
4.7.2. Synchronizing sysctl
4.7.3. Synchronizing Network Packet Filtering Rules
4.8. Starting the Load Balancer Add-On
A. Using the Load Balancer Add-On with the High Availability Add-On
B. Revision History
Index

 
 
  Published under the terms of the Creative Commons License Design by Interspire