作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (9): 291-292,封三. doi: 10.3969/j.issn.1000-3428.2012.09.089

• 开发研究与设计技术 • 上一篇    

基于同步机制的虚拟机磁盘在线迁移策略

徐志红,刘进军,赵生慧   

  1. (滁州学院计算机与信息工程学院,安徽 滁州 239000)
  • 收稿日期:2011-12-08 出版日期:2012-05-05 发布日期:2012-05-05
  • 作者简介:徐志红(1981-),女,讲师、硕士,主研方向:云计算,虚拟化技术;刘进军,讲师、硕士;赵生慧,副教授、博士研究生
  • 基金资助:
    安徽省高校自然科学研究基金资助重大项目(KJ2011ZD 06);安徽省高校自然科学研究基金资助项目(KJ2010B141, KJ201 2Z289)

Disk Live Migration Strategy of Virtual Machine Based on Synchronization Mechanism

XU Zhi-hong, LIU Jin-jun, ZHAO Sheng-hui   

  1. (College of Computer and Information Engineering, Chuzhou University, Chuzhou 239000, China)
  • Received:2011-12-08 Online:2012-05-05 Published:2012-05-05

摘要: 提出一种带冗余检测的磁盘在线迁移策略。采用周期同步方式保持虚拟机在源、目的节点上磁盘的数据一致性,在非同步期内,利用位图标记源节点上被写的数据块(脏块)位置,在同步期内,检测脏块与目的节点相应块的Hash值,仅将不匹配的脏块同步至目的节 点,在磁盘数据一致后,启动虚拟机在线迁移。实验结果表明,该策略能减少磁盘迁移的数据量,降低磁盘迁移对高带宽的要求,虚拟机迁移时间与共享存储方式接近。

关键词: 虚拟机, 在线迁移, 磁盘同步, 位图, 冗余检测, 数据一致性

Abstract: With redundancy detection, this paper proposes a strategy of disk live migration. The strategy maintains data consistency of virtual machine disk on source and destination using cycle synchronization. In the non-synchronous period, the strategy marks the position of dirty blocks by bitmap. In the synchronous period, the strategy detects Hash values of dirty blocks between source and destination, and synchronizes inconsistent blocks to the destination node. After data consistency, the strategy triggers live migration. Experimental results show that the strategy can reduce the amount of disk migration, and decrease the demand for high bandwidth, the migration time is closed to the shared storage approach.

Key words: virtual machine, live migration, disk synchronization, bitmap, redundancy detection, data consistency

中图分类号: