Research on a LVS Cluster System Based on Cookie Session Maintenance

Author
ChenFei
Advisor
SunTianZuo
School
Chongqing University
Major
Computer Software and Theory
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2013
Downloads
2
Citations
0

Request the full text

Abstract

This thesis uses the cluster technology to build digital city management platform.For the purpose of the study, it uses the four layered load balancing technology IPVS ofopen source software the Linux Virtual Server project as the cluster of customizedsolutions. Due to the complex operation scene of the load balance together with IPVSmaintainer energy is limited, the IPVS still exists many defects in the application ofneeding to keep the session, especially in the high-speed proxy environment. Becausethe IPVS adopts the session-persisting solution based on the source IP, there may existsession lost and severe load imbalance problem. Based on the above problems, thispaper studies the IPVS load balancing implementation, puts forward the solution of theproblem and analyzes the performance of cluster server.The main research work of the paper is as follows:①This thesis studies the cluster system combined with the needs of digital citymanagement platform. After studied the cluster of the traditional sharedsession-maintenance, this paper puts forward the solution which integratessession-maintenancefunction to load balancer. But IPVS is based on the source IPsession-maintenancesolution, it may exist session lost and severe load imbalanceproblem in the high-speed proxy environment. So, it needs to improve the IPVS.②In order to research IPVS implementation principle and system structure, itshould be firstly analysis of the TCP/IP protocol principle, the Linux kernel of networkpacket processing, the realization mechanism of the Netfilter, the IPVS Netfilter basedon IP packet handling, etc. Secondly, it should analyze the source and implementationdetails of the IPVS, put forward the load balancing algorithm based on Cookie SessionMaintenance, carry on feasibility analysis and algorithm design and achieve thealgorithm logic finally.③In view of the digital city management platform architecture of cluster system,this paper establishes the performance analysis model and corresponding simplifiedmodel based on queuing theory, and uses probability statistics method to get theanalytical expression of the system average response time to analyze the influence ofvarious performance to analytical expression.④By constructing environment for experiments, experiments have been carriedout to verify the correctness and effectiveness of the algorithm proposed in this paper, and the performance test and comparative analysis of two alternative solutions in thecluster system for the digital city management platform. Experiments show that theproposed algorithm can effectively solve the problem which there has a chance to leadto session lost and severe load imbalance in the high-speed proxy environment, and onthe cluster performance is better than shared session clustering.

Table of contents

Summary 3-4 Abstract 4-9 1 Introduction 9-14 1.1 background and significance 9-10 1.2 research status 10-11 1.3 the main work of this paper and research organizational structure 11-12 1.4 papers 12 - 14 2 key technologies introduced 14-23 2.1 cluster system basic concepts of 14-16 2.1.1 cluster 14 2.1.2 characteristics of the cluster system 14-15 classification 2.1.3 cluster system 15-16 2.2 load balancing 16-19 2.2.1 load balancing concept 16 2.2.2 load balancing technology classification 16-18 2.2.3 common load balancing technology 18-19 <br / > 2.2.4 common load balancing algorithm 19 2.3 sessions to keep technology 19-22 2.3.1 session remains common technical 20-22 <br / > 2.4 chapter Summary 22-23 3 LVS load balancing studies 23-35 3.1 LVS About 23 3.2 IPVS three modes 23-25 ?? 3.2.1 VS / NAT mode 24 3.2.2 VS / TUN mode 24 3.2.3 VS / DR mode 24 nbsp 3.2.4 comparison of the three modes ; ; 24-25 <br 3.3 IPVS software architecture and implementation ( based on linux kernel 2.6.33.20 version ) nbsp /> 25-34 3.3.1 Netfilter mechanism 25-26 3.3.2 IP packet processing method 26-27 3.3.3 IPVS load balancing algorithm 27 - 32 3.3.4 IPVS system configuration and management 32-34 sync nbsp 3.3.5 IPVS state ; 34 3.4 Summary 34-35 4 load balancing algorithm design and implementation COOKIE session remains based 35-44 4.1 application background 35 4.2 design ideas 35-37 4.3 data structure design 37-40 4.3.1 structure over extended field 38 4.3.2 sl_vs_request_skbuff property 38-39 <br / > 4.3.3 l_vs_session property 39-40 4.4 algorithm steps 40-43 4.4.1 ip_vs_in process 40-42 4.4. 2 ip_vs_out process 42-43 4.5 Summary 43-44 5 cluster system performance model analysis 44-55 5.1 cluster Server features analysis 44-45 5.2 cluster server queuing theory model 45-48 5.2.1 build model 45-47 5.2.2 simplified model response time performance 47-48 5.3 cluster server 48-52 5.3.1 node pa analysis 48-49 5.3.2 node Pbi 1 in analysis analysis of 49 5.3.3 Pc nodes and combinations Pdj 1 jt 's 49-50 5.3.4 node Pe analysis 50-51 5.3.5 node Pf analysis 51 5.3.6 comprehensive analysis 51-52 5.4 cluster server performance model parameter analysis 52-54 5.5 chapter Summary 54-55 6 cluster performance comparison test and experimental analysis 55-62 6.1 build cluster system 55-59 <br / > 6.1.1 test environment and software 55-56 6.1.2 concurrent testing business 56-59 6.2 comparison test analysis 59-61 <br / > 6.3 summary 61-62 7 summary and Outlook 62-64 7.1 summarizes 62 7.2 Prospects 62-64 Thanks 64-65 References 65-67 Appendix 67 A. the authors of papers published during the degree program directory 67 B. authors obtained during the research degree program directory 67

Related dissertations

  1. The Research of Traffic Measurement Methods Based on Multi-core Platform
    ZhangXian ·Hunan University ·2011 ·Master's thesis
  2. The research and implementation of dynamic load based on LVS/DR cluster
    ZhangZuo ·Yunnan University ·2013 ·Master's thesis
  3. The Study of Content Aware Network Load Balance Technology
    WeiFeng ·Harbin Engineering University ·2007 ·Master's thesis
  4. Design and Implementation of Network and Data Transmission in Supercomputer Center
    XuDeFa ·Shanghai Jiaotong University ·2006 ·Master's thesis
  5. Research and Realization for High Available Cluster of Load Balance Based on Linux
    DongNa ·Dalian Jiaotong University ·2006 ·Master's thesis
  6. Research and implementation of digital library architecture and access control
    GuanWei ·Zhejiang University ·2006 ·Master's thesis
  7. Research on Load Balance Technology of Server Clusters based on Distribution Measurement and Control System
  8. Research of Load Scheduling Mechanism on Linux Cluster
    WangXueLian ·Liaoning Normal University ·2008 ·Master's thesis
  9. Architecture Research and Implementation of a Digital Rights Management Operation Platform Based on LVS
    ZhouYinZuo ·Shantou University ·2010 ·Master's thesis
  10. The Follow-up Study and Performance Analysis of Rural Credit Union Funds
  11. The Empirical Analysis of the E-banking Performance of Commercial Banks Based on DEA
    LiLing ·Anhui University ·2014 ·Master's thesis
  12. Research of Training Requirement Analysis at CJ Company
    LiXiangLiang ·Northwestern University ·2013 ·Master's thesis
  13. The Case Study on Hongda High-tech Acquiring Baijin
  14. Research on the Shareholding Cooperative System Reform of Rural Collective Assets of Lin’an City
    FanQingQing ·Zhejiang Forestry University ·2013 ·Master's thesis
  15. Design and Implementation of Distributed Hydrological Monitoring System
    ChenGuang ·Zhejiang University of Technology ·2013 ·Master's thesis
  16. Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
    LuLi ·Zhejiang University ·2013 ·Doctoral dissertation
  17. Closed-loop Subspace Identification and Optimal Test Signal Design
    LinWenYi ·Zhejiang University ·2014 ·Master's thesis
  18. Configuration Synthesis and Perforance Analysis of a6-dof Master Robot
    JiShuFang ·Hebei University of Technology ·2013 ·Master's thesis
  19. Modeling, Optimation and Control of Reconfigurable Modular Robot
    WuWenQiang ·South China University of Technology ·2013 ·Doctoral dissertation
  20. The Design of Quadruped Robot with Series-parallel Connection Leg
    FangYang ·Yanshan University ·2013 ·Master's thesis