How To Handle A Power Outage On A Server Farm (For A Small Business)



Similar documents
Internet Infrastructure

Availability Digest. Redundant Load Balancing for High Availability July 2013

Building Reliable, Scalable AR System Solutions. High-Availability. White Paper

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

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

LinuxWorld Conference & Expo Server Farms and XML Web Services

ExamPDF. Higher Quality,Better service!

Firewall Load Balancing

Fault Tolerance in the Internet: Servers and Routers

SonicOS Enhanced 4.0: NAT Load Balancing

A Standard Modest WebSite

Apache Tomcat. Tomcat Clustering: Part 2 Load balancing. Mark Thomas, 15 April Pivotal Software, Inc. All rights reserved.

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

DNS ROUND ROBIN HIGH-AVAILABILITY LOAD SHARING

LAN TCP/IP and DHCP Setup

SonicWALL NAT Load Balancing

Deployment Topologies

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

Application Delivery Networking

Link Load Balancing :50:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Jive and High-Availability

Building a Highly Available and Scalable Web Farm

Database Resilience at ISPs. High-Availability. White Paper

LoadBalancer and Exchange 2013

Jive and High-Availability

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Load Balancing for Microsoft Office Communication Server 2007 Release 2

DISASTER RECOVERY WITH AWS

Multiple Public IPs (virtual service IPs) are supported either to cover multiple network segments or to increase network performance.

INTRODUCTION TO FIREWALL SECURITY

How To Run A Web Farm On Linux (Ahem) On A Single Computer (For Free) On Your Computer (With A Freebie) On An Ipv4 (For Cheap) Or Ipv2 (For A Free) (For

Cisco Application Networking Manager Version 2.0

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

SiteCelerate white paper

Antelope Enterprise. Electronic Documents Management System and Workflow Engine

Contents. SnapComms Data Protection Recommendations

Introduction. Setup of Exchange in a VM. VMware Infrastructure

Solaris For The Modern Data Center. Taking Advantage of Solaris 11 Features

Server Scalability and High Availability

Networking and High Availability

High-Availability User s Guide v2.00

Scalable Linux Clusters with LVS

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

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

7 Easy Steps to Implementing Application Load Balancing For 100% Availability and Accelerated Application Performance

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

Disaster Recovery Plan and Backup Strategy for a website

Networking and High Availability

CCNP Switch Questions/Answers Implementing High Availability and Redundancy

Disaster Recovery Checklist Disaster Recovery Plan for <System One>

Routing Security Server failure detection and recovery Protocol support Redundancy

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

Cisco GSS 4492R Global Site Selector

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

CheckPoint Software Technologies LTD. How to Configure Firewall-1 With Connect Control

Load Balancer. Introduction. A guide to Load Balancing.

Outline VLAN. Inter-VLAN communication. Layer-3 Switches. Spanning Tree Protocol Recap

Avaya P330 Load Balancing Manager User Guide

Configuring the BIG-IP and Check Point VPN-1 /FireWall-1

A Link Load Balancing Solution for Multi-Homed Networks

Load Balancing Smoothwall Secure Web Gateway

COSC1300, COSC1301. Web Servers and Web Technology

GLBP - Gateway Load Balancing Protocol

Server Iron Hands-on Training

High Availability Essentials

Chapter 10: Scalability

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

High Availability and Clustering

ENTERPRISE DATA CENTER CSS HARDWARE LOAD BALANCING POLICY

Oracle Collaboration Suite

TESTING & INTEGRATION GROUP SOLUTION GUIDE

Configuring WAN Failover & Load-Balancing

Windows Server on WAAS: Reduce Branch-Office Cost and Complexity with WAN Optimization and Secure, Reliable Local IT Services

Cisco WAAS for Isilon IQ

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

Virtual PortChannels: Building Networks without Spanning Tree Protocol

GLOBAL SERVER LOAD BALANCING WITH SERVERIRON

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

Load Balancing 101: Firewall Sandwiches

NEFSIS DEDICATED SERVER

Astaro Deployment Guide High Availability Options Clustering and Hot Standby

Building your Server for High Availability and Disaster Recovery. Witt Mathot Danny Krouk

Implementing Storage Concentrator FailOver Clusters

Load Balancing McAfee Web Gateway. Deployment Guide

vrealize Automation Load Balancing

Troubleshooting the Firewall Services Module

How To Manage A Network On A Network With A Global Server (Networking)

Server Load Balancing Configuration Guide Cisco IOS Release 12.2SX

DEPLOYMENT GUIDE Version 1.1. DNS Traffic Management using the BIG-IP Local Traffic Manager

Troubleshooting the Firewall Services Module

Application Persistence. High-Availability. White Paper

Federated Application Centric Infrastructure (ACI) Fabrics for Dual Data Center Deployments

Recommended IP Telephony Architecture

Volume GAJSHIELD INFOTECH PVT LTD. Wan Failover & Load Balancing. Administrative Guide

Cisco Application Networking for IBM WebSphere

Load Balancing Bloxx Web Filter. Deployment Guide

Design for Failure High Availability Architectures using AWS

Transcription:

Topic: Load balancing 4/03/2014 (c) A. Mariën 1

High Availability Key property: availability high is relative Important to determine correctly Cost of unavailability Business continuity: how long can one accept unavailability? Key concept: single point of failure: SPoF SPoF examples Network (one ISP, one network card, one switchboard, ) Power (oen switch, one provider, ) Physical acces (one door, one gate, one road ) People (only one person knows how to ) Principle: No single point of failure Major method to achieve: redundancy 4/03/2014 (c) A. Mariën 2

HA: active - passive Capacity: 100% Passive Capacity: 70% Active Hartbeat link Active Capacity: 100% Active Capacity: 70% 100% overcapacity 100% OK after switch 40% overcapacity 70% OK after switch Load balancing 4/03/2014 (c) A. Mariën 3

HA: crosses 4/03/2014 (c) A. Mariën 4

HA: Two trains / streets 4/03/2014 (c) A. Mariën 5

Disaster recovery business continuity Disaster Recovery Respond to disasters System down Disk crash Measures: Recovery point objective the maximum time period in which data might be lost lose 1 hour of data Recovery time objective The amount of time the business can be without the service, without incurring significant risks or significant losses system unavailable for 1 hour Options Back-up/restore Business continuity Major outage IT site unreachable, destroyed Survival mode: minimal functions to survive, able to continue business Provide critical operational support Options: Physically separated sites Rented locations Home working Types: Hot standby: up and running in no time Cold standby: capability Infra only: deploy when needed 4/03/2014 (c) A. Mariën 6

Back-up - archiving Back-up Use: protection against data modification Delete Update Redundant copy Full incremental Mostly On-line Use: restore archiving Use: Reduce on-line storage needs Record keeping (requirement) Master data Incremental Mostly off-line Use: search 4/03/2014 (c) A. Mariën 7

Load balancing Solve resource/capacity problem One system cannot cope with load Put bigger system in place Put a cluster in place Use multiple systems: load balancing 4/03/2014 (c) A. Mariën 8

Load balancing Virtual server Server 1 client LB Server 2 server3 Server 4 4/03/2014 (c) A. Mariën 9

Load balancer Hides the fact that there are multiple servers Presents itself as THE server (virtual server) Determines best system to handle Best system to handle requests based on request and system information Expected load Current load of systems But: may not look at either, and count on statistical balancing (round robin) 4/03/2014 (c) A. Mariën 10

Load balancer: dealing with stickyness Servers may need to get multipel requests to not brake the transparency, or just plain work Issues: Sessions, state Example: IP packet of one TCP session must go to same serverin a standard implmentation http sessions must be handled by the same server for vanilla web servers 4/03/2014 (c) A. Mariën 11

Sticky sessions First req First req Next req Next req 4/03/2014 (c) A. Mariën 12

State in client stateless operation First req Next req 4/03/2014 (c) A. Mariën 13

Client state Need to communicate all of the state each time Overhead size limitations Multiple requests to different servers => independent state management possible (possible conflicts) Some state data is critical for server security Logged-in user, authorizations State protection: Protect confidentiality, integrity Encryption, one key to manage them all? 4/03/2014 (c) A. Mariën 14

Load balancing Servers have resource limitations Objectives: Scalability Servers have resource limitations, a single server has maximal load points OS level (multiprocessor, clusters): expensive Add or remove additional servers transparently Availability Replace defective components: only subset of users impacted But not High-Availability (HA): other measures required Secondary Transparency Virtual server 4/03/2014 (c) A. Mariën 15

Load Balancing solutions Effective load balancing: Measure availability Health monitoring System availability: ping Service availability: service ping Measure load Load = resource usage: CPU, disk,... Transparency Server side state Managed on a server instance: requires persistence Each packet /message of connection to same server Problem with higher level sessions (higher than LB mechanism) State distribution Central state store (new problem point) Cost of state migration 4/03/2014 (c) A. Mariën 16

General principle Client Client Client1 Client2 C-S C-S C1-S C2-S Server Virtual Server Map: C-S:VS-RS Virtual Server C1-S:VS-Rsa C2-S:VS-RSb VS-RS Real Server VS-RSa Real Server a VS-RSb Real Server b 4/03/2014 (c) A. Mariën 17

Load balancing systems Four main hooks for network load balancing: ARP Different MACs for single IP NAT Different mappings for same IP DNS round robin Different IPs for same DNS name Proxy Different back-ends for same proxy request Many vendors of solution: Alteon, F5, Cisco, Resonate, Radware,... 4/03/2014 (c) A. Mariën 18

ARP IP address: map one IP to multiple MAC addresses Keep track of sessions: which MAC for which TCP session Note: optimization Short requests, long replies: only request via load balancer, replies: direct Examples: Cisco local director, F5 BIG IP 4/03/2014 (c) A. Mariën 19

Client Router ARP: roundtrip 9.9.9.9 -> 34.1.1.1 9.9.9.9 -> 34.1.1.1 M Rout ->M LB-L LB M LB-R ->M sysi M LB-L 34.1.1.1 M LB-R M sysi 34.1.1.1 Sys i 9.9.9.9 <- 34.1.1.1 M rout <- M sysi 4/03/2014 (c) A. Mariën 20

Client Router ARP: routing Arp: 34.1.1.1 MAC LB -> 34.1.1.1 34.1.1.1 LB 34.1.1.100 34.1.1.254 34.1.1.1 noarp Sys i 34.1.1.3 4/03/2014 (c) A. Mariën 21

NAT based load balancing Virtual IP incoming Translate to multiple internal IP addresses Keep session state FW-1, BIG IP 4/03/2014 (c) A. Mariën 22

Client Router NAT: roundtrip 9.1.1.1:x-> ->34.1.1.1:80 LB 9.1.1.1:x-> ->10.1.1.1:80 Sys i Set up client connection Decide back-end system Translate all packets 9.1.1.1:x-Sys i 4/03/2014 (c) A. Mariën 23

DNS round robin Do not allow caching of DNS IP mapping Hand out IPs in round-robin mode Statistical loadbalancing Cisco Distributed Director, 3DNS 4/03/2014 (c) A. Mariën 24

Proxy Connections forwarded to different IPs HTTP reverse proxies Host: a = server a/ Host: b = server b Map: /images: http://a/images /doc: http://b/doc 4/03/2014 (c) A. Mariën 25