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

RE: [Xen-users] Shared storage between Domu's


  • To: "Niv Elad" <NIVE@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Thu, 8 Mar 2007 14:35:08 +0100
  • Delivery-date: Thu, 08 Mar 2007 05:34:45 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcdhhZ8iSUsqLkhISVO9ysl0Fo9dQAAADRVw
  • Thread-topic: [Xen-users] Shared storage between Domu's

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Niv Elad
> Sent: 08 March 2007 13:28
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Shared storage between Domu's
> 
> Hello
>  
> I have two domains running on the same Dom0.
> I want to allocate shared disk  to both of them (i want to 
> simulate cluster envinroment).
>  
> Does anyone know whether this is possible and if so how can 
> it be done?

Yes, but if you actually want to write to the file-system, you will need
a cluster-file-system that "tolerates" multiple writers to the same
file-system. Most filesystems assume that there can only be writes from
one origin, and thus that the writes are "synchronized" by the writer.
In a cluser-file-system, this is not assumed, and thus there are
mechanisms in the filesystem to cope with multiple writes from different
machines (or such). 

I'm not an expert on cluster file systems, but google turns up: 
OCFS, GFS and Lustre amongst some other things. 

For a very "easy" but not optimal solution, you may want to set up an
NFS mount and let the guests use that - NFS isn't a cluster file system,
but it allows multiple machines to write to the same "disk". (because
it's sequentialized through the NFS daemno). 

--
Mats
>  
> This is my disk defenition for the domains - 
>  
> DomU1:
> disk=['phy:vgxen01/lv_linva04_hda,hda,w','phy:vgxen01/lv_linva
> 04_06_hdb,hdb,w']
>  
> DomU2:
> disk=['phy:vgxen01/lv_linva06_hda,hda,w','phy:vgxen01/lv_linva
> 04_06_hdb,hdb,w']
>  
> When trying to start second DomU i am getting the following - 
>  
> Error: Device 5632 (vbd) could not be connected.
> Device /dev/vgxen01/lv_linva04_06_hdb is mounted in a guest domain,
> and so cannot be mounted now.
>  
>  
> Cheers
>  
> Niv 
> This message and the information contained herein is 
> proprietary and confidential and subject to the Amdocs policy 
> statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp
>       
> 



_______________________________________________
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®.