摘要
针对OpenStack云主机的资源监测和存储空间不能动态分配的问题,提出一种基于OpenStack云存储空间动态调整方案。在OpenStack云主机的内部安装qemu-guest-agent(qga),实现宿主机与云主机之间的通信,然后扩展OpenStack云平台,实现监测云主机资源并且对数据进行分析,得到云主机资源的使用情况。当云主机的磁盘利用率很高时,可以利用OpenStack提供的API,自动创建存储空间,分配给云主机使用,从而动态扩展了云主机的存储空间。实验结果表明,文中提出的方案能够根据云主机存储资源的使用情况,动态调整存储空间大小。
Considering the problems that resource of OpenStack is monitored hardly and storage space cannot be allocated to the virtual machine dynamically, a dynamic adjustment solution of storage space based on OpenStack is proposed. The qemu-guest-agent is installed in the OpenStack virtual machine, which realizes the communication between the host and the virtual machine. Then functions of Open- Stack are extended to monitor virtual machine resources and analyze the data. When the disk utilization of virtual machine is very high, OpenStack API is used automatically to create storage space which will be assigned to the virtual machine. Therefore,the storage space of the virtual machine is expanded dynamically. Experimental results show that the proposed solution can dynamically adjust the storage space on the basis of the usage of the virtual machine.
出处
《计算机技术与发展》
2016年第10期45-49,共5页
Computer Technology and Development
基金
江苏省未来网络前瞻性研究(BY2013095-1-08)