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

Re: [Xen-users] Gluster 1.3.12 and Xen! -> SOLVED!



After some test,
I have solved problem to use a SAN based on GlusterFS to store xen images.
All work very very fine.

Software used:
Xen v. 3.2 build under Centos 5.2 X_64

GlusterFS v. 1.3.12

Configure GlusterFS in your favorite mode (AFR, Mirror, Unify, is not a problem)
Mount GlusterFS in client environment with DISABLE DIRECTIO:

- version 1.3: glusterfs -d disable -f /path-of-volume-spec-file

- version 1.4: glusterfs --disable-direct-io-mode -f /path-of-volume-spec-file

Now, if Gluster work correctly, you can store Xen Image file into space allowed by GlusterFS

You can specify, in domU configuration file, disk type:

tap:aio:/GlusterFs-mount-point/domU-image-disk, hda, etc etc etc etc (suggested method)

OR

file:/GlusterFs-mount-point/domU-image-disk, hda, etc etc etc etc

Bye,

Enrico

On Mon, 24 Nov 2008, Enrico Valsecchi wrote:

Dear All,

I have installed Gluster FS v. 1.3.12 on 2 server with Debian 4.05,
in AFR with client side replication, explained in this page:
http://www.gluster.org/docs/index.php/Setting_up_AFR_on_two_servers_with_client_side_replication
Tested to work!

:-)

Now, my idea:

Use a Xen Hypervisor with image disk data for DomU machines on GlusterFS
repository

Your going to run into a lot of issues with loop files. Unfortunately Gluster does not support tap:aio, so the only thing left is look with issues. :( I wish so much that this was not the case, but after working on this for about 6 months I ended up going with DRBD. It is much more limited then Gluster, but stable as a rock.

<>
Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.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®.