The Research and Realization of Server Load Balancing

Author
LiHui
Advisor
QuBo
School
Dalian Maritime University
Major
Management Science and Engineering
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2003
Downloads
260
Citations
9

Request the full text

Abstract

After 34 years of development , the Internet has become an integral part of human society . At the same time , in the course of business success , the network infrastructure is playing an increasingly important role . Due to the growing demand for Internet and enterprise business expansion , the continued availability of the corporate Web site , either directly or indirectly affect the corporate image, customer satisfaction , and even the company's market share . Therefore, the company 's e-commerce website , must be able to provide high performance, high availability, security , high scalability of the network environment to run the application on which application services can provide 24 × 7 . Server load balancing -SLB (Server Load Balance) is a common solution . An implementation of server load balancing technology, virtual server technology to multiple servers , high - performance , high scalability , high availability server clusters , while the eyes of the entire server cluster and then customers demand as a server . LVS (Linux Virtual Server) server cluster system is built using the open source Linux operating system . Load balancing , a router has modified the routing rules , the customer requests to the server within the cluster nodes distributed in accordance with the load balancing strategy , the load balancing . The author carefully study the load balancing based on the theory , the address conversion ( NAT ) , IP tunneling (IP Tunneling) and direct routing (DR) three implementations are discussed in terms of performance , applicability , safety , analysis and comparison , and focuses on the DR mode code . I believe that the DR way better than the other two ways , whether in performance or practicality . DR mode is less secure than NAT , DR way without compromising system security . In DR mode LVS system in practical applications must be able to meet the general needs of users .

Table of contents

Abstract 6-7 Abstract 7-8 Introduction 8-9 Chapter 1 server load balancing 9-17 < br /> 1.1 load balancing strategy 9-10 1.1.1 polling scheduling algorithm-RR (Round-Robin Scheduling) 9-10 1.1.2 Weighted Round Robin scheduling algorithm-WRR (Weighted Round-Robin Scheduling) 10 1.1.3 Minimum connection scheduling algorithm-LC (Least-Connection Scheduling) 10 1.1.4 weighted least connections scheduling algorithm-WLC (Weighted Least-Connection Scheduling) 10 1.2 load balancing technology to achieve the level 10-17 1.2.1 client-based load balancing 11 -12 1.2.2 application server load balancing technology 12 1.2.3 Domain Name System-based load balancing 12-13 1.2.4 level agreement switching technology 13-14 1.2.5 transmission link aggregation 14-15 1.2.6 network access protocol exchange 15-17 Chapter 2 Linux Virtual Server load balancing 17-26 2.1 What is Linux Virtual Server (LVS) 17 2.2 Linux virtual servers operating mechanism 17 -18 2.3 implementations 18-23 2.3.1 Address Translation mode-NAT (Network Address Translation) 19-20 2.3.2 IP tunnel mode -IP Tunneling 20-22 2.3.3 Direct routing mode-DR (Direct Routing) 22-23 2.4 Comparison between various implementations 23 -26 Chapter 3 Linux2.4.x TCP / IP protocol stack works 26-32 3.1 Overview 26-27 3.2 IP layer 27-28 3.3 Layer 4 protocol 28 3.4 netfilter mechanisms function and use 28-32 3.4.1 netfilter mechanism Features 28-30 3.4.2 netfilter functions using 30-32 Chapter 4, \4.1 Network topology 32 4.2 Problems 32-34 4.2.1 ARP problem 32-34 4.2.2 server node status monitoring 34 4.3 software system architecture 34-35 4.4 implementation 35-39 4.4.1 kernel part 35 -37 4.4.2 Management Tools 37 4.4.3 Management interface implementation 37-39 Chapter 5 virtual server availability and network security 39-44 5.1 virtual server availability 39-42 5.1.1 load balancer failure handling 40-41 5.1.2 Connection state synchronization 41-42 5.1.3 server node failure handling 42 5.2 virtual server security analysis 42-44 Conclusion 44-45 pursue a degree papers published during 45-46 Thanks 46-47 References 47-50 Appendix 50-57 an important data structure is defined in Appendix 50-53 Appendix II main function lvs_in () code to achieve 53-56 Appendix III DR mode packet part of the code to achieve 56-57

Related dissertations

  1. The Coverage Model of Nodes’Relative Leaving Probability of Application Layer Multicast Based on NICE and Load Balancing Mechanism
    GaoKuan ·Central China Normal University ·2014 ·Master's thesis
  2. Research and Implementation of a Load Balancing System Based on Web Server Clusters
    LiangRui ·Dalian Maritime University ·2013 ·Master's thesis
  3. Study and Realization of Dynamic Scheduling Based on Linux Virtual Server Cluster
    LiuHui ·Anhui University ·2012 ·Master's thesis
  4. Load-Balanced of Lvs Scheduling Based on Adaptive Niche Genetic Algorithm
    YangYue ·Southwest Jiaotong University ·2013 ·Master's thesis
  5. The Research and Implementation of Dynamic Load Balancing Strategy Based on Lvs Cluster
  6. WWW access to features and proxy cache
    HaoQinFen ·Institute of Computing Technology ·2001 ·Doctoral dissertation
  7. Design and Implementation of a Clustered Video Server in Distributed VOD System
  8. The Design and Realization of Online Real-Time Experiment Judgement System Controlled by LVS Algorithms
  9. Research on PC Cluster and Application in Online Exercise Judge System
    YeYun ·Zhejiang University of Technology ·2007 ·Master's thesis
  10. Load Balancing Research Based-on Data Migration in Computational Grid
    MengFanEr ·Jilin University ·2004 ·Master's thesis
  11. SOCKS VPN Load Balancing Research and Implementation
    FangZuo ·Beijing Jiaotong University ·2007 ·Master's thesis
  12. The Research and Realization of Computer Cluster Technology
    LiZhongFu ·Chinese Geology University (Beijing) ·2006 ·Master's thesis
  13. Analysis and Improvement for the Dynamic Load-balancing Algorithm of Linux Virtual Server
    ZhouCheng ·Wuhan University of Technology ·2006 ·Master's thesis
  14. An Open Network Computing Platform
  15. Design and Implementation of Large-Scale Mobile Email Systems
  16. Research on Load Balancing and Cluster System
    ZhangHongWu ·Chongqing University ·2004 ·Master's thesis
  17. Study of Large Scale Distributed E-mail System and Its Implementation
  18. Constructing a Network Server with Linux cluster technology
    ZhouZuoChao ·Northeast Normal University ·2002 ·Master's thesis
  19. An Improved LVS Dynamic Load Balancing Algorithm
  20. A New Dynamic Loading Balance Algorithm Based on LVS Cluster
    ZuoChuang ·Ocean University of China ·2008 ·Master's thesis