I'm working on a new setup for a "stateless server" that should be used as an Apache/Php node to deliver contents over the internet.
My aim is to move the DocumentRoot and the ServerRoot to NFS (it will be EFS - Elastic File System on Aws) so that I will have a single network location where all my data and config files will be stored.
The OS is Debian Stretch.
While reading the Debian out of the box apache main config file, I've found the following comment:
NOTE! If you intend to place this on an NFS (or otherwise network) mounted filesystem then please read the Mutex documentation (available at http://httpd.apache.org/docs/2.4/mod/core.html#mutex>); you will save yourself a lot of trouble.
Since I've not found much documentation about moving the Apache ServerRoot, I have some questions:
- is the Mutex locking really needed even for single server access?
- after the Mutex locking setup, will I be able to access the NFS files from several servers at once?
- which "mechanism" should I choose?
- is there anything else I shoud be aware of?