Design and Implementation of the Load Balance Cluster System with High Availability Based on LVS
- Author
- ZuoJianBin
- Advisor
- LuoShouShan
- School
- Beijing University of Posts and Telecommunications
- Major
- Communications software
- Classification
- TN915.05 Communication network equipment
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 248
- Citations
- 2
Abstract
Today's computer technology has entered the era of network-centric computing. The client / server model of simplicity, ease of management and ease of maintenance, client / server computing model uses a lot online. A large number of services and applications (such as news services, online banking, e-commerce, video-on-demand, etc.) are around the Web. This has spurred the dramatic growth of Internet users and Internet traffic explosive growth. Are enormous challenges to network bandwidth and server-side, from the perspective of the development of network technology, the growth of the network bandwidth is much higher than the growth in server response speed and memory access speed can be expected that more and more bottlenecks will appears on the server side. How to build a highly available, cost-effective, scalable and easy to manage network service platform to meet the growing demand for network applications has become an urgent problem. In this case, based on the Linux virtual server load balancing cluster technology came into being. Linux-based virtual server cluster technology (LVS), the realization of the goal is to create a highly available, cost-effective, scalable and easy to manage a cluster of servers based on the Linux operating system to meet the growing network needs. This article is for LVS is how the above in a number of loosely connected independent server architecture in a cluster server, the entire cluster structure for a server to provide high availability network services for outside users. Another focus in this article is how to balance the load between each computer to improve the performance of the entire system. Reasonably allocated between multiple computers through various the load algorithms improve system performance load, avoid a server is too busy in the cluster, while the lighter load of other nodes, so that the load on the computer basically achieve balanced line . Mainly the following aspects: 1, describes the background and significance of the topic of the thesis, the network application server performance, at the same time proposed to improve server performance of the two programs; 2, narrative and the subject cluster equilibrium theory, including cluster definition, classification, development, related to the concept of load balancing techniques, balancing algorithm, balanced strategies; 3, Netfilter framework of the Linux kernel packet processing, LVS scheduling algorithm and IPVS software to achieve foundation. Explain how to use the Linux Virtual Server cluster system, including: the structure of LVS framework, the core software, architecture, and to achieve LVS three ways; 4, combined with the author where the actual needs of Hong Kong's Wen Wei Po, the cluster system needs analysis, and the results of the analysis of the cluster system overall design and configuration design. Then, according to the design, conduct detailed installation and configuration of the cluster system. Finally, to achieve cluster cluster mode testing, high availability testing, and scalability testing. The test results show that the author designed based on a highly available LVS load balancing cluster system is feasible, available, and reliable. 5, the summary of the subject and to make needed improvements perfect, and the direction of future research.
Table of contents
Abstract 4-6
Abstract 6-10
first chapter 10-13
1.1 topics background 10-11
1.2 purpose and significance 11
1.3 topics task and I work 11-12
1.4 thesis structure 12-13
second chapter of the cluster system and load balancing 13-22
2.1 cluster system 13-17
2.1.1 cluster concept 13
2.1.2 cluster classification 13-15
2.1.3 several typical cluster system 15-17
2.2 load balancing 17-21
2.2.1 the concept of load balancing 17-18
2.2.2 of several commonly used load balancing technology 18-20
2.2.3 of several commonly used load balancing algorithm 20-21
2.3 Summary 21-22
Chapter Linux virtual server (LVS) 22-41
3.1 LVS 22-24
3.2 LVS realization of the principle The 24-27
3.2.1 Netfilter framework introduced 24-25
of 3.2.2 of LVS in Netfiler achieve 25-27
3.3 LVS three load balancing mode 27-34
3.3.1 VS / NAT mode 27-29
3.3.2 VS / TUN mode 29-31
3.3.3 VS / DR mode 31-33
3.3.4 three modes 33-34
3.4 LVS scheduling algorithm 34-39
3.4.1 IPVS scheduling algorithm 34-38
3.4.2 Dynamic feedback load balancing algorithm 38-39
3.5 LVS cluster application example 39-40
3.6 Summary 40-41
Chapter IV high-availability load balancing cluster system analysis and design 41-53
4.1 cluster system needs analysis 41-42
4.2 cluster system's overall design 42-45
the
the 4.2.1 cluster system three-tier structure and the role of 42-43
4.2.2 cluster system network is divided 43-44
4.2.3 cluster system balancing strategy 44
4.2.4 cluster overall system design 44-45
4.3 cluster system configuration design 45-51
4.3.1 load balancing configuration program designed 46-47
4.3.2 true server configuration program designed 47-49
4.3.3 database server configuration program designed 49-50
4.3.4 cluster network build program design 50-51
4.4 cluster overall system architecture topology diagram 51-52
4.5 Summary 52-53
Chapter V high-availability load balancing cluster system implementation and testing 53-77
5.1 installation and configuration of cluster systems 53-70
5.1.1 load balancer installation and configuration 53-62
5.1.2 real server installation and configuration 62-66
5.1.3 database server installation and configuration 66-69
5.1.4 cluster configuration FAQs 69-70
5.2 cluster system test 70-74
the
the 5.2.1 cluster scheduling mode test 70-72
5.2.2 cluster high availability test 72-73
5.2.3 cluster scalability testing 73-74
5.2.4 Conclusion 74
5.3 cluster application in Hong Kong's Wen Wei Po 74-76
5.3.1 Hong Kong Wen Wei Po network About 74-75
5.3.2 Cluster application of 75-76
5.4 Summary 76-77
Chapter 6 Conclusions 77-78
6.1 work summarizes 77
6.2 Research Prospects 77-78
the
References 78-79
Acknowledgements 79
Related dissertations
- Study and Realization of Dynamic Scheduling Based on Linux Virtual Server Cluster
- Research on Scheduling Algorithm Based on Hadoop
- Study on Dynamic Feedback Load Balancing Algorithm Based on Cluster
- Studies on Performance of Time-slotted Optical Burst Switched Networks and Related Key Technologies
- Key technology research cluster router
- The Study and Implementation of Scalable Network Services
- Study of Load Balancing Algorithm Based on Process Migration Mechanism in Heterogeneous Cluster Environment
- Beowulf cluster load balancing problem
- The Application of the Loading-balance Cluster in the Enterprise Computing Platform
- Web server load balancing cluster technology research
- Struts-based Web Database Research and Application
- Research on Software-Plate for Remote Electric and Electronic Experiment System
- The Design of a New Embedded Firewall Load-Balancing System
- Based on the standard Linux kernel to achieve dynamic load balancing
- Research on Load Balancing and Cluster System
- Research on Real-time Performance of CAN
- Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
- The Application of Load Balance for E-business Website
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- Design and Implementation of Server Monitoring System Based on Traffic Information