Linux-based server cluster campus network load balancing and reliability of the technology research
- Author
- ShenZhiBing
- Advisor
- LuoYu , NingHong
- School
- People's Liberation Army National Defense University of Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP393 Computer network
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 272
- Citations
- 0
Abstract
Human society is entering a network-centric information age, people need to be more efficient, more reliable, more feature-rich network services. Our network construction is also the rapid development of the campus network, enterprise network, MAN and other parks network construction more and more, but as the number of users and network traffic continues to increase, the performance of the campus network has been unable to meet the demand, Therefore, people used the clustering technology to improve server performance, but this study is to achieve load balancing cluster key. Firstly, through the general structure of the current campus network analysis, pointing out that the user access services, using content buffering proxy server, Web application servers such as the existence of these three areas of potential performance bottlenecks, you need to use load balancing technology, in addition, Some of the key areas, there is still a single point of failure (Single Point of Failure) issues need to be addressed in order to improve system reliability. Then the existing variety of load balancing techniques of analysis, from the technical point of view that they realize the principle that their respective advantages and disadvantages, and through the analysis of the logical structure of the existing load balancing techniques are summarized proposed centralized and distributed two structures. Finally, through the above analysis, for the campus network application environment, proposed a set of Linux-based load balancing solution. This package contains four parts: ● PPPOE (PPP Over Ethernet) access server cluster design and implementation. Now using PPPOE protocol without load balancing feature, the composition can not effectively access server cluster This article was amended on PPPOE protocol, adding load balancing, and to achieve a PPPOE access server cluster, to solve the problem of user access . ● Internet Cache Dispatcher (ICD) system design and implementation. Now the campus network to access the Internet normally use a proxy server with content buffering, when the number of users is large, it will form a performance bottleneck. This article was designed and implemented ICD system, the user's request packets based on destination address is assigned to a different proxy server, the proxy server cluster to achieve load balancing and improved proxy server cache hit rate. ● Linux Virtual Server (LVS) system analysis and improvement. When the Web and other application servers can not meet the needs of users, you can use the application server cluster LVS system configuration, but there is a user connection is lost LVS system problems, this paper has been proposed to improve the dynamic replication user is connected solutions. ● Heartbeat hot backup system analysis and improvement. For the campus network node exists critical single point of failure problem, you can use the Heartbeat software construction hot backup system, but Heartbeat Software in monitoring accuracy and flexibility, there are some problems, this paper has been improved, making the software can be applied to different applications campus network. These four parts can vary according to the actual needs of the campus network, campus network applied to some or all of the building, together form a high performance, high scalability and high availability campus network architecture. This paper gives details of these solutions design and implementation.
Table of contents
Abstract 5-6
ABSTRACT 6-7
Chapter 1 Introduction 7-11
1.1 Background 7-8 <br / > 1.2 subjects research objectives and research 8
1.3 the general structure of the current campus network 8-9
1.4 potential problems and our solutions 9-10
1.4.1 access Server 9
1.4.2 Proxy (Cache) server 9-10
1.4.3 application server 10
1.4.4 single point of failure (Single Point of Failure) problem 10
1.5 Summary 10-11
Chapter 2 analysis of existing load balancing technology 11-15
2.1 from realized technical analysis 11-13
2.1.1 hardware solutions 11
2.1.2 polling DNS 11-12
2.1.3 reverse proxy technology 12
2.1.4 client-based solutions 12
2.1.5 based NAT (Network Address conversion ) load balancing technology 12
2.1.6 semi- centric load balancing technology 12
2.1.7 application layer load balancing technology 12-13
2.2 from the logical structure analysis 13-14
2.2.1 use traffic distribution centralized structure 13
2.2.2 consultative process with distributed architecture 13-14
2.3 Summary 14-15
Chapter 3 PPPOE access server cluster design and implementation 15-26
3.1 application background 15-16
3.1.1 What is PPPOE protocol 15
3.1.2 Why use PPPOE protocol user access 15-16
3.1 .3 PPPOE protocol load balancing problem exists 16
3.2 PPPOE protocol description 16-18
3.2.1 PPPOE protocol procedure Introduction 16-17
3.2.2 PPPOE protocol basic frame format 17-18
3.2.3 discovery (Discovery) stage involves the introduction of several data packets 18
3.2.4 discovery (Discovery) stage of the process described 18
3.3对PPPOE protocol improvement program 18-21
3.3.1 improvements on PPPOE protocol envisaged 18 - 19
3.3.2 delayed response based on load sorting algorithm 19-20
3.3.3 load calculations 20-21
3.4 PPPOE protocol improvements achieved 21-24
3.4.1 improved main data structure used : 21-22
3.4.2 configuration file 22
3.4.3 original discovery phase packet processing flow chart 22-23
3.4.4 improved discovery phase packet processing flow chart 23
3.4.5 a description of the main functions 23-24
3.4.6 test 24
3.5 PPPOE access server cluster system features : 24-25
3.6 Summary 25 - 26
Chapter 4 Internet Cache Dispatcher system design and Implementation 26-35
4.1 application background 26
4.2 ICD system design 26-29
4.2.1 design ideas 26-27
4.2.2 design Goals 27
4.2.3 ICD system architecture 27-28 <br / > 4.2.4 scheduling algorithm 28-29
4.3 ICD system implementation 29-33
4.3.1 of the Linux kernel IP packet processing relevant part of the analysis 29-30
4.3.2 packet forwarding process, the main data structure 30-32
4.3.3 packet forwarding process, the main description of the procedures 32
4.3.4 packet forwarding process flowchart 32-33
4.4 ICD system features 33-34
4.5 Summary 34-35
Linux Virtual Server Chapter 5 analysis and Improvement 35-42
5.1 application background 35
5.2 Linux Virtual Server the main content 35-37 <br / > 5.2.1 LVS cluster common structure 35-36
5.2.2 LVS three IP load balancing technology 36-37
5.2.3 LVS four load scheduling algorithm 37
5.3 LVS program Analysis 37-38
5.3.1 LVS major functional block diagram 37
5.3.2 LVS in packet processing 37-38
5.4对LVS improvements 38-41
5.4.1 LVS problems 38
5.4. 2 LVS improved basic idea 38-39
5.4.3 LVS improved realization 39-41
5.5 Summary 41-42
6 Chapter usability issues key nodes 42-50
6.1 application background 42
6.2 Heartbeat introduction 42-43
6.2.1 Heartbeat works 42-43
6.2.2 Heartbeat software architecture 43
6.3 Heartbeat code analysis 43-45
6.3.1 the main data structure Description 43-45
6.3.2 main functions and shell scripts description 45
6.4对Heartbeat software improvements 45-49
6.4. 1 Heartbeat software has some drawbacks 45
6.4.2 improved purpose 45-46
6.4.3 improved implementation 46-48
6.4.4 test for a variety of application environments 48-49
6.5 Summary 49-50
Chapter 7 Conclusion 50-52
7.1 contributions to this article 50
7.2 future work 50-52
Thanks 52-53
References 53-54
Related dissertations
- A Successful Design on Load Balancing Method Based on Campus Network Program
- Research on Qualitative Characteristics of Useful Financial Information Based on Fair Value
- Research of Supply Chain Coordination Model from the Perspective of Customer Satisfaction
- Reliability Based Maintenance Management Study of AB Petrochemical Co
- Uncertain reliability of remanufacturing logistics network construction research environment based on
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Reliability Research and Analysis of the DGA Online Monitoring System
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM