[CentOS-virt] (KVM) How can I migrate VM in a non shared storage environment?

Thu Jun 24 14:52:57 UTC 2010
Kelvin Edmison <kelvin at kindsight.net>



On 24/06/10 7:17 AM, "Poh Yong Hwang" <yongsan at gmail.com> wrote:

> I have a server running CentOS 5.5 with KVM capabilities. I need to migrate
> all the VMs to another server with the exact same hardware specs. The problem
> is it is running on individual harddisks, not shared storage. What is the best
> way to migrate to minimise downtime?

I've had good success using dd and nc (netcat) to copy the contents of a
disk or disk image from one machine to another, and verifying the copy was
successful with a md5sum or sha1sum of both the original and copied disk.

Kelvin