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] Sharing file/folder

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] Sharing file/folder
From: "lucianobarreto@xxxxxxxxx" <lucianobarreto@xxxxxxxxx>
Date: Mon, 14 Feb 2011 22:35:59 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 Feb 2011 16:37:11 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=w85OBhI9LtsEzNCHbrdheo8m8t20HXpWDgpxFbKcJm0=; b=u34xSqvVpgz9aCCo6ULj6i1RvMHD7bYNKezeW4gXB6566xW2dc94eXTbETIAnFk++e qq0Ro67ozO0nqEz7qNasFjVeIgTsDg2bmQXRHnkTwuPV504X9qZ1TZDpLTi6nlxqSVuq ZSQGO0iDkra1koS3cFMXtT+5LoD2sSSCdA1hk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=n9QrkGY7+IJLKUA8Pu1IEJUF2P7bupZxqoPhy9fILCRKfVxNIfdew4EEffQIyCqdva uzgch75es37np3K/rUiRd713kF3olQsbnq1Rh3YTCh04SWAK+G6E8qJhWL7Y0XYBY6kO vMSrfvcRhn0gm7kzDzwbxxL5qAFEb0BRiwsyg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimDbF-0ifeCS15B20M-KQi1R7890Ub=nq_VF4Ra@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: <AANLkTimvqmWz5F7mGBHBZtjRP2tVX38t0j=rnvSHfbJ=@xxxxxxxxxxxxxx> <AANLkTinfdUEUh8Ckbw=ZHRGHbjNhuhNthJznaykXm0+J@xxxxxxxxxxxxxx> <AANLkTi=Rt1BxTjswcCdQGaArc_eKs400+Ee0G1p5qbzK@xxxxxxxxxxxxxx> <AANLkTimDbF-0ifeCS15B20M-KQi1R7890Ub=nq_VF4Ra@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

2011/2/14 Fajar A. Nugraha <list@xxxxxxxxx>
On Tue, Feb 15, 2011 at 3:41 AM, lucianobarreto@xxxxxxxxx
<lucianobarreto@xxxxxxxxx> wrote:
> Sorry if duplicated...
> Thanks guys, let me expose my problem. I'm prototyping a fault tolerance
> server (byzantine fault tolerance). Vms need do comunicate each order for
> make decisions about requests. My host will be out of network (cant access
> anything) and my Vms can comunicate to the external world, but the decision
> need to be local.

The first question would be "why"?
Most HA-systems are designed to work whether it's on a VM or on a
physical machine. Normally you'd just use whatever mechanism you'd use
on physical machine/

It's an academical model that I'm trying to propose to my master thesis. On general models physical machines or vm exchange informations over the network (point of fail, man-in-the-middle, non reliable channels), than my propose is to use another way to exchange this informations.
> Yes, I could comunicate via network inside VM to exchange
> information but my propose is to have a reliable local share to do it. In
> another work a friend used a Virtualbox folder share to do it, but now I
> need increase performance and use Xen to do it.

Virtualbox shared folder has about similar performance as running
nfs/samba inside dom0 and mount it on domU.

Yes, i need more performance not just in exchange information, but running the VMs (my choice to Xen).

> About clustered filesystems, any options to use it in a normal block device
> like Sata HD or SCSI? I understand..."clustered"... but any option?
> Thanks and I will get more information about clustered filesystems

You should be able to force-assign a block device to more than one
domUs with "w!" instead of just the normal "w" (e.g.
phy:/dev/sda1,xvda,w!), skipping the normal
you-can-only-assign-a-block-device-read-write-once check. Then you can
run a cluster file system (OCFS2/GFS2/whatever) on top of it.

I'll try it....
IMHO it's too complicated for your purpose though. Better stick to
nfs/smb on dom0.



Luciano Barreto
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>