From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Secure migration of LVM based guests over WAN Date: Tue, 16 Oct 2012 11:40:41 +0200 Message-ID: <507D2B99.1090306@redhat.com> References: <507D2504.6090206@laukamp.me> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Lukas Laukamp Return-path: Received: from mx1.redhat.com ([209.132.183.28]:61767 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918Ab2JPJk4 (ORCPT ); Tue, 16 Oct 2012 05:40:56 -0400 In-Reply-To: <507D2504.6090206@laukamp.me> Sender: kvm-owner@vger.kernel.org List-ID: On 10/16/2012 11:12 AM, Lukas Laukamp wrote: > Hey all, > > I have a question about a solution for migrate LVM based guests directly > over the network. > > So the situation: Two KVM hosts with libvirt, multiple LVM based guests > Want to do: Migrate a LVM based guest directly to the other host over an > secure connection > > I know that migration is possible when the VM disks are stored on an > NFS, GFS2 filer/cluster etc. > > So would it be possible to do an offline migration directly with netcat > or something like that? > If all you need is offline, you can use scp to copy each volume to the destination volume. Make sure the guests are shut down when you do that. It is also possible to do a live migration, but unless the destination and source are in the same IP subnet, the guests are going to lose connectivity. -- error compiling committee.c: too many arguments to function