计算机应用 ›› 2016, Vol. 36 ›› Issue (6): 1520-1525.DOI: 10.11772/j.issn.1001-9081.2016.06.1520

• 先进计算 • 上一篇    下一篇

基于软件定义网络的反饱和分组云负载均衡

何倩, 胡启伟, 王勇, 阳鑫磊, 刘曙铭   

  1. 桂林电子科技大学 云安全与云服务工程技术研究中心, 广西 桂林 541004
  • 收稿日期:2015-11-10 修回日期:2016-01-18 出版日期:2016-06-10 发布日期:2016-06-08
  • 通讯作者: 何倩
  • 作者简介:何倩(1979-),男,湖南郴州人,教授,博士,CCF会员,主要研究方向:分布式计算;胡启伟(1990-),男,重庆人,硕士研究生,主要研究方向:云计算、软件定义网络;王勇(1964-),男,四川阆中人,教授,博士,CCF会员,主要研究方向:云计算、信息安全;阳鑫磊(1991-),男,湖南郴州人,硕士,主要研究方向:云计算、软件定义网络;刘曙铭(1990-),男,四川广元人,硕士,主要研究方向:云计算。
  • 基金资助:
    国家自然科学基金资助项目(61201250,61163057,61163058);广西自动检测技术与仪器重点实验室基金资助项目(YQ15102);云计算与复杂系统高校重点实验室基金资助项目(14102);桂林电子科技大学研究生教育创新计划资助项目(GDYCSZ201467)。

Software defined network based anti-saturated grouping cloud load balance

HE Qian, HU Qiwei, WANG Yong, YANG Xinlei, LIU Shuming   

  1. Cloud Security and Cloud Services Engineering Technology Research Center, Guilin University of Electronic Technology, Guilin Guangxi 541004, China
  • Received:2015-11-10 Revised:2016-01-18 Online:2016-06-10 Published:2016-06-08
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61201250,61163057,61163058), the Guangxi Key Laboratory Foundation of Automatic Detection Technology and Instrument (YQ15102), the Key Laboratory Foundation of Cloud Computing and Complex Systems (14102), the Innovation Project of Guilin University of Electronic Technology Graduate Student (GDYCSZ201467).

摘要: 云计算中统计复用是其显著特点,通过使用虚拟化技术可以提高物理资源利用率。针对云虚拟机集群需要考虑资源利用的负载均衡问题,面向OpenStack云平台,提出基于软件定义网络(SDN)的反饱和分组负载均衡(ASGS)方法。云主机按权值分配到不同的分组,SDN控制器利用探针根据不同分组周期性获取云主机负载。当请求到来时,均衡器以每组云主机平均权值为概率,随机选择一组,并在组内通过轮询选择一台合适的后端。为避免某台后端出现突发请求利用资源过多造成的云主机宕机现象,对较高权值的云主机预先加上一个参数,增高权值,使其处于高负载状态,让其接收更少的请求。实验结果表明,所提算法使各云主机不管请求量如何变化,随着时间的变化集群中云主机的资源利用率的标准方差比随机和轮询波动更小,更趋近于0,使得云主机集群的负载更均衡。

关键词: OpenStack, 软件定义网络, OpenDaylight, OpenFlow, 负载均衡

Abstract: In the cloud computing, the statistical multiplexing is a remarkable character, and the utilization efficiency of physical resource can be improved through the virtual technology. Aiming at the load balancing problem of the resource utilization needed to be discussed in the cloud virtual machine cluster, a Software Defined Network (SDN) based Anti-Saturated Grouping Strategy (ASGS) method was proposed according to the OpenStack cloud platform. The cloud hosts were separated into different groups based on their weights, and then the load information of cloud hosts were obtained by the SDN controller which used the probe with different groups periodically. When a request came, a group was selected randomly using the average weight of each group cloud hosts by the load balancer, and a proper backend was chosen by the polling method within the group. In order to avoid the cloud host downtime caused by the sudden increased requests for too many resources of a backend, the cloud host with higher weight was given a default parameter to increase the weight, and then the host would receive fewer requests on the higher load status. The experimental results show that, whatever the request number changes, the resource utilization standard variance of the proposed ASGS is always smaller than the random and round robin methods when time varies, which is nearly 0. The proposed ASGS has better load balance for the cloud host cluster.

Key words: OpenStack, Software Defined Network (SDN), OpenDaylight, OpenFlow, load balancing

中图分类号: