WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "John Madden" <jmadden@xxxxxxxxxxx>, "Eric Laflamme" <elaflamme@xxxxxxxx>
Subject: RE: [Xen-users] Xen-DRBD Migration question
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Aug 2010 09:40:07 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Aug 2010 16:41:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C618B7E.7060202@xxxxxxxxxxx>
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> <4C618B7E.7060202@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs4sUcFiFaOFuWjTxak5xEa8OVrfAAM67Xw
Thread-topic: [Xen-users] Xen-DRBD Migration question
> 
> > I've heard from a post somewhere that a migration Secondary-Primary
can be
> done. Our best way to do this will be to put de VM on pause. Put the
drbd disk
> on Secondary. Then migrate the vm to the second host, then put the
drbd disk
> on second host to primary and unpause the vm. I've searched on google
and I
> can't find anything on this method.
> >
> > Is there a way to do this? Is there another way you are thinking of?
> 
> What about a drbd device per vm, both set active/active?  Migration
> already ensures that only one vm at a time can write to the underlying
> device through its pause/unpause mechanics.
> 

I can't speak for the OP but one of the attractions about
primary/secondary drbd for me is that you can't accidentally start the
vm on two nodes at once, ever. It would be nice to have the migration
handle the volume state transition automatically as I don't think there
is ever actually a need to have the drbd volume writeable on both nodes
at once, although a drbd volume isn't even open-able unless it's in the
primary state.

James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users