基于XEN的虚拟机实时迁移改进与实现
发布时间:2018-01-03 02:00
本文关键词:基于XEN的虚拟机实时迁移改进与实现 出处:《北京邮电大学》2012年硕士论文 论文类型:学位论文
【摘要】:虚拟化作为云计算数据中心的一项基础支撑技术,具有资源整合、实时迁移和快速克隆部署等优势,本文对当前系统虚拟化技术以及虚拟机实时迁移技术进行了深入研究,研究了Xen虚拟化技术和其它主流的虚拟化平台。虚拟机实时迁移技术作为系统虚拟化技术的衍生技术,可以将虚拟机从一个物理机无中断的迁移到另一台物理机上,从而实现负载均衡、无中断例行维护和灾难备份等功能。 然而当前的虚拟机实时迁移技术迁移效率和自动化程度都很低,本文基于Xen虚拟化平台,实现了一种新的虚拟机迁移方法ME2(Memory Exploration and Encode)。该方法进入虚拟机内部,根据操作系统内存管理原理进行探测,区分出已分配和未分配的内存,并通过游程编码算法RLE(Run Length Encode)对已分配的内存进一步压缩以减少内存的传输量。经实验验证,相对于Xen迁移系统,ME2可以在总迁移数据量、总迁移时间和中断时间指标上平均达到50.5%、48.2%和47.6%的优化。进一步,我们又将该ME2的设计思想用于虚拟机磁盘的实时迁移中,并详细介绍了磁盘探测的实现细节。 除了对虚拟机迁移本身的研究与改进外,本文还针对数据中心自动化程度低问题设计并实现了一种虚拟机自动迁移原型系统,该系统可以自动的发现热点物理机,并根据资源池内所有物理机负载情况自动识别出正确的场景模式:负载均衡模式和节能省电模式,并根据相应的模式按照预定义的迁移决策算法做出决策,并通知相应的物理机将虚拟机迁移到指定物理机上。整个迁移过程无需人工干预,可实现资源池负载均衡和节能省电。这种自动迁移系统将会对数据中心的服务器管理带来极大方便,提高管理效率,并最终节约数据中心的运营成本。 本文最后对虚拟化技术和实时迁移技术面临的问题进行总结,并对未来的发展趋势进行了分析。
[Abstract]:As a basic supporting technology of cloud computing data center, virtualization has the advantages of resource integration, real-time migration and rapid clone deployment. In this paper, the current system virtualization technology and virtual machine real-time migration technology are deeply studied. Xen virtualization technology and other mainstream virtualization platform. Virtual machine real-time migration technology as a derivative of system virtualization technology. The virtual machine can be migrated from one physical machine to another without interruption, so as to achieve load balancing, routine maintenance without interruption and disaster backup. However, the current virtual machine real-time migration technology migration efficiency and automation are very low, this paper based on Xen virtualization platform. A new migration method of virtual machine, ME2(Memory Exploration and encode, is implemented, which enters the virtual machine. According to the principle of operating system memory management to detect the difference between allocated and unallocated memory. Furthermore, the run-length coding algorithm RLE(Run Length encodeis used to compress the allocated memory further to reduce the amount of memory transfer. Compared with the Xen migration system, the proposed algorithm is verified by experiments. ME2 can optimize the total migration data, the total migration time and the interruption time by an average of 50.5% and 47.6% respectively. The design idea of ME2 is applied to the real time migration of virtual machine disk, and the implementation of disk detection is introduced in detail. In addition to the research and improvement of virtual machine migration itself, this paper also designs and implements a prototype system of virtual machine automatic migration aiming at the problem of low automation of data center. The system can automatically find hot spot physics machine, and automatically identify the correct scene pattern: load balance mode and energy saving mode according to the load of all physical machines in the resource pool. According to the corresponding pattern, the decision is made according to the predefined migration decision algorithm, and the corresponding physical machine is notified to migrate the virtual machine to the designated physical machine. This automatic migration system will bring great convenience to the server management of the data center, improve the management efficiency, and ultimately save the operation cost of the data center. Finally, the paper summarizes the problems faced by virtualization technology and real-time migration technology, and analyzes the development trend in the future.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP302
【参考文献】
相关期刊论文 前1条
1 吕小虎;李沁;;虚拟机磁盘迁移技术研究与实现[J];计算机科学;2009年07期
,本文编号:1371872
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1371872.html