I have been having a look at the recomedations for server clustering in Moodle 2.6 here and need to clarify some of the points. It states that:
- Use OPcache extension on all cluster nodes. --- Why is this better than APC for instance
- Set $CFG->localcachedir to fast local filesystem on each node. --I suppose this is done in the Moodle config file
- Set $CFG->tempdir to fast local filesystem on each node. --I suppose this is done in the Moodle config file
- Use one big central memcached server for all shared caches that support it. -- Meaning? I dont understand this part
- Use local memcached instances on cluster nodes for local caches that support it. -- And this is a little vague
- Store user sessions in one shared memcached server. -- Does this mean that we need to have a separate memcached server as well as a shared Moodle-data folder
- Use fast local directory for dirroot on each cluster node. -- So for two servers, two local Moodle application folders
- Use dynamic cluster node management. ---??????????????
- Use transparent proxy servers.???????????????
If anyone can fill in the gaps in my understanding that would be great!
We currently run two webs with local moodle applications on both using sepaarte disks for each, with shared VM disk with Moodle-data folder using OCFS2 as a clustering service. And 1 x separate DB servers
Cheers