Copyright © 2002 Wensong Zhang. Page 1 Free Software Symposium 2002 Linux Virtual Server: Linux Server Clusters for Scalable Network Services Wensong Zhang.

Slides:



Advertisements
Similar presentations
Clustering Architectures in GIS/SI
Advertisements

System Area Network Abhiram Shandilya 12/06/01. Overview Introduction to System Area Networks SAN Design and Examples SAN Applications.
High Availability Options for JD Edwards EnterpriseOne Shawn Scanlon, GSI.
Chapter 4 Infrastructure as a Service (IaaS)
ITIS 3110 Jason Watson. Replication methods o Primary/Backup o Master/Slave o Multi-master Load-balancing methods o DNS Round-Robin o Reverse Proxy.
Scalable Content-aware Request Distribution in Cluster-based Network Servers Jianbin Wei 10/4/2001.
NETWORK LOAD BALANCING NLB.  Network Load Balancing (NLB) is a Clustering Technology.  Windows Based. (windows server).  To scale performance, Network.
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)
CS 623 Lecture #9 Yen-Yu Chen Utku Irmak. Papers to be read Better operating system features for faster network servers.Better operating system features.
CSE 190: Internet E-Commerce Lecture 16: Performance.
CS526 Dr.Chow1 HIGH AVAILABILITY LINUX VIRTUAL SERVER By P. Jaya Sunderam and Ankur Deshmukh.
Scaling Service Requests Linux: ipvsadm & iptoip.
Chris Shuster 4/29/2009 1Chris Shuster.  Application Servers ◦ Backend processing platform. ◦ Multiple platforms, operating system and architecture.
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)
11 SERVER CLUSTERING Chapter 6. Chapter 6: SERVER CLUSTERING2 OVERVIEW  List the types of server clusters.  Determine which type of cluster to use for.
Is Windows Right for High-Availability Enterprise Applications? Dan Kusnetzky, Vice President System Software Research IDC.
10/02/2004ELFms meeting1 Linux Virtual Server Miroslav Siket FIO-FS.
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
Barracuda Load Balancer Server Availability and Scalability.
9/ Network Computing Lab EECS KAIST1 Deployment of cluster system and load balancing technique Junehwa Song.
Load Balancing Dan Priece. What is Load Balancing? Distributed computing with multiple resources Need some way to distribute workload Discreet from the.
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.
Module 13: Network Load Balancing Fundamentals. Server Availability and Scalability Overview Windows Network Load Balancing Configuring Windows Network.
JOnAS developer workshop – /02/2004 status Emmanuel Cecchet
Technology Overview. Agenda What’s New and Better in Windows Server 2003? Why Upgrade to Windows Server 2003 ?  From Windows NT 4.0  From Windows 2000.
Windows 2000 Advanced Server and Clustering Prepared by: Tetsu Nagayama Russ Smith Dale Pena.
Submitted by: Shailendra Kumar Sharma 06EYTCS049.
On the Performance of TCP Splicing for URL-aware Redirection Ariel Cohen, Sampath Rangarajan, and Hamilton Slye The 2 nd USENIX Symposium on Internet Technologies.
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.
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
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.
Workpackage 3 New security algorithm design ICS-FORTH Ipswich 19 th December 2007.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
Unit 9: Distributing Computing & Networking Kaplan University 1.
Clustering Servers Chapter Seven. Exam Objectives in this Chapter:  Plan services for high availability Plan a high availability solution that uses clustering.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization of Distributed & Mobile Systems Dr. Michael R.
DotSlash – or how to deal with 15 minutes of fame Weibin Zhao Henning Schulzrinne Columbia University CATT/WICAT Annual Research Review November 14, 2003.
Net 221D:Computer Networks Fundamentals
High Availability (HA)  Goal : a solution for reliability, availability, and serviceability in Linux.  Focus on the services in the network.  Use the.
CHAPTER 7 CLUSTERING SERVERS. CLUSTERING TYPES There are 2 types of clustering ; Server clusters Network Load Balancing (NLB) The difference between the.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Cloud Computing Computer Science Innovations, LLC.
Chapter 3 Selecting the Technology. Agenda Internet Technology –Architecture –Protocol –ATM IT for E-business –Selection Criteria –Platform –Middleware.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
1 Super/Ultra-Basic Load-Balancing Introduction For AFNOG 2012 Joel Jaeggli.
Linux Virtual Server Jim Lawson VAGUE/University of Vermont /
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Understanding Solutions
Bentley Systems, Incorporated
Distributed Cache Technology in Cloud Computing and its Application in the GIS Software Wang Qi Zhu Yitong Peng Cheng
High Availability Linux (HA Linux)
OpenMosix, Open SSI, and LinuxPMI
SCTP Handoff for Cluster Servers
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
IS 4506 Server Configuration (HTTP Server)
File Transfer Issues with TCP Acceleration with FileCatalyst
Hadoop Technopoints.
Multiple Processor Systems
Internet Protocols IP: Internet Protocol
Introduction to Cyberspace
Client/Server Computing and Web Technologies
IS 4506 Configuring the FTP Service
Presentation transcript:

Copyright © 2002 Wensong Zhang. Page 1 Free Software Symposium 2002 Linux Virtual Server: Linux Server Clusters for Scalable Network Services Wensong Zhang China National Laboratory for Parallel & Distributed Processing Free Software Symposium 2002 October 22, 2002

Copyright © 2002 Wensong Zhang. Page 2 Free Software Symposium 2002 Agenda Introduction Introduction The Linux Virtual Server framework The Linux Virtual Server framework Building Scalable Network Services using LVS Building Scalable Network Services using LVS Future Work of LVS Future Work of LVS Characteristics of LVS Characteristics of LVS

Copyright © 2002 Wensong Zhang. Page 3 Free Software Symposium 2002 Introduction Internet Explosive Growth of the Internet Explosive Growth of the Internet –100% annual growth rate Sites receiving unprecedented workload Sites receiving unprecedented workload –Yahoo! 625 million views per day –AOL Web cache system receiving 5 billion requests per day

Copyright © 2002 Wensong Zhang. Page 4 Free Software Symposium 2002 Introduction The requirements of Network Services Incremental scalability Incremental scalability 24x7 availability 24x7 availability Manageability Manageability Cost-effectiveness Cost-effectiveness

Copyright © 2002 Wensong Zhang. Page 5 Free Software Symposium 2002 Introduction Possible Solutions Single server upgrade Single server upgrade –complicated, high cost, single point of failure,... Cluster of servers is becoming a viable architecture for SNS Cluster of servers is becoming a viable architecture for SNS –Redundancy --> HA –Divide-and-Conquer --> High-performance –High performance/cost ratio

Copyright © 2002 Wensong Zhang. Page 6 Free Software Symposium 2002 LVS Framework The Linux Virtual Server Project The goal of the Linux Virtual Server project The goal of the Linux Virtual Server project –to provide a basic framework for building highly scalable and highly available network services using a large cluster of commodity servers.

Copyright © 2002 Wensong Zhang. Page 7 Free Software Symposium 2002 LVS Framework Framework

Copyright © 2002 Wensong Zhang. Page 8 Free Software Symposium 2002 IPVS is an advanced Layer-4 switching LVS Framework IP Virtual Server Implemented in the Linux kernel Implemented in the Linux kernel Three IP load balancing techniques Three IP load balancing techniques –Virtual Server via NAT –Virtual Server via IP Tunneling –Virtual Server via Direct Routing Eight scheduling algorithms Eight scheduling algorithms

Copyright © 2002 Wensong Zhang. Page 9 Free Software Symposium 2002 LVS Framework VS/NAT

Copyright © 2002 Wensong Zhang. Page 10 Free Software Symposium 2002 LVS Framework VS/TUN

Copyright © 2002 Wensong Zhang. Page 11 Free Software Symposium 2002 LVS Framework VS/DR

Copyright © 2002 Wensong Zhang. Page 12 Free Software Symposium 2002 LVS Framework Comparison Note: those numbers are estimated based on the assumption that load balancer and backend servers have the same hardware configuration.

Copyright © 2002 Wensong Zhang. Page 13 Free Software Symposium 2002 LVS Framework Scheduling Algorithms Round-Robin Round-Robin Weighted Round-Robin Weighted Round-Robin Least-Connection Least-Connection Weighted Least-Connection Weighted Least-Connection

Copyright © 2002 Wensong Zhang. Page 14 Free Software Symposium 2002 LVS Framework Scheduling Algorithms (Continued) Locality-Based Least-Connection Locality-Based Least-Connection Locality-Based Least-Connection with Replication Locality-Based Least-Connection with Replication Source Hashing Source Hashing Destination Hashing Destination Hashing

Copyright © 2002 Wensong Zhang. Page 15 Free Software Symposium 2002 LVS Framework State Synchronization Conn Sync daemon (kernel thread) Conn Sync daemon (kernel thread) UDP Multicast UDP Multicast

Copyright © 2002 Wensong Zhang. Page 16 Free Software Symposium 2002 Layer-7 switching in user-space Layer-7 switching in user-space –high overhead of context switching and memory copying –limited scalability LVS Framework KTCPVS

Copyright © 2002 Wensong Zhang. Page 17 Free Software Symposium 2002 kernel thread kernel thread loadable scheduling module loadable scheduling module LVS Framework KTCPVS (Cont’d)

Copyright © 2002 Wensong Zhang. Page 18 Free Software Symposium 2002 LVS Framework Cluster Monitoring software Red Hat Cluster Server / Piranha Red Hat Cluster Server / Piranha –LVS + Piranha UltraMonkey UltraMonkey –LVS + lvs-gui + heartbeat + ldirectord Keepalived Keepalived Netparse Netparse etc. etc.

Copyright © 2002 Wensong Zhang. Page 19 Free Software Symposium 2002 Building SNS using LVS General Architecture 3 tiers 3 tiers –Load balancer –Server cluster –Shared storage

Copyright © 2002 Wensong Zhang. Page 20 Free Software Symposium 2002 Building SNS using LVS Building Blocks Load balancer Load balancer –Layer-4 switching, Layer-7 switching Server Server –HTTP, HTTPS, FTP, SMTP, POP3, IMAP4, most TCP and UDP services Shared storage Shared storage –database, network file system, distributed file system,...

Copyright © 2002 Wensong Zhang. Page 21 Free Software Symposium 2002 Building SNS using LVS High Availability Server failover Server failover –ping, service detection, etc Load balancer failover Load balancer failover –state synchronization –heartbeat

Copyright © 2002 Wensong Zhang. Page 22 Free Software Symposium 2002 Building SNS using LVS Web Cluster

Copyright © 2002 Wensong Zhang. Page 23 Free Software Symposium 2002 Building SNS using LVS Cache Cluster

Copyright © 2002 Wensong Zhang. Page 24 Free Software Symposium 2002 Building SNS using LVS Mail Cluster

Copyright © 2002 Wensong Zhang. Page 25 Free Software Symposium 2002 Building SNS using LVS Some Sites using LVS UK National JANET Web Cache (wwwcache.ja.net) UK National JANET Web Cache (wwwcache.ja.net) linux.com linux.com sourceforge.net sourceforge.net valinux.com valinux.com real.com real.com One of largest PC manufacturers One of largest PC manufacturers etc. etc.

Copyright © 2002 Wensong Zhang. Page 26 Free Software Symposium 2002 Future Works of LVS Future Works Adding more load balancing algorithms Adding more load balancing algorithms Developing more advanced/flexible cluster monitoring software Developing more advanced/flexible cluster monitoring software Making KTCPVS ready for production Making KTCPVS ready for production Exploring TCP handoff Exploring TCP handoff etc. etc.

Copyright © 2002 Wensong Zhang. Page 27 Free Software Symposium 2002 Characteristics of LVS Characteristics LVS extends Linux kernel to support three IP load balancing techniques LVS extends Linux kernel to support three IP load balancing techniques Eight scheduling algorithms Eight scheduling algorithms High scalability (up to 100 nodes) High scalability (up to 100 nodes) High availability High availability Supporting most TCP and UDP services, no modifications to either clients or servers Supporting most TCP and UDP services, no modifications to either clients or servers

Copyright © 2002 Wensong Zhang. Page 28 Free Software Symposium 2002 Characteristics of LVS Compared to Other Commercial Products More IP load balancing techniques More IP load balancing techniques Multiple scheduling algorithms Multiple scheduling algorithms State synchronization State synchronization A robust and stable code base, a large user and developer base. A robust and stable code base, a large user and developer base. Reliability proven in big real world applications Reliability proven in big real world applications Free to everyone Free to everyone

Copyright © 2002 Wensong Zhang. Page 29 Free Software Symposium 2002 Summary Introduction Introduction The Linux Virtual Server framework The Linux Virtual Server framework Building Scalable Network Services using LVS Building Scalable Network Services using LVS Future Work of LVS Future Work of LVS Characteristics of LVS Characteristics of LVS

Copyright © 2002 Wensong Zhang. Page 30 Free Software Symposium 2002 Call to Action Building scalable network services is complicated and expensive Building scalable network services is complicated and expensive LVS is here to help make your life easier LVS is here to help make your life easier LVS is proven stable, and is being deployed by more and more sites. LVS is proven stable, and is being deployed by more and more sites.

Copyright © 2002 Wensong Zhang. Page 31 Free Software Symposium 2002 Collateral The Linux Virtual Server Project The Linux Virtual Server Project(