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

2010-07-05 Thread Poh Yong Hwang
/2010 9:00 AM, centos-virt-requ...@centos.org wrote: Message: 3 Date: Thu, 24 Jun 2010 10:52:57 -0400 From: Kelvin Edmisonkel...@kindsight.net Subject: Re: [CentOS-virt] (KVM) How can I migrate VM in a non shared storage environment? To: Discussion about the virtualization

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

2010-06-28 Thread Christopher Hunt
] (KVM) How can I migrate VM in a non shared storage environment? To: Discussion about the virtualization on CentOS centos-virt@centos.org Message-ID:c848e989.30d95%kel...@kindsight.net Content-Type: text/plain; charset=US-ASCII On 24/06/10 7:17 AM, Poh Yong Hwangyong

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

2010-06-28 Thread C.J. Adams-Collier
that interface, so it doesn't impact the running vms. Cheers -Chris On 6/24/2010 9:00 AM, centos-virt-requ...@centos.org wrote: Message: 3 Date: Thu, 24 Jun 2010 10:52:57 -0400 From: Kelvin Edmisonkel...@kindsight.net Subject: Re: [CentOS-virt] (KVM) How can I migrate VM in a non

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

2010-06-24 Thread Poh Yong Hwang
Hi, 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? Thanks! YongSan

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

2010-06-24 Thread Kelvin Edmison
On 24/06/10 7:17 AM, Poh Yong Hwang yong...@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

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

2010-06-24 Thread C.J. Adams-Collier
I often use rsync -a for remote systems or cp -a for local systems. I've also used dd. You can have dd output to stdout, pipe it to ssh and have ssh output to dd on the other end. You can also connect to a SAN device on the source and dd from the local block device to the SAN device. Lots of

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

2010-06-24 Thread C.J. Adams-Collier
Note, the -x argument will keep the copy to a single partition On Thu, 2010-06-24 at 14:12 -0300, Lucas Timm LH wrote: Create a new virtual machine on your storage. After this, boot some Linux distribution in your new virtual machine (I like SysrescueCD). Enable your ssh server, change the

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

2010-06-24 Thread Dennis J.
This can be useful in some cases: http://www.bouncybouncy.net/ramblings/posts/xen_live_migration_without_shared_storage/ With the blocksync.py script on that page you can first make a copy of the block device while the VM is still running. Then shut down the VM and make another run only this