Recent experiences with GlusterFS?

Recent experiences with GlusterFS?

by Noveck Gowandan -
Number of replies: 2

Hello folks,


It's been a while since I've been here - and always looking into ways to improve the current state of my moodle. (Production as well as research purposes)

I'm looking at a use case for resilience and availability of the moodledata and from my understanding, GlusterFS over FUSE may be a good option.

The infrastructure scenario is this:
A webserver cluster of 4-6 servers
A database server or pair of servers (clustering not an option yet), possibly master-slave replication as a backup measure
A filestorage cluster built on GlusterFS comprising three storage peers with file replication for identical mirrors
A pair of redis cache servers

I already ran some file-based scenarios and think that a GlusterFS deployment can work for both. The auto failover and self-healing properties make it very desirable.



Is anyone using GlusterFS for MoodleData?

 Do you have any experiences/caveats to share?

Thanks for sharing

-Noveck

Average of ratings: -
In reply to Noveck Gowandan

Re: Recent experiences with GlusterFS?

by Justin Bachmann -

I have been running GlusterFS  for over 2 years now. 

It is stable software, but is known for not playing happy with smaller files if not correctly setup.
Had some fun in the early days tuning the GlusterFS for our environment.

It is important to have your sessions and caches (Including local caching) setup correctly or you may feel the performance impact. 

Couple of years old now but Catalyst It have an honest review of the platform on their site. https://www.catalyst-au.net/blog/our-glusterfs-experiences


-Justin

Average of ratings: Useful (1)
In reply to Justin Bachmann

Re: Recent experiences with GlusterFS?

by kfrydrys ILIM -
Good morning

I want to make a Moodle 3.8 cluster on several Apache 2.4 + PHP7 servers.
I have GlusterFS + nfs-ganesha-gluster.
I read that blocking is needed for some folders.
 i.e.
$CFG->tempdir
$CFG->cachedir

Which file locking in GlusterFS is good for Moodle?
How can I test that file locking is working properly?

Thank you in advance.
Kamil