Study and Realization of Load Balancing Based on LVS and IP-SAN

Author
ZhangZuo
Advisor
SunDaYue
School
Chang'an University
Major
Applied Computer Technology
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2011
Downloads
52
Citations
0

Request the full text

Abstract

The scale of the Internet applications has expanded rapidly,and the pressure of the server has to load more and more, far more than a single server could bear, that made the clustering technology to undertake this information need.Recently,the large internet companies commonly used the server clusters to provide the service,the developing of the computing cloud and virtualized technology will make new demand to clustering technology. The realization of the lvs(linux virtual server) promoted the developing of the clustering technology,but the weight of the load balancing was static,and the load balancing could not dynamically adjust the weight in real time according to the load of the real server,which easily made the load lean of the server.So it’s necessary for us to research and expand the lvs seriously.The rapid development of the internet caused another problem of the massive data storage. Since the gigabit storage technology could significantly improve the I/O bandwidth per port of the storage system(2.5-5 times of the existing storage system),and the I/O bandwidth per port had the potential of expanding to 40Gbit/s or 100Gbit/s.It’s the ideal technology in the business needs for users to handle the increasing capacity of data processing in storage system. So the IPS AN is worth us to concern and research.Firstly,this paper optimized the existing WLC(Weighted Least Connections) algorithm.Through dynamically feedbacking the server load and adjusting the weight of the load balancer,the server would have a better load balancing.Secondly,by analysing and learning the IPSAN storage network and LVS cluster technology architectured a high available and scalable web system with several low-cost pc in the lab.In this web system the storage part was using the pc architecture,ethernet card+initiator and the GFS shared network storage to achieve and the LVS load balancing was using the VS/DR(Direct Routing),optimized WLC algorithm and the hight available heartbeat to realize.Last,this paper used the testing tool of LoadRunner to test the high availability of the system,the promotion of the service performance using the load balancing and the optimized WLC algorithm ensured that heartbeat could well resolved the problem of load balancer’s single point of failure,LVS cluster greatly improved and optimized the performance of the service. optimized WLC algorithm made the server handle the requests of the client more better.

Table of contents

Summary 4-5 Abstract 5-8 first chapter 8-12 1.1 Background 8 <br / > History and Prospects 1.2 storage 8-9 1.3 load Balancing technical Overview technical Analysis 9-12 chapter IPSAN system 12-21 2.1 IPSAN and FCSAN contrast 12-13 2.2 IPSAN components 13-14 2.3 iSCSI protocol 14-16 2.4 iSCSI storage system architecture 16-18 2.4.1 controller Architecture 16-17 2.4.2 iSCSI connection bridge architecture 17 2.4. 3 PC architecture 17-18 2.4.4 PC NIC architecture 18 2.5 iSCSI storage connection 18-19 2.5.1 Ethernet card software initiator mode 18 2.5.2 TOE NIC hardware initiator software approach 18-19 2.5.3 iSCSI HBA card connection 19 2.6 iSCSI storage usage patterns 19-21 2.6.1 shared storage device layer 19-20 2.6.2 cluster Shared 20 2.6.3 network storage share studies 20-21 Chapter III LVS cluster system 21-33 3.1 LVS introduced 21 architecture 3.2 LVS 's 21-23 3.2.1 load balancer (Load Balancer) 22-23 3.2.2 server pool (Server Pool) 23 3.2.3 shared Storage (Shared storage) 23 3.3 IP-based load balancing technology 23-29 3.3.1 network Address Translation mode (VS / NAT) 24-25 3.3.2 IP tunnel mode (VS / TUN) 25-27 3.3.3 direct routing mode (VS / DR) 27-28 < br /> 3.3.4 comparison of three load balancing technology 28-29 3.4 LVS scalable Web -based services 29-30 3.5 LVS kernel connection scheduling algorithm 30-33 compared with the fourth chapter scheduling algorithm optimization 33-41 4.1 commonly used algorithms lack 33-34 4.2 algorithm Optimization ideas 34-35 4.2.1 WLC algorithm flow 34-35 4.2.2 WLC optimization ideas 35 4.3 WLC optimization algorithm design and implementation 35-41 4.3.1 server integrated load 36-38 4.3.2 weight calculation 38 4.3.3 load scheduler sERVER process 38-39 4.3.4 server CLIENT process 39-41 Chapter WEB system load balancing to achieve 41-63 5.1 WEB system architecture 41-42 5.2 build experimental environment 42-43 5.3 iSCSI storage implementations 43-50 5.3.1 Raid 43-44 5.3.2 configuration iscsi-target 44-46 5.3.3 configuration iscsi-initiator 46 - 47 5.3.4 GFS shared storage implementations 47-50 5.4 LVS load balancing to achieve 50-54 achieve 5.5 WEB system 54-55 5.6 LVS performance test 55-63 5.6.1 test content and solutions 55-57 5.6.2 test Results 57 -63 Chapter VI Conclusion and Outlook 63-64 6.1 dissertation work done 63 6.2 problems and Prospects 63-64 <br / > References 64-65 Thanks 65-66 Appendix 66

Related dissertations

  1. Study and Realization of Dynamic Scheduling Based on Linux Virtual Server Cluster
    LiuHui ·Anhui University ·2012 ·Master's thesis
  2. Load-Balanced of Lvs Scheduling Based on Adaptive Niche Genetic Algorithm
    YangYue ·Southwest Jiaotong University ·2013 ·Master's thesis
  3. The Research and Implementation of Dynamic Load Balancing Strategy Based on Lvs Cluster
  4. WWW access to features and proxy cache
    HaoQinFen ·Institute of Computing Technology ·2001 ·Doctoral dissertation
  5. Design and Implementation of a Clustered Video Server in Distributed VOD System
  6. The Design and Realization of Online Real-Time Experiment Judgement System Controlled by LVS Algorithms
  7. Research on PC Cluster and Application in Online Exercise Judge System
    YeYun ·Zhejiang University of Technology ·2007 ·Master's thesis
  8. The Research and Realization of Server Load Balancing
    LiHui ·Dalian Maritime University ·2003 ·Master's thesis
  9. SOCKS VPN Load Balancing Research and Implementation
    FangZuo ·Beijing Jiaotong University ·2007 ·Master's thesis
  10. The Research and Realization of Computer Cluster Technology
    LiZhongFu ·Chinese Geology University (Beijing) ·2006 ·Master's thesis
  11. Analysis and Improvement for the Dynamic Load-balancing Algorithm of Linux Virtual Server
    ZhouCheng ·Wuhan University of Technology ·2006 ·Master's thesis
  12. An Open Network Computing Platform
  13. Design and Implementation of Large-Scale Mobile Email Systems
  14. Research on Load Balancing and Cluster System
    ZhangHongWu ·Chongqing University ·2004 ·Master's thesis
  15. Study of Large Scale Distributed E-mail System and Its Implementation
  16. Constructing a Network Server with Linux cluster technology
    ZhouZuoChao ·Northeast Normal University ·2002 ·Master's thesis
  17. An Improved LVS Dynamic Load Balancing Algorithm
  18. A New Dynamic Loading Balance Algorithm Based on LVS Cluster
    ZuoChuang ·Ocean University of China ·2008 ·Master's thesis
  19. Study and Realization of Dynamic Load Balancing Based on Linux Virtual Server Cluster
    YanXianYou ·Beijing University of Technology ·2009 ·Master's thesis
  20. Design and Implementation of the Load Balance Cluster System with High Availability Based on LVS