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

2010-06-28 Thread Christopher Hunt
+1 for dd + nc over ssh if necessary.

This process can and probably will saturate your ethernet interface, so 
depending upon the amount of traffic the box pushes on the public 
interface the size of the partition and other factors, sometimes i add a 
crossover cable between unused interfaces on the 2 boxes and 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 Edmisonkel...@kindsight.net
 Subject: Re: [CentOS-virt] (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...@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



 --

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


 End of CentOS-virt Digest, Vol 34, Issue 13
 ***
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


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

2010-06-28 Thread C.J. Adams-Collier
If you do it often, you might consider listening for ssh connections on
a separate port and using tc to keep things from getting out of hand:

http://linux.die.net/man/8/tc

Cheers,

C.J.

On Mon, 2010-06-28 at 09:17 -0700, Christopher Hunt wrote:
 +1 for dd + nc over ssh if necessary.
 
   This process can and probably will saturate your ethernet interface, so 
 depending upon the amount of traffic the box pushes on the public 
 interface the size of the partition and other factors, sometimes i add a 
 crossover cable between unused interfaces on the 2 boxes and 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 Edmisonkel...@kindsight.net
  Subject: Re: [CentOS-virt] (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...@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
 
 
 
  --
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
  End of CentOS-virt Digest, Vol 34, Issue 13
  ***
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt



signature.asc
Description: This is a digitally signed message part
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt