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] Re: drbd non-live migration with drbd

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Re: drbd non-live migration with drbd
From: Aleksandar Ivanisevic <aleksandar@xxxxxxxxxxxxx>
Date: Wed, 27 Jan 2010 11:54:20 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jan 2010 03:15:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f1001260328n584d761eueb0d79b1331b61e8@xxxxxxxxxxxxxx>
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: <m3aaw2ji2s.fsf@xxxxxxxxxxxxxxxxxxx> <4B5DCC32.7040206@xxxxxx> <m31vhdjita.fsf@xxxxxxxxxxxxxxxxxxx> <7207d96f1001260328n584d761eueb0d79b1331b61e8@xxxxxxxxxxxxxx>
Reply-to: aleksandar@xxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100122 Remi/fc8 Thunderbird/3.0.1


On 01/26/2010 12:28 PM, Fajar A. Nugraha wrote:
On Tue, Jan 26, 2010 at 4:50 PM, Aleksandar Ivanisevic
<aleksandar@xxxxxxxxxxxxx>  wrote:
For PV's this is possible using drbd OCF ra drbd instead of phy in Xen
config, but has some catches related to outdating drbd.

Which catches? Where is this documented? I thought all you have to do
is use drbd block scripts and xen will take care of everything.

Have you tried this? I'm using drbd (tried 8.2 and 8.3) with Xen
3.4.1, drbd block script simply doesn't work. I finally settled with
using drbd 8.3 and phy:/dev/drbd/by-res/

it works, sort of, it is all pretty fishy

if you are using pygrub drbd resource heeds to be named the same as the device (resource drbd0 for /dev/drbd0, etc..) or you can patch blkif.py as in this bug (comment #2)

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1438

it will work as long as you put drbd resource as primary at the beginning, migration and all (so far, did only a few hops)

If you don't use pygrub and specify kernel, root, etc in the config file then the block driver brings up the resource, but it locks up after migration


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

<Prev in Thread] Current Thread [Next in Thread>