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] DRBD and HVM hosts

To: "Mark Adams" <mark@xxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] DRBD and HVM hosts
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 3 Jun 2010 10:40:30 +1000
Delivery-date: Wed, 02 Jun 2010 17:42:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100602162722.GA12987@xxxxxxxxxxxxxxxxxx>
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: <20100602162722.GA12987@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsCcPNReDX7WCcdT26+sNBXaodYHgARB1Qw
Thread-topic: [Xen-users] DRBD and HVM hosts
> Debian Lenny, Xen 3.2.1
> Has anyone got HVM to work with the drbd resource scripts? I've seen
> some posts in the devel such as this;
> Will this be incorporated or how can I change this in my setup?

That was my patch. You could download the Lenny package sources and
apply the patch to that and it might work.

If you are not using multiple primary mode then you'll also need a sleep
in there as qemu races with the scripts and often the node is not yet
primary when qemu wants to open it.

A better patch would be to try for (say) 30 seconds to open the drbd
device, eg try open, sleep if failed then try again. An even better
patch would fix the race properly.


Xen-users mailing list

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