计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (13): 63-67.

• 研发、设计、测试 • 上一篇    下一篇

云计算环境下的虚拟机快速克隆技术

郑婷婷1,2,武延军1,贺也平1   

  1. 1.中国科学院 软件研究所 基础软件国家工程研究中心,北京 100190
    2.中国科学院 研究生院,北京 100190
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-05-01 发布日期:2011-05-01

Rapid virtual machine cloning in cloud computing environment

ZHENG Tingting1,2,WU Yanjun1,HE Yeping1   

  1. 1.National Engineering Research Center of Fundamental Software,Institute of Software,CAS,Beijing 100190,China
    2.Graduate University of Chinese Academy of Sciences,Beijing 100190,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-05-01 Published:2011-05-01

摘要: 虚拟机克隆技术是指在云计算环境下快速复制出多个虚拟机(VM)并将这些VM分发到多台物理主机上,克隆出来的VM共享相同的初始状态然后独立运行提供服务。虚拟机克隆使得云计算提供商能够快速有效地部署系统资源。给出了一种虚拟机快速克隆方法,利用写时拷贝技术来创建虚拟磁盘和内存状态的快照,然后用按需分配内存技术和多点传送技术来请求和传输这些状态信息。在C3云平台上的实验表明,此方法在不中断源虚拟机中运行服务的情况下,实现了云计算中的快速虚拟机克隆。

关键词: 云计算, 虚拟机, 克隆

Abstract: Virtual machine cloning is a key technology for cloud computing which helps to clone multiple VMs rapidly and distribute them on different physical hosts.The cloned VMs share the same initial state,and then run independently to provide services.With virtual machine cloning,cloud vendors can deploy system resources quickly and efficiently.This paper presents a method of fast VM cloning,which creates snapshots of virtual disk and memory of VM by copy-on-write technology.Then synchronization between parent VM and child VMs is done by multicast together with memory-on-demand mechanism.Experiment on C3(CAS Cloud Computing) platform shows that it achieves rapid VM cloning without interrupting the service of the source VM.

Key words: cloud computing, virtual machine, cloning