Load Balancing und Load Sharing



Similar documents
Load Balancing and Sessions. C. Kopparapu, Load Balancing Servers, Firewalls and Caches. Wiley, 2002.

Creating Web Farms with Linux (Linux High Availability and Scalability)

Availability Digest. Redundant Load Balancing for High Availability July 2013

How To Balance A Load Balancer On A Server On A Linux (Or Ipa) (Or Ahem) (For Ahem/Netnet) (On A Linux) (Permanent) (Netnet/Netlan) (Un

ClusterLoad ESX Virtual Appliance quick start guide v6.3

Introduction to Linux Virtual Server and High Availability

Appliance Administration Manual. v7.2

Appliance Administration Manual. v6.21

Loadbalancer.org. Loadbalancer.org appliance quick setup guide. v6.6

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

Load Balancing Oracle Application Server (Oracle HTTP Server) Quick Reference Guide

Server Traffic Management. Jeff Chase Duke University, Department of Computer Science CPS 212: Distributed Information Systems

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

Load Balancing McAfee Web Gateway. Deployment Guide

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide

Introduction. Linux Virtual Server for Scalable Network Services. Linux Virtual Server. 3-tier architecture of LVS. Virtual Server via NAT

Appliance Quick Start Guide. v7.6

Veriton. Getting the Best out of Hardware Load Balancers in an Oracle Environment. What is a Load Balancer? Agenda. What s out there?

Load Balancing Sophos Web Gateway. Deployment Guide

Load Balancing Bloxx Web Filter. Deployment Guide

ENQUIRY NO.NIE/PS/ DATE: 02/09/2014

Load Balancing Trend Micro InterScan Web Gateway

Appliance Administration v6.1

Loadbalancer.org Appliance Setup v5.9

Internet Protocol: IP packet headers. vendredi 18 octobre 13

APV9650. Application Delivery Controller

UNIVERSITY OF OSLO Department of Informatics. Performance Measurement of Web Services Linux Virtual Server. Muhammad Ashfaq Oslo University College

Layer 4-7 Server Load Balancing. Security, High-Availability and Scalability of Web and Application Servers

Scalable Linux Clusters with LVS

Government of Canada Managed Security Service (GCMSS) Annex A-1: Statement of Work - Firewall

Deploying the Barracuda Load Balancer with Office Communications Server 2007 R2. Office Communications Server Overview.

Load Balancing Microsoft Terminal Services. Deployment Guide

Exam Name: Foundry Networks Certified Layer4-7 Professional Exam Type: Foundry Exam Code: FN0-240 Total Questions: 267

Networking and High Availability

High Availability Low Dollar Load Balancing

Appliance Quick Start Guide v6.21

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Load Balancing Barracuda Web Filter. Deployment Guide

Load Balancing Smoothwall Secure Web Gateway

Load Balancer Comparison: a quantitative approach. a call for researchers ;)

SVN5800 Secure Access Gateway

Red Hat Enterprise Linux 7 Load Balancer Administration

VERITAS Cluster Server Traffic Director Option. Product Overview

Purpose-Built Load Balancing The Advantages of Coyote Point Equalizer over Software-based Solutions

Smoothwall Web Filter Deployment Guide

Special Edition for Loadbalancer.org GmbH

Alteon Web OS. Intelligent Internet. What s New in Alteon Web OS Alteon Web OS Benefits. Product Brief

Networking and High Availability

Single Pass Load Balancing with Session Persistence in IPv6 Network. C. J. (Charlie) Liu Network Operations Charter Communications

Firewall Load Balancing

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP LTM with Microsoft Windows Server 2008 R2 Remote Desktop Services

Deploying the BIG-IP LTM v10 with Microsoft Lync Server 2010 and 2013

Open-Xchange Server High availability Daniel Halbe, Holger Achtziger

Linux Virtual Server Tutorial

Active-Active Servers and Connection Synchronisation for LVS

Exam : EE : F5 BIG-IP V9 Local traffic Management. Title. Ver :

Securing Networks with PIX and ASA

SonicOS Enhanced 4.0: NAT Load Balancing

CSET 4750 Computer Networks and Data Communications (4 semester credit hours) CSET Required IT Required

Microsoft Internet Information Services (IIS) Deployment Guide

Microsoft Lync Server Overview

Configuring HAproxy as a SwiftStack Load Balancer

Load Balancing Clearswift Secure Web Gateway

APV x600 Series. Application Delivery Controller APV1600, APV2600, APV4600, APV5600, APV6600, APV8600, APV9600

Building a Systems Infrastructure to Support e- Business

short introduction to linux high availability description of problem and solution possibilities linux tools

STRATO Load Balancing Product description Version: May 2015

IERG 4080 Building Scalable Internet-based Services

Content Switching Module for the Catalyst 6500 and Cisco 7600 Internet Router

Load Balancing Web Applications

DPtech ADX Application Delivery Platform Series

Avaya P333R-LB. Load Balancing Stackable Switch. Load Balancing Application Guide

Traffic Steering. Traffic Steering

Chapter 37 Server Load Balancing

CS312 Solutions #6. March 13, 2015

Radware AppDirector and Juniper Networks Secure Access SSL VPN Solution Implementation Guide

How To Understand The Role Of The Lib8000 On A Network (Networking) On A Server Cluster (Netware) On An Ipnet (Netrope) On Ubuntu) On Pcode (Netnet)

Appliance Quick Start Guide v6.21

Load Balancing for Microsoft Office Communication Server 2007 Release 2

Application Delivery Networking

Firewall Firewall August, 2003

Application Note. Onsight Connect Network Requirements v6.3

Application Note. Onsight TeamLink And Firewall Detect v6.3

Cisco ASA, PIX, and FWSM Firewall Handbook

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

FortiOS Handbook - Load Balancing VERSION 5.2.2

DEPLOYMENT GUIDE DEPLOYING THE BIG-IP LTM SYSTEM WITH ADOBE ACROBAT CONNECT PROFESSIONAL

vrealize Automation Load Balancing

Appliance Administration Manual. v7.5

Understanding Slow Start

Chapter 51 Server Load Balancing

Server Iron Hands-on Training

Deployment Topologies

Table of Contents. 1 Overview 1-1 Introduction 1-1 Product Design 1-1 Appearance 1-2

Netfilter Failover. Connection Tracking State Replication. Krisztián Kovács

Transcription:

mit freier Software Volker Dormeyer <volker@ixolution.de> im Mai 2007

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

OSI- and IP-Layers Agenda 1 OSI- and IP-Layers 2 3 Concept 4

OSI- and IP-Layers Which OSI-Layers are used by Load Balancers? OSI Layers 4-7 Application Presentation Session Transport Network Data Link Physical Application Protocols HTTP, HTTPS, DNS, SMTP,... TCP/UDP IP Link

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

What it is... Dynamic distribution of incoming requests across real servers in the background Layer 4-7 Switch

Forwarding Methods NAT (Network Address Translation) DR/DSR (Direct Routing / Direct Server Return) TUN (Tunneling)

NAT Request and answer traverse the Load Balancer Internet/Extranet VIP1 VIP2 NAT LVS Director RIP1 RIP1 RIP2 RIP3 RIP2 RIP3

DR/DSR Requests traverse the Load Balancer Answers do not Internet/Extranet VIP1 VIP2 DR LVS Director RIP1 RIP1 RIP2 RIP3 RIP2 RIP3

TUN IP IP Encapsulation Internet/Extranet VIP1 VIP2 IPIP TUN IPIP LVS Director RIP1 RIP1 RIP2 RIP3 RIP2 RIP3

NAT + - Independent from real server Simple to understand and implement It is not possible to NAT every protocol Relative low throughput compared to DR/DSR

DR/DSR + - Application independent High throughput Additional configuration on real servers necessary Load Balancer has to be located in the real server network

TUN + - Application independent High throughput Real servers can be located in foreign networks Additional configuration on real servers necessary

Scheduling Determine the right real server for a single request Usual scheduler types (weighted/unweighted) Round Robin Least Connection Locality Based Least Connection (replication) Hashing (source/destination) Shortest Expected Delay Never Queue Weightet Least Incoming Bps

Connection Persistence Also known as Stickyness or Server Affinity Layer 4 Persistence Based on source IP-address Based on source IP-address and source/destination port Based on source network Connection Template expires after user defined time interval Layer 7 Persistence

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

(1) Check whether real servers are still alive Methods in Layers 3-7 ICMP Pings Port Availability Application Availability (HTTP GET/HEAD, etc.) Analysation of application check result In Band / Out of Band checks GNU/Linux based real servers Feedback Agent Dynamic modification of scheduler weights depending on load of real servers

(2) Connection Limits Limit number of connections to selected real server systems Incl. automatic correction of scheduler weights

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

Layer 4 Switch Problems Megaproxies

Parsing of application protocols Methods URL-Switching (hash + pattern comparison) Session-ID parsing (HTTPS) Cookie parsing

Layer 7 Persistency URL Session-ID (HTTPS) Cookie Data

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

Redundant Directors Active/Passive Active/Active Connection synchronisation (saru) Linux-HA or Keepalived STONITH ipfail / pingd VRRP Internet/Extranet VIP1 VIP2 HA LVS Director RIP1 RIP1 RIP2 RIP3 RIP2 RIP3

Agenda 1 OSI- and IP-Layers 2 3 Concept 4

LVS (Layer 4, combined with KTCPVS/l7sw also Layer 7) Pen (Proxy, Layer 4, TCP only) Pound (Proxy, Layer 7) HAProxy (Proxy, Layer 7) Keepalived Ldirectord Mon Linux-HA Keepalived

Concept Agenda 1 OSI- and IP-Layers 2 3 Concept 4

Concept Requests are directly processed by real servers Internet/Extranet Shared Multicast MAC Shared Multicast MAC VIP1 VIP2 VIP1 VIP1 VIP2 VIP2

Concept + - High Throughput Requires additional software/logic on real servers Dynamic load balancing impossible difficult

Concept Agenda 1 OSI- and IP-Layers 2 3 Concept 4

Concept Mutual node check Mutual application check Coordinating node ClusterManager integration

Concept Agenda 1 OSI- and IP-Layers 2 3 Concept 4

Concept CLUSTERIP Netfilter Target Integrates with Linux-HA by Linux-HA

Appreciated Side-Effects of and Simple/flexible maintenance possibilities without service interruption Automatic Fallback

Literature Chandra Kopparapu Servers, Firewalls and Caches Wiley Computer Publishing, 2002. Matthew Syme, Philip Goldie Optimizing Web Performance With Content Switching Prentice Hall, 2003. Karl Kopper The Linux Enterprise Cluster Build a HA Cluster with Commodity Hardware and Free Software New Starch Press, 2005. Evan Marcus, Hal Stern Blueprints for High Availability Wiley Publishing, 2003.

Questions Questions?