After some test,
I have solved problem to use a SAN based on GlusterFS to store xen images.
All work very very fine.
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
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
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
file:/GlusterFs-mount-point/domU-image-disk, hda, etc etc etc etc
On Mon, 24 Nov 2008, Enrico Valsecchi wrote:
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:
Tested to work!
Now, my idea:
Use a Xen Hypervisor with image disk data for DomU machines on GlusterFS
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
Xen-users mailing list