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

[CentOS-virt] KVM with bridge in one interface

2010-06-24 Thread Armando Montiel
Hi, I have only one ethernet port in a remote server. (eth0) I have a public address with x.x.x.164 netmask 255.255.255.240 gw x.x.x.161 and want to use in my guest OS the next available ip address (x.x.x.165 netmask 255.255.255.240 gw x.x.x.161) Is this posible with brctl to achieve this? I

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 __