Moodle 2.0 and mapped network drives
I'm setting up a moodle 2.0 server for sept 2011 and have some questions about how best to use the filesystem repository so that Moodle can use our mapped network drives.
Our Moodle 2.0 will be on an RHEL6 machine that is in a DMZ. The drives are on an FC SAN.
Our shared mapped network drive is on an internal RHEL5.5 machine, the drives are also provided from a FC SAN (on a different LUN than the new Moodle webserver).
The samba shares on the fileserver provide a 'staff' folder which is confidential and one folder for each yeargroup. The yeargroup directories are writable by staff, but not by students.
The goal is to get the yeargroup directories as repositories for Moodle, so that staff can just use the mapped drives to upload files.
I have several options, but not sure which to do.
Ideally I (think) I should rebuild the internal samba server using a clustered filesystem (GFS2) then map the LUN onto the webserver and the samba server simultaneously, but this could this then expose the confidential staff folder to the webserver if it was compromised? Also a lot more effort.
I could make the webserver a samba server, and do away with the internal fileserver. Again a security issue? easier to do as I can just remap the LUN without changing the filesystem.
I could open the firewall and map the student drives via NFS (or SMB) seems simple enough in theory, what would happen when the fileserver reboots? Which would be better NFS/SMB? the filesystem only needs to be read only.
Whats your thoughts on my best options? any other ideas?