This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Xen-DRBD Migration question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen-DRBD Migration question
From: Jonathan Dye <jdye@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2010 11:56:47 -0600
Delivery-date: Tue, 10 Aug 2010 10:56:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0d0a01cb38b1$7fdd7da0$7f9878e0$@com>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <714EA284-EF71-46D8-AC75-B8EB71B3F6E2@xxxxxxxx> <0d0a01cb38b1$7fdd7da0$7f9878e0$@com>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100328 Shredder/3.0.5pre

To do this with a paused domain requires that you copy between the hosts the
state file that is created when you pause the domain - but I've not done
this so I am not 100% sure as to if this actually works or what the pitfalls
that sounds like it should work. if i recall, internally both pause and migrate use xc_save() and xc_restore(). the only difference in the way they are called is that during a migrate the file descriptor passed to each happens to be a socket, where it's a regular file during pause and unpause.

- jonathan

Xen-users mailing list