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
- Server Load Balancing
- Load balancing strategy
- Linux Virtual Server
- Direct routing load equalizer
- Server node
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
- The Coverage Model of Nodes’Relative Leaving Probability of Application Layer Multicast Based on NICE and Load Balancing Mechanism
- Research and Implementation of a Load Balancing System Based on Web Server Clusters
- Study and Realization of Dynamic Scheduling Based on Linux Virtual Server Cluster
- Load-Balanced of Lvs Scheduling Based on Adaptive Niche Genetic Algorithm
- The Research and Implementation of Dynamic Load Balancing Strategy Based on Lvs Cluster
- WWW access to features and proxy cache
- Design and Implementation of a Clustered Video Server in Distributed VOD System
- The Design and Realization of Online Real-Time Experiment Judgement System Controlled by LVS Algorithms
- Research on PC Cluster and Application in Online Exercise Judge System
- Load Balancing Research Based-on Data Migration in Computational Grid
- SOCKS VPN Load Balancing Research and Implementation
- The Research and Realization of Computer Cluster Technology
- Analysis and Improvement for the Dynamic Load-balancing Algorithm of Linux Virtual Server
- An Open Network Computing Platform
- Design and Implementation of Large-Scale Mobile Email Systems
- Research on Load Balancing and Cluster System
- Study of Large Scale Distributed E-mail System and Its Implementation
- Constructing a Network Server with Linux cluster technology
- An Improved LVS Dynamic Load Balancing Algorithm
- A New Dynamic Loading Balance Algorithm Based on LVS Cluster