摘要: 提出一种带冗余检测的磁盘在线迁移策略。采用周期同步方式保持虚拟机在源、目的节点上磁盘的数据一致性,在非同步期内,利用位图标记源节点上被写的数据块(脏块)位置,在同步期内,检测脏块与目的节点相应块的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
中图分类号:
徐志红, 刘进军, 赵生慧. 基于同步机制的虚拟机磁盘在线迁移策略[J]. 计算机工程, 2012, 38(9): 291-292,封三.
XU Zhi-Gong, LIU Jin-Jun, DIAO Sheng-Hui. Disk Live Migration Strategy of Virtual Machine Based on Synchronization Mechanism[J]. Computer Engineering, 2012, 38(9): 291-292,封三.