[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] lock domU file backed vbd's?


  • To: "Wayde Nie" <xen@xxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Thu, 14 Aug 2008 10:18:03 -0400
  • Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 14 Aug 2008 07:18:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=QGj7nnnfOzPbLrTKydAeESpxXwlV88zQBsuAAA4Fh3bKtR7rgEMm0esP1KwSR+uhUU nmon742AiGRYpktSQVW01z0wCAgKTQ1EDnuiKpcfTdQlKZv8TV1FgepQRnVsOs86xzf4 ju9RUcQlyaRN+lX3N+gLRQvSEcaMgGe30zTtI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, Aug 8, 2008 at 6:00 PM, Wayde Nie <xen@xxxxxx> wrote:
> Hi Everyone,
>
> Does anyone have suggestions on the best way to implement some sort of
> interlock so that a VM with a file-backed vbd can only be started on one
> node at any given time? I haven't had much luck with Google or the
> archive searches so far...
>
> Some background:
>
> I've got a 2 node setup based on Debian Etch and the stock Debian Xen
> 3.0.3. Each node has local storage connected together in an
> active-active drbd8 cluster with osfs2 and I'm using file backed vdb's
> on the shared storage for my domU's.
>
> I can start a domU on either node and live migration is working great.
> Unfortunately, there doesn't appear to be any locking done on the file
> backed vbd's which makes it a bit to easy to start a VM on both nodes at
> the same time (trashing the disk file in the process...)
>
> Any pointers would be appreciated!
>

A thread on the topic:
http://xen.markmail.org/search/?q=device+lock#query:device
lock+page:1+mid:ouugxur56hqikqty+state:results

Cheers,
Todd


-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.