APP下载

云应用管理平台的设计与实现

2017-06-10温云龙

移动通信 2017年8期

【摘 要】为了有效应对企业内部使用独占式物理服务器部署Web应用而造成硬件资源闲置和浪費的问题,提出了企业私有云的解决方案实现云应用管理平台。该平台研究虚拟化技术管理和调度底层虚拟化资源,集成了Web应用部署调度机制实现自动部署,并提出了弹性负载均衡完成多租户场景下对虚拟资源的动态共享。通过对比试验,平台虚拟资源可有效替代物理资源,克服了硬件的消耗浪费并节省了成本支出。

【关键词】云应用管理平台 虚拟化 弹性负载均衡 PaaS IaaS

doi:10.3969/j.issn.1006-1010.2017.08.014 中图分类号:TP302 文献标志码:A 文章编号:1006-1010(2017)08-0069-05

引用格式:温云龙. 云应用管理平台的设计与实现[J]. 移动通信, 2017,41(8): 69-73.

Design and Implementation of Cloud Application Management Platform

WEN Yunlong

[Abstract] In order to effectively cope with the idle and wasted hardware resource resulting from deploying Web applications due to exclusively occupying physical servers in enterprises, a solution based on enterprise private cloud to realize cloud application management platform was proposed in this paper, on which the Virtualization Technology management and the scheduling of lower-layer virtualized resources were investigated. Deployment scheduling mechanism of web application was integrated, to realize the automatic deployment. The elastic load balance was proposed to achieve the dynamic sharing of virtualized resources in the scenario of multi-tenant. Comparative experiments demonstrate the platform virtualized resource not only effectively replaces the physical resource, but also reduces the hardware consumption with the saved expenditure.

[Key words]cloud application management platform virtualization elastic load balance PaaS IaaS

1 引言

Web应用部署常独占物理服务器资源,配置硬件资源和应用运行环境耗时费力;对于高并发的应用系统,配置昂贵的负载均衡设备存在一定的资源浪费情况。常见的企业解决方案采用虚拟机和软件负载均衡来解决物理资源问题,使用SVN和Git代码仓库实现代码管理,集成Jenkins实现代码自动编译构建[1]等。在云计算PaaS(Platform as a Service,平台即服务)层面,也有开源平台CloudFoundry[2]、OpenShift[3]和Docker[4]容器架构解决资源共享的问题。本文采用J2EE规范开发的云应用管理平台(简称云平台),借鉴主流开源PaaS平台的优点,结合代码仓库和持续构建等系统,设计并实现一种支持大多数Web框架的开发和部署,以适应高并发条件下的动态负载均衡,便于二次开发的全生命周期管理平台。

2 云平台总体架构

云平台属于PaaS范畴,总体架构包含IaaS(Infras-tructure as a Service,基础设施即服务)层、接口驱动层、应用管理和调度系统、服务层以及镜像层,并结合软件开发中主流的源代码管理工具、缺陷管理工具等开源技术,形成比较完整的企业级云平台解决方案。……

登录APP查看全文