Hight Available Cluster for HTTP Service
- Author
- LiangSuBin
- Advisor
- YueJianHui , ZhangWenZuo
- School
- Sichuan University
- Major
- Software Engineering
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 186
- Citations
- 0
Abstract
The rapid development of computer network applications , increasing demands on the server on the network . Many service requirements 7X24 hours a day , such as e-commerce , once the service disruption will have disastrous consequences , and therefore requires the server to have a very high availability . Using the high-end hardware to achieve high availability, high cost of scalability . Cluster use multiple low-end machines rely on hardware and software redundancy is the economy easily understood line method . The Linux operating system as an excellent source of a large number of applications on the server . This paper analyzes the cluster software KTCPVS, Linux is an open source HTTP load balancing cluster the software content scheduling strategy . In this paper, on the basis of this project the HTTP service provides high availability clustering software HA -HTTP . HA-HTTP system simultaneously run multiple HTTP server , a server node failure geometrically increase the availability of the service only when all nodes fail at the same time , giving rise to the stop of the entire service , the client almost no impact . KTCPVS taken in order to avoid the kernel mode and user mode context switching , inserted in Linux kernel module . This paper briefly introduces the basics of the Linux kernel programming , source code analysis related to Linux and HA-HTTP network . HA-HTTP is a run on the front end of the cluster system software , from the similar data exchange effect . One of the biggest difficulties encountered by the HA-HTTP exchange HTTP messages processing to maintain the status of the HTTP session . This paper analyzes the HTTP State Management Mechanism , detailed anatomy c . . stateful session kie way to achieve , given the able the transparent management sessions between the server and the client program , and gives the detailed design of the software implementation . The last article also describes the evaluation server availability indicators and evaluation methods, and the implementation team HTTP cluster availability to give a quantitative evaluation . Keywords : High Availability cluster a Linux HTTP session cookie
Table of contents
1 Background 9-16
1.1 status quo 9
1.2 solution 9-16
1.2.1 the cluster basic concepts -13
1.2.1.1 clustering technology 9-10
1.2.1.2 cluster type 10-11
1.2.1.2.1 science cluster the
1.2.1.2.2 load balancing cluster the
1.2.1.2.3 High Availability Cluster 10-11
1.2.1.3 Linux high availability cluster 11-13
1.2.2 LVS introduced 13-14
1.2.3 LVS-content-based request distribution technology (KTCPVS) 14-16 <br / > 2 LINUX background 16-30
2.1.1 linux kernel programming 16-20
the 2.1.1.1 kernel module introduced 16-19
2.1.1.2 user program and the kernel program communication 19-20
the 2.1.1.2.1 memory data transfer 19
the 2.1.1.2.2 kernel and applications between communication interface 19-20
2.1.2 Linux network the 20-30
2.1.2.1 Network Equipment The interface part 21-22 <br / of> 2.1.2.2 network interface core part 22
the 2.1.2.3 network protocols parts 22-27
2.1.2.4 Application Network Interface (BSD Sockets Layer) 27 -30
3 system design 30-41
3.1 HA-HTTP cluster solution for HTTP services 30-31
3.2 application layer exchange 31 -32
3.2.1 TCP layer exchange 31-32
3.2.2 application layer exchange 32
3.3 session HTTP status 32 -41
3.3.1.1 HTTP State Management Mechanism 32-35
3.3.1.2 HA-HTTP face of the difficulties encountered by the HTTP session nbsp is; 35-41
HA-HTTP software implementation 41-53
4.1 Summary of design 41-53
4.1.1 software structure 41-42
4.1.2 logic the flow graph 42-47
4.1.2.1 thread relationship 42-45
4.1.2.2 flowchart 45-47
4.1.3 KTCPVS changes analysis 47-48
4.1.4 need to consider some of the issues 48-50
the 4.1.4.1 server data processing algorithm 48
the 4.1.4.2 server data synchronization 48
4.1.4.3 Packing instructions concerning the session id parsing 48-49
4.1.4.4 the session The End 49-50 <br / > 4.1.5 Detailed design 50-53
4.1.5.1 function Detailed 50-51
4.1.5.2 data structure 51-53
the 4.1.5.2.1 KTCPVS to connect objects tcp_vs_conn the 51-52
4.1.5.2.2 backend server object nbsp the; 52-53
performance assessment 53-60
5.1 high availability indicators 54-55
5.2 cluster using the HA-HTTP impact assessment of the availability 55-56
5.3 HA-HTTP operating efficiency test 56-60
5.3.1 testing program (half black-box testing) 56-58
5.3.1.1 testing purposes 56
5.3.1.2 test 56
5.3.1.3 test environment 56-57
5.3.1.4 Test results 57-58
5.3.1.5 Analysis of test results 58
the 5.3.2 testing program (black box testing): the 5.3.2.1 test purposes 58-60
58
5.3.2.2 Test Method 58-59
5.3.2.3 test environment: 59
5.3.2.4 Test results: 5.3.2.5 test results in 59
59 -60
6 insufficient the 60-62
6.1 support for HTTPS 60
6.2 failed node processing 60
6.3 URL rewrite the way of support the 60-62
7 summarizes 62-63
Reference 63-65
originality statement 65 -66
thanks 66
Related dissertations
- The Research and Implement of Virtualization Technology Based on Cluster of Server
- Cluster -based parallel file system research and application high availability
- Research and application of high-availability database cluster system
- Study and Realization of the Multiple-node High Availability Cluster Technology
- A High Availability Cluster Streaming Media Server with Proxy Function
- The Research and Implementation of Remote Data Mirror in Cluster Single File System
- The Research of High Availability of Transaction Systems
- Based high availability clustering and partitioning technology research and development
- High-availability system in a virtual operating environment
- Xinhua news gathering system design and Implementation
- The Design of a New Embedded Firewall Load-Balancing System
- The Research and Application of HA of Database on On-line Register System
- Research and Design of Task Scheduling Strategy Based on Linux Cluster Systerm
- Autonomic computing - oriented high - availability systems
- Research on Metadata Management of Parallel File System
- Research and Implementation of the Novel Heartbeat Inspecting Technique
- Research and Implementation of High Availability NAS Cluster
- Research and Implementation of High Available Load Balancer in Cluster System
- Research on Load Balancing and Cluster System
- Application of Virtualization in Cluster