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

2010-07-05 Thread Poh Yong Hwang
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 Ed

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

2010-06-28 Thread C.J. Adams-Collier
run the > process over 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 Edmison >

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 > > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > > > On 24/06/10 7:17 AM, "Poh Yong Hwang" wrot

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 tim

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 r

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

2010-06-24 Thread Lucas Timm LH
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 root password and so and back to your old virtual server and type: # dd if=/dev/sda | ssh root@(new_vm) "(dd of=/dev/sda)" Ty

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 way

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" 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 m

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

2010-06-24 Thread compdoc
One way would be to boot the VMs with a product like Acronis or Ghost, and create an image of the VM's drive(s). Then create a new VM on the 2nd server that has nics with the same MAC addresses as the old VM, and storage with the same sizes, and restore the image there. ___

[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 __