1F0_4553_c1 © 1999, Cisco Systems, Inc. Cisco Load Balancing Solutions.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction to Scaling Networks
Advertisements

© 2003, Cisco Systems, Inc. All rights reserved..
Scheduling in Web Server Clusters CS 260 LECTURE 3 From: IBM Technical Report.
Implementing Inter-VLAN Routing
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
Multi-Layer Switching Layers 1, 2, and 3. Cisco Hierarchical Model Access Layer –Workgroup –Access layer aggregation and L3/L4 services Distribution Layer.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 W. Schulte Chapter 5: Inter-VLAN Routing Routing And Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing & Switching.
NETWORK LOAD BALANCING NLB.  Network Load Balancing (NLB) is a Clustering Technology.  Windows Based. (windows server).  To scale performance, Network.
1 Routing and Scheduling in Web Server Clusters. 2 Reference The State of the Art in Locally Distributed Web-server Systems Valeria Cardellini, Emiliano.
Highly Available Central Services An Intelligent Router Approach Thomas Finnern Thorsten Witt DESY/IT.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Dr. Zahid Anwar. Simplified Architecture of Linux Cluster Simplified Architecture of a Single Computer Simplified architecture of an enterprise cluster.
Module 8: Concepts of a Network Load Balancing Cluster
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
Lesson 18-Internet Architecture. Overview Internet services. Develop a communications architecture. Design a demilitarized zone. Understand network address.
Lesson 11-Virtual Private Networks. Overview Define Virtual Private Networks (VPNs). Deploy User VPNs. Deploy Site VPNs. Understand standard VPN techniques.
SERVER LOAD BALANCING Presented By : Priya Palanivelu.
Application-Layer Anycasting: A Server Selection Architecture and Use in a Replicated Web Service IEEE/ACM Transactions on Networking Vol.8, No. 4, August.
Lesson 20 – OTHER WINDOWS 2000 SERVER SERVICES. DHCP server DNS RAS and RRAS Internet Information Server Cluster services Windows terminal services OVERVIEW.
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
Improving Availability in Multilayer Switched Networks
Lesson 1: Configuring Network Load Balancing
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
Technology Integration: RSerPool & Server Load-balancing Curt Kersey, Cisco Systems Aron Silverton, Motorola Labs.
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
By Mohammad Alsawwaf Supervised By Dr. Lee NETWORK LOAD BALANCING NLB.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing And Switching.
Server Load Balancing. Introduction Why is load balancing of servers needed? If there is only one web server responding to all the incoming HTTP requests.
InterVLAN Routing Design and Implementation. What Routers Do Intelligent, dynamic routing protocols for packet transport Packet filtering capabilities.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
 Protocols used by network systems are not effective to distributed system  Special requirements are needed here.  They are in cases of: Transparency.
Clustering and Load Balancing. Outline Introduction Linux Virtual Server Microsoft load balancing solution.
Web Cache Redirection using a Layer-4 switch: Architecture, issues, tradeoffs, and trends Shirish Sathaye Vice-President of Engineering.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Scaling Networks Scaling Networks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Scaling Networks Scaling Networks.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
Routing and Routing Protocols
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 4: Planning and Configuring Routing and Switching.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: Routing Concepts Routing & Switching.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. Overview of Ethernet Networking A Rev /31/2011.
Module 16: Distributed System Structures Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed.
1 © 1999, Cisco Systems, Inc. 1293_07F9_c1 LocalDirector Version3.1.
Instructor Materials Chapter 7: EIGRP Tuning and Troubleshooting
CCNA Practice Exam Questions
CompTIA Security+ Study Guide (SY0-401)
Layer 3 Redundancy 1. Hot Standby Router Protocol (HSRP)
Lab A: Planning an Installation
Scaling Network Load Balancing Clusters
Network Load Balancing
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
Chapter 4: Routing Concepts
Chapter 5: Inter-VLAN Routing
CompTIA Security+ Study Guide (SY0-401)
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 4: Planning and Configuring Routing and Switching.
Presentation transcript:

1F0_4553_c1 © 1999, Cisco Systems, Inc. Cisco Load Balancing Solutions

2F0_4553_c1 © 1999, Cisco Systems, Inc. Agenda Problems We Are Solving DistributedDirector LocalDirector MultiNode Load Balancing

3F0_4553_c1 © 1999, Cisco Systems, Inc. Problems We Are Solving Efficient, high-performance client access to large server complexes Continuous availability of server applications Scalable, intelligent load distribution across servers in the complex Load distribution based on server capacity of doing work and application availability

4F0_4553_c1 © 1999, Cisco Systems, Inc. 4 DistributedDirector F0_4553_c1 © 1999, Cisco Systems, Inc.

5F0_4553_c1 © 1999, Cisco Systems, Inc. What Is DistributedDirector? Two pieces: Standalone software/hardware bundle Special Cisco IOS ® -based software on Cisco 2501, 2502, and Cisco 4700M hardware platforms—11.1IA release train Cisco IOS software release 11.3(2)T and later on DRP-associated routers in field DistributedDirector is NOT a router Dedicated box for DistributedDirector processing

6F0_4553_c1 © 1999, Cisco Systems, Inc. What Does DistributedDirector Do? Resolves domain or host names to a specific server (IP address) Provides transparent access to topologically closest Internet/intranet server relative to client Maps a single DNS host name to the “closest” server to client Dynamically binds one of several IP addresses to a single host name Eliminates need for end-users to choose from a list of URL/host names to find “best” server The only solution which uses intelligence in the network infrastructure to direct client to best server

7F0_4553_c1 © 1999, Cisco Systems, Inc. APPL2 APPL1 APPL IP DD Client Resolve appl.com DNS-Based Distribution Client connects to appl.com appl.com request routed to DistributedDirector DistributedDirector uses multiple decision metrics to select appropriate server destination DistributedDirector sends destination address to client Client connects to the appropriate server

8F0_4553_c1 © 1999, Cisco Systems, Inc. How Are DistributedDirector Choices Made? Director Response Protocol (DRP) Interoperates with remote routers (DRP agents) to determine network topology Determines network distance between clients and server Client-to-server link latency (RTT) Server availability Administrative “cost” Take a server out of service for maintenance Proportional distribution For heterogeneous distributed server environments Random distribution

9F0_4553_c1 © 1999, Cisco Systems, Inc. Client Web Server DistributedDirector DRP Agents Internet Web Server Director Response Protocol (DRP) Operates with routers in the field to determine: Client-to-server network proximity Client-to-server link latency

10F0_4553_c1 © 1999, Cisco Systems, Inc. Client AS3 AS1 AS4 One Hop Two Hops AS2 Server DRP Server DRP DRP “External” Metric Measures distance from DRP agents to client in BGP AS hop counts Server DRP

11F0_4553_c1 © 1999, Cisco Systems, Inc. Measures client-to-DRP server round-trip times Compares link latencies Server with lowest round-trip time is considered “best” Maximizes end-to-end server access performance DRP “Round-Trip Time” Metric RTT Measurement Client AS1 AS4 Server DRP Server DRP AS3 AS2 Server DRP

12F0_4553_c1 © 1999, Cisco Systems, Inc. “Portion” Metric Proportional load distribution across heterogeneous servers Can also be used to enable traditional round-robin DNS Server 1 SPARCstation Server 1 SPARCstation Server 2 SPARCstation Server 2 SPARCstation Server 3 Pentium 60 MHz Server 3 Pentium 60 MHz Server 4 Pentium 60 MHz Server 4 Pentium 60 MHz “Portion” Metric Value Server 5 Pentium 166 MHz Server 5 Pentium 166 MHz 7/24 = 29.2% 8/24 = 33.3% 2/24 = 8.3% 5/24 = 20.8% 24/24 = 100% Portion of Connections Portion of Connections Total = 24

13F0_4553_c1 © 1999, Cisco Systems, Inc. Server Availability Parameter DistributedDirector establishes a TCP connection to the service port on each remote server, thus verifying that the service is available Verification is made at regular intervals Port number and connection interval are configurable Minimum configurable interval is ten seconds Maximizes service availability as seen by clients

14F0_4553_c1 © 1999, Cisco Systems, Inc. DistributedDirector— How Does It Work? Two configuration modes: DNS caching name server authoritative for subdomain HTTP redirector for Modes configurable on per-domain basis

15F0_4553_c1 © 1999, Cisco Systems, Inc. DistributedDirector—Redundancy DNS mode Use multiple DistributedDirectors to provide several name servers authoritative for a given hostname to provide redundancy All DistributedDirectors are considered to be primary DNS servers HTTP mode Use multiple DistributedDirectors and Cisco’s Hot Standby Router Protocol (HSRP) to provide redundancy

16F0_4553_c1 © 1999, Cisco Systems, Inc. 16 LocalDirector F0_4553_c1 © 1999, Cisco Systems, Inc.

17F0_4553_c1 © 1999, Cisco Systems, Inc. LocalDirector LocalDirector appliance front-ends server farm Load balances connections to “best server” Failures, changes transparent to end users Improves response time Simplifies operations and maintenance Simultaneously supports different server platforms, operating systems Any TCP service (not just Web) LocalDirector Data Center Internet or Intranet User

18F0_4553_c1 © 1999, Cisco Systems, Inc. LocalDirector— Server Management Represents multiple servers with a single virtual address Easily place servers in and out of service Identifies failed servers: takes offline Identifies working servers: places in service IP address management Application-specific servers Maximum connections Hot-standby server

19F0_4553_c1 © 1999, Cisco Systems, Inc. LocalDirector—Specifications 80-Mbps throughput—model Mbps throughput—model 430 Fast Ethernet channel Supports up to 64,000 virtual and real IP addresses Up to 16 10/100 Ethernet, 4 FDDI ports One-million simultaneous TCP connections TCP, UDP applications supported

20F0_4553_c1 © 1999, Cisco Systems, Inc. Network Address Translation Client traffic destined for virtual address is distributed across multiple real addresses in the server cluster Transparent to client and server Network Address Translation (NAT) Requires all traffic to pass through LocalDirector Virtuals and reals are IP address/port combination Client IP Server 2 Server 1Server 3 LocalDirector Virtual Address Real Addresses Server Cluster

21F0_4553_c1 © 1999, Cisco Systems, Inc. Session Distribution Algorithm Passive approach Least connections Weighted Fastest Linear Source IP

22F0_4553_c1 © 1999, Cisco Systems, Inc. Ideal for Mission-Critical Applications TAP Servers Mail, Web, FTP, and so on LocalDirector High-Availability Solution

23F0_4553_c1 © 1999, Cisco Systems, Inc. LocalDirector Strengths Network Address Translation (NAT) allows arbitrary IP topology between LocalDirector and servers Proven market leader with extensive field experience Rich set of features to map between virtual and real addresses Bridge-like operation allows transparent deployment and gradual migration to NAT

24F0_4553_c1 © 1999, Cisco Systems, Inc. LocalDirector Weaknesses NAT requires all traffic to be routed through a single box NAT requires that data be scanned and manipulated beyond the TCP/UDP header Two interface types supported: FE and FDDI

25F0_4553_c1 © 1999, Cisco Systems, Inc. 25 MultiNode Load Balancing F0_4553_c1 © 1999, Cisco Systems, Inc.

26F0_4553_c1 © 1999, Cisco Systems, Inc. MultiNode Load Balancing (MNLB) Next-generation server load balancing Unprecedented high availability Eliminate single points of failure Unprecedented scalability Allow immediate incremental or large-scale expansion of application servers New dynamic server feedback Balance load according to actual application availability and server workload

27F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB MNLB—What Is It? Hardware and software solution that distributes IP traffic across server farms Cisco IOS router and switch based Implementation of Cisco’s ContentFlow architecture Utilizes dynamic feedback protocol for balancing decisions

28F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB MNLB Features Defines single-system image or “virtual address” for IP applications on multiple servers Load balances across multiple servers Uses server feedback or statistical algorithms for load-balancing decisions Server feedback contains application availability and/or server work capacity Algorithms include round robin, least connections, and best performance

29F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB MNLB Features Session packet forwarding distributed across multiple routers or switches Supports any IP application: TCP, UDP, FTP, HTTP, Telnet, and so on For IBM OS/390 Parallel Sysplex environments: Delivers generic resource capability Makes load-balancing decisions based on OS/390 Workload Manager data

30F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Components Services Manager Software runs on LocalDirector ContentFlow Flow Management Agent Makes load-balancing decisions Uses MNLB to instruct Forwarding Agents of correct server destination Uses server feedback protocol to maintain server capacity and application availability info Backup Services Manager Enables 100% availability for Services Manager No sessions lost due to primary services manager failure Backup Service Manager Services Manager

31F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Components Forwarding Agent Cisco IOS router and switch software ContentFlow Flow Delivery Agent Uses MNLB to communicate with Services Manager Sends connection requests to Services Manager Receives server destination from Services Manager Forwards data to chosen server Workload Agents Runs on either server platforms or management consoles Maintains information on server work capacity and application availability Communicates with Services Manager using server feedback protocol For IBM OS/390 systems delivers OS/390 Workload Manager data Workload Agents Forwarding Agents

32F0_4553_c1 © 1999, Cisco Systems, Inc. Workload Agents Forwarding Agents Services Manager Client How Does MNLB Work? Initialization: Services Manager locates Forwarding Agents Instructs each Forwarding Agent to send session requests for defined virtuals to Services Manager Locates Workload Agents and receives server operating and application information

33F0_4553_c1 © 1999, Cisco Systems, Inc. How Does MNLB Work? Session packet flow 1. Client transmits connection request to virtual address 2. Forwarding Agent transmits packet to Services Manager Services Manager selects appropriate destination and tells Forwarding Agent 3. Forwarding Agent forwards packet to destination 4. Session data flows through any Forwarding Agent router and switch The Services Manager is also notified on session termination Client

34F0_4553_c1 © 1999, Cisco Systems, Inc. Dispatch Mode of Session Distribution Virtual IP address (VIPA) on hosts (alias, loopback) Load-balancer presents virtual IP address to network Load-balancer forwards packets based on Layer 2 address Uses ARP to obtain Layer 2 address IP header still contains virtual IP address Requires subnet adjacency since it relies on Layer 2 addressing Client IP Server 2 Server 1Server 3 LocalDirector Virtual Address Real Addresses Server Cluster VIPA

35F0_4553_c1 © 1999, Cisco Systems, Inc. Dispatch Mode Benefits No need to scan past TCP/UDP header, may achieve higher performance Outbound packets may travel any path Issues Inbound packets must pass through the load-balancer Ignoring outbound packets does limit the effectiveness of the balancing decisions Subnet adjacency can be a real network design problem Client IP Server 2 Server 1Server 3 Server Cluster Client

36F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Uses either NAT or modified dispatch mode NAT MNLB architecture creates high availability—no single point of failure No throughput bottleneck Modified dispatch mode Uses Cisco Tag Switch network to address across multiple subnets Inbound and outbound traffic can travel through any path Services Manager notified on session termination MNLB Client

37F0_4553_c1 © 1999, Cisco Systems, Inc. 37 Benefits F0_4553_c1 © 1999, Cisco Systems, Inc.

38F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB: The Next Generation Unprecedented high availability Eliminate single points of failure Unprecedented scalability Allow immediate incremental or large- scale expansion of application servers New dynamic server feedback Balance load according to actual application availability and server work load

39F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Single System Image One IP address for the server cluster Easy to grow and maintain server cluster without disrupting availability or performing administrative tasks on clients Easy to administrate clients, only one IP address Enhances availability

40F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Server Independence MNLB operates independent of server platform Server agents operate in IBM MVS, IBM OS/390, IBM TPF, NT, and UNIX sites Application-aware load distribution available in all server sites Enables IP load distribution for large IBM Parallel Sysplex complexes

41F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Application-Aware Load Balancing Client traffic is distributed across server cluster to the best server for the request Transparent to client Allow agent(s) in servers to provide intelligent feedback to network as basis for balancing decision Uses IBM’s OS/390 Work Load Manager in OS/390 Parallel Sysplex environments Application-aware load balancing ensures session completion

42F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Total Redundancy— Ultimate Availability No single point of failure for either applications, servers, or MNLB Multiple forwarding agents ensure access to server complex Multiple Services Managers ensure load balancing is maintained through failure Single cluster address for multiple servers maintains access to applications in case of server failure or server maintenance

43F0_4553_c1 © 1999, Cisco Systems, Inc. Unbounded Scalability Scalability limited only by the number and throughput of forwarding agents Performance limited only by the number and throughput of Forwarding Agents Forwarding Agents can be added at any time with no loss of service Servers can be added with no network design changes NO throughput bottlenecks Scales to the largest of Web sites MNLB

44F0_4553_c1 © 1999, Cisco Systems, Inc. 44 Implementation and Road Map F0_4553_c1 © 1999, Cisco Systems, Inc.

45F0_4553_c1 © 1999, Cisco Systems, Inc. MNLB Phase One Implementation MNLB components Cisco IOS-based forwarding agents in Cisco 7500, 7200, 4000, 3600, and Catalyst ® 5000R Services Manager Services Manager runs on LocalDirector chassis LocalDirector hot-standby for phase one backup manager Workload Agents for IBM OS/390, IBM TPF, NT, and UNIX

46F0_4553_c1 © 1999, Cisco Systems, Inc. Thank You Q & A 46F0_4553_c1 © 1999, Cisco Systems, Inc.

47F0_4553_c1 © 1999, Cisco Systems, Inc.