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] 1 vbd attached to 2 guest systems

To: "The Archer" <archerfish@xxxxxxxxx>
Subject: Re: [Xen-users] 1 vbd attached to 2 guest systems
From: "Javier Guerra" <javier@xxxxxxxxxxx>
Date: Wed, 27 Aug 2008 10:09:07 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Aug 2008 08:09:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a2e8d48c0808270759x4159f7c3r5c518eef8e12eb82@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: <a2e8d48c0808270759x4159f7c3r5c518eef8e12eb82@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Aug 27, 2008 at 9:59 AM, The Archer <archerfish@xxxxxxxxx> wrote:
> Hello everyone,
>
> I am trying to setup two hosts with a database in an active/passive
> configuration.
>
> What I want to do is have each guest system with it's own root disk, and
> then have another disk for data that is attached to both guest systems. How
> does one go about doing this?

make sure your DB supports a shared block device (doesn't it need a
cluster FS for that?)

just set both DomU's with the same (second) block device config line,
and use "w!" mode (that means "read/write, no exclusive check")

-- 
Javier

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

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