Abstract
In the era of cloud computing, virtualization based fault tolerance that utilizes the continuous virtual machine (VM) migration to synchronize a VM and its remote replica is a common technique to achieve high availability. However, traditional live VM migration, whose goal is to minimize the system downtime, has a long duration owing to the expense of the pre-copy for machine status and memory content, which increases the period of failover when failures occur. In this paper, we proposed a new VM migration method, called Fast VM Migration (FVMM), which utilizes the templating technique to accelerate the VM migration by reducing the cost of pre-copy. The templating technique that creates VMs from a master copy, called a template, is a usually used to deploy many similar VMs in a large virtual environment. FVMM employs VM templating to mitigate the cost of pre-copy. Its implementation is optimized with six new techniques: SFVMM and LFVMM, COW templating, continuous templating, asynchronous transmission buffering, VM recovery from continuous templating, and templating regularly. We also applied FVMM for virtualization based fault tolerance to accelerate the failover process. Experimental results show that FVMM is more than 56 times faster than pre-copy live migration for a VM with 16GB, and can reduce upto 32% of the system downtime and the fault tolerance resynchronization time comparing to the methods using pre-copy live migration.