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] Can guests share an FC HBA?

To: lists@xxxxxxxxxxxx
Subject: Re: [Xen-users] Can guests share an FC HBA?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 26 Jan 2009 13:39:39 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 25 Jan 2009 22:40:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2009125223513.626169@leena>
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: <7207d96f0901251721u730547b1y6da841136989ecac@xxxxxxxxxxxxxx> <2009125223513.626169@leena>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Jan 26, 2009 at 11:35 AM, lists@xxxxxxxxxxxx <lists@xxxxxxxxxxxx> wrote:
> Nick mentioned that the host can share it's drives/storage so this has made 
> me wonder about something.

I think we're talking about two different things here. I was talking
about how a guest can share hosts' HBA so each guest would think they
have their own "dedicated" HBA. This is needed for some situations,
for example tape backups.

Sharing a drive/storage (as in block device, not the fs) should simply
be mapping host's storage using the usual phy:/ vbd, and (optionally,
if multiple guests access the same storage) some kind of clustered fs.
Note that there are also methods like using tap:qcow to have multiple
guests share reads to the host's block device while writes are
redirected to a different file.

Sharing host fs is done using the old NFS/CIFS method.

>
> In my testing so far, each guest usually has NFS mounts to a central storage. 
> I don't know the NFS protocol well so am only guessing that such a connection 
> means chatter on the network.

Yes.

>
> So, if there are say 10 guests on a server, each connected to the shared 
> storage via NFS, this would end up being a ton more Ethernet chatter than it 
> would if I could simply connect the storage ONCE to the host, then give each 
> guess access to this.

I get your point, but AFAIK it would not reduce network traffic as NFS
makes very little use (if any) of cache, so that all traffic would end
up in the NFS server anyway, which is why on the other thread I
mentioned you should have a dedicated storage network.

You might have better luck with cachefs to reduce NFS network traffic.

Regards,

Fajar

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

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