Hi,
Maybe this is the wrong place for this, but I'm killing myself over this...
I want to cluster our Moodle, to run tests for the students.
Right now The DB runs on 3 DB nodes with Galera MariaDB, with 2 HaProxys for balance and HA.
I want to split to original server into several nodes with Apache and PHP-FPM.
The Moodle data (and Redis) will run on a separated server, and will be mounted on each node running Apache.
NFS on the server has this options on exports:
/mnt/nfs_shares/moodledata 10.47.1.192(rw,sync,all_squash)
Clients will have on fstab:
10.47.1.184:/mnt/nfs_shares/moodledata /var/www/moodledata nfs4 _netdev,rw,noatime,sync,rsize=8192,wsize=8192,tcp,timeo=14,intr 0 0
If I setup SElinux off with "setenforce 0" I can see the moodle page. If I thrun it on:
Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.
I'e tryed using the "setsebool -P httpd_use_nfs 1" but no sucess...
Any advice on this?
Looking at our scenario, any other advice on something I should change?
Thank you.