Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2011, Vol. 37 ›› Issue (23): 279-281,287. doi: 10.3969/j.issn.1000-3428.2011.23.094

• Networks and Communications • Previous Articles     Next Articles

Load Balancing Algorithm Based on Linux Virtual Server

LIU Bin, XU Jing-ming, DAI Su-huan, GE Hua   

  1. (Department of Computer, School of Science, Anhui Science and Technology University, Fengyang 233100, China)
  • Received:2011-06-10 Online:2011-12-05 Published:2011-12-05

基于Linux虚拟服务器的负载均衡算法

刘 斌,徐精明,代素环,葛 华   

  1. (安徽科技学院理学院计算机系,安徽 凤阳 233100)
  • 作者简介:刘 斌(1976-),男,讲师、硕士,主研方向:网络通信,信息安全;徐精明,教授;代素环,实验师;葛 华,讲师、硕士
  • 基金资助:
    安徽省自然科学基金资助项目(KJ2009B118)

Abstract: On analysis of the load balancing process and the scheduling algorithms of Linux Virtual Server(LVS). This paper proposes an improved algorithm. The system resource type and the server weight coefficient is taken into consideration. It analyzes the load condition of real servers in server cluster according to the standard deviation of the weighted server load and schedule the load balancing by means of adjusting the weight coefficient of servers dynamically and the improved minimum connection schedule algorithm. Experimental results prove the effectiveness of this algorithm.

Key words: Linux Virtual Server(LVS), cluster, load balancing, IP Virtual Server(IPVS), standard deviation

摘要: 分析Linux虚拟服务器负载均衡调度过程,提出一种基于Linux虚拟服务器的负载均衡算法。该算法结合系统资源类型和服务器权重系数,依据服务器加权负载标准差,进行集群真实服务器负载状况分析,动态调整服务器权重系数,对改进的最小连接数调度算法进行负载均衡调度。测试结果验证了该算法的有效性。

关键词: Linux虚拟服务器, 集群, 负载均衡, IP虚拟服务器, 标准差

CLC Number: