Hi,
We've got 2 small moodle sites running on 2x webservers (apache),1x Mysql (with slave replication to a backup DB server) and 1x fileserver for content (where moodledata folder currently sits)
I'm hoping to reduce the maintenance and single point of failure of this setup by removing this file server.
As I see it there are two options available but I'm not a moodle genius so not sure which one is best.
Option 1: Moodledata on the web servers and kept in sync with rsync (or similar) on a cron job. Sessions are stored in the db so I think this is possible.
Option 2: Moodledata is stored on the SQL server and kept in with rsync (as above) with the out of load replication server. This way only one moodledata folder is actually "live" at any one time but rsync keeping the folders in sync means failing over the MYSQL server is no issue.
From a content perspective I would think closer to the student by being on the web server is best but (I believe) Moodle handles everything content related (file locations and completion status) therefore closer to MySQL is best.
Is there any real difference between these two options?
Thanks