基于双影子页表实现零停机的虚拟机可用性研究
发布时间:2018-08-07 21:04
【摘要】:近年来,虚拟化技术凭借其良好的独立性、高资源利用率和容易管理的特性备受业界关注,已经在数据中心的系统安全、负载均衡、服务器管理整合等方面得到广泛的应用。虚拟化环境下,一台物理机能通过虚拟机监视器虚拟出多台虚拟机为用户提供服务。随着虚拟化技术的发展,虚拟机的高可用性成为阻碍其发展的重要因素。双机热备技术借助于虚拟机的跨平台移植和与底层硬件无关的特性,采用主从复制(Primary-Backup)方案,即通过构建备份的方法降低系统故障概率来提高虚拟机的可靠性,实现了低成本、高效率的虚拟机容错机制,已成为保障虚拟机高可用性的重要手段之一。 与此同时,传统双机热备技术在双机热备过程中存在主从虚拟机间数据同步时造成虚拟机和服务暂时终止以及影子页表频繁销毁与重建的问题,导致虚拟机可用性大打折扣,因此,如何提高虚拟机双机热备的可用性成为急待解决的问题。常用的虚拟机技术Xen、VMware和KVM都在虚拟机可用性方面作出了研究。 论文描述了虚拟化技术的研究背景、研究现状及意义,分析了虚拟机系统的基本原理和实现的关键技术,并列举了几个典型的虚拟机例子,重点阐述了基于Xen的传统虚拟机双机热备技术Remuso借鉴虚拟机动态迁移中的迭代传输思想,提出一种基于双影子页表实现零停机的虚拟机双机热备方法。该方法采用检查点机制,将主虚拟机工作周期分为运行和同步两个阶段,双影子页表交替作为主页表和备用页表。运行阶段,主页表记录主虚拟机操作,并利用最近最常访问算法从中挑选页保存到备用页表,以减少下次运行时影子页表的重建时间;同步阶段,主虚拟机不停机,备用页表转为主页表,记录主虚拟机操作,原主页表作为备用页表实现主虚拟机与备份虚拟机的同步。实验结果表明,该方法在虚拟机内存变化频繁的情况下对主虚拟机可用性有较大的改进。
[Abstract]:In recent years, with its good independence, high resource utilization and easy to manage characteristics, virtualization technology has been widely used in data center system security, load balancing, server management integration and so on. In virtualized environment, a single virtual machine can provide service to users by virtual machine monitor. With the development of virtualization technology, the high availability of virtual machine becomes an important factor that hinders its development. With the help of the cross-platform migration of virtual machines and the characteristics independent of the underlying hardware, the dual-machine hot-standby technology adopts master-slave replication (Primary-Backup) scheme, that is, reducing the system failure probability by building backups to improve the reliability of virtual machines and achieve low cost. Efficient fault-tolerant mechanism for virtual machines has become one of the most important means to ensure the high availability of virtual machines. At the same time, the traditional dual-machine hot standby technology has the problems of virtual machine and service termination and shadow page table frequent destruction and reconstruction in the process of data synchronization between master and slave virtual machines, which results in the virtual machine availability greatly reduced. Therefore, how to improve the availability of virtual machine dual standby becomes an urgent problem to be solved. VMware and KVM, common virtual machine technologies, have been studied in virtual machine availability. This paper describes the research background, research status and significance of virtualization technology, analyzes the basic principles and key technologies of virtual machine system, and enumerates several typical examples of virtual machine. In this paper, the traditional dual-machine hot standby technology based on Xen, Remuso, is introduced in this paper. Based on the iterative transfer idea of virtual machine dynamic migration, a dual-machine hot standby method based on double shadow page table is proposed. This method uses checkpoint mechanism to divide the main virtual machine's work cycle into two stages: running and synchronizing. The double shadow page table alternates as the home page table and the standby page table. In the runtime, the home table records the operation of the master virtual machine, and uses the most recent access algorithm to select the page from which to save to the standby page table to reduce the reconstruction time of the shadow page table at the next run time; in the synchronization phase, the primary virtual machine does not shut down. The standby page table is converted to the home page table and the operation of the master virtual machine is recorded. The original home page table is used as the standby page table to realize the synchronization between the primary virtual machine and the backup virtual machine. The experimental results show that the proposed method can greatly improve the availability of the main virtual machine when the memory of the virtual machine changes frequently.
【学位授予单位】:郑州大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP302
本文编号:2171336
[Abstract]:In recent years, with its good independence, high resource utilization and easy to manage characteristics, virtualization technology has been widely used in data center system security, load balancing, server management integration and so on. In virtualized environment, a single virtual machine can provide service to users by virtual machine monitor. With the development of virtualization technology, the high availability of virtual machine becomes an important factor that hinders its development. With the help of the cross-platform migration of virtual machines and the characteristics independent of the underlying hardware, the dual-machine hot-standby technology adopts master-slave replication (Primary-Backup) scheme, that is, reducing the system failure probability by building backups to improve the reliability of virtual machines and achieve low cost. Efficient fault-tolerant mechanism for virtual machines has become one of the most important means to ensure the high availability of virtual machines. At the same time, the traditional dual-machine hot standby technology has the problems of virtual machine and service termination and shadow page table frequent destruction and reconstruction in the process of data synchronization between master and slave virtual machines, which results in the virtual machine availability greatly reduced. Therefore, how to improve the availability of virtual machine dual standby becomes an urgent problem to be solved. VMware and KVM, common virtual machine technologies, have been studied in virtual machine availability. This paper describes the research background, research status and significance of virtualization technology, analyzes the basic principles and key technologies of virtual machine system, and enumerates several typical examples of virtual machine. In this paper, the traditional dual-machine hot standby technology based on Xen, Remuso, is introduced in this paper. Based on the iterative transfer idea of virtual machine dynamic migration, a dual-machine hot standby method based on double shadow page table is proposed. This method uses checkpoint mechanism to divide the main virtual machine's work cycle into two stages: running and synchronizing. The double shadow page table alternates as the home page table and the standby page table. In the runtime, the home table records the operation of the master virtual machine, and uses the most recent access algorithm to select the page from which to save to the standby page table to reduce the reconstruction time of the shadow page table at the next run time; in the synchronization phase, the primary virtual machine does not shut down. The standby page table is converted to the home page table and the operation of the master virtual machine is recorded. The original home page table is used as the standby page table to realize the synchronization between the primary virtual machine and the backup virtual machine. The experimental results show that the proposed method can greatly improve the availability of the main virtual machine when the memory of the virtual machine changes frequently.
【学位授予单位】:郑州大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP302
【参考文献】
相关期刊论文 前4条
1 张敏;陈云海;;虚拟化技术在新一代云计算数据中心的应用研究[J];广东通信技术;2009年05期
2 张建勋;古志民;郑超;;云计算研究进展综述[J];计算机应用研究;2010年02期
3 毛速;虚拟机的应用[J];宁夏工程技术;2003年02期
4 何增颖;;虚拟机技术的实验教学应用[J];实验科学与技术;2010年01期
相关会议论文 前1条
1 董剑;左德承;刘宏伟;杨孝宗;;双机容错服务器解决方案的研究[A];第十届全国容错计算学术会议论文集[C];2003年
相关硕士学位论文 前5条
1 林芊;基于混合虚拟化技术的虚拟机性能优化研究及应用[D];上海交通大学;2011年
2 李建彬;基于虚拟机的分布式容灾备份技术研究[D];国防科学技术大学;2010年
3 胡兵全;基于Windows的双机热备系统的设计与实现[D];华中科技大学;2004年
4 郭晓琼;虚拟机Xen及其内存管理研究[D];上海交通大学;2008年
5 任振芳;基于Xen虚拟机的双机热备可用性研究[D];郑州大学;2012年
,本文编号:2171336
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2171336.html