Anycast as a Load Balancing Feature Fernanda Weiden Peter Frost - - PowerPoint PPT Presentation

anycast as a load balancing feature
SMART_READER_LITE
LIVE PREVIEW

Anycast as a Load Balancing Feature Fernanda Weiden Peter Frost - - PowerPoint PPT Presentation

Anycast as a Load Balancing Feature Fernanda Weiden Peter Frost Introduction Service availability is critical to business function Large scale failures often require slow, manual restoration Maintenance of next-nearest fallback configuration


slide-1
SLIDE 1

Anycast as a Load Balancing Feature

Fernanda Weiden Peter Frost

slide-2
SLIDE 2

Introduction

Service availability is critical to business function Large scale failures often require slow, manual restoration Maintenance of next-nearest fallback configuration is painful Traditional Anycast deployments scale poorly with capacity

slide-3
SLIDE 3

Failover Techniques

Backend failure

slide-4
SLIDE 4

Failover Techniques

Load Balancer failure, site failure

slide-5
SLIDE 5

Anycast

Anycast is a network routing technique where many hosts have the exact same IP address. Clients trying to reach that IP address are routed to the nearest host.

slide-6
SLIDE 6

Architecture

slide-7
SLIDE 7

Combining Load Balancing and Anycast

Reduced amount of route advertisers Reduced number of routing changes Tolerates LB failure No need for manual configuration to define failover location No need for manual intervention to deal with LB failure

slide-8
SLIDE 8

...and turning it into a service

Many services per location One load balancing instance per location Centralized management for it all Simple to use to by other service owners/sysadmins

slide-9
SLIDE 9

Implementation Details - Load Balancer

slide-10
SLIDE 10

Software details

Heartbeat Active-passive cluster resource management ldirectord Backend monitoring software Patched to add "fallback command" ip_vs Linux kernel module for load balancing Quagga Software implementation of routing protocol daemons Advertises availability of services using /32 routes

slide-11
SLIDE 11

If a new service owner wants to use it...

Reserve IP on the Anycast subnet. Create the new Anycast VIP config: Same as a normal/local VIP Plus a "fallback command" Done.

slide-12
SLIDE 12

Reference links

Load Balancing, http://en.wikipedia.org/wiki/Load_balancing_(computing) The Linux Virtual Server Project, http://www.linuxvirtualserver.org High Availability, http://www.linux-ha.org Quagga, a software routing suite, http://www.quagga.net RFC1771 - A Border Gateway Protocol 4, http://www.faqs.org/rfcs/rfc1771. html Ldirectord, http://www.vergenet.net/linux/ldirectord/

slide-13
SLIDE 13

Questions?

Thank you!