I am configuring a local server on 4 Linux cluster machines Raspbian Stretch. Right now I have apache configured with balancer-manager to distribute the traffic to the corresponding computer according to the web that is requested.
The websites are hosted on each server in a separate cluster, and what I want is that all the hosting go to a single hard drive hosted on another server that has it mounted.
Is this possible?
EDIT
Scheme that I currently have:
- Cluster Master
- Apache2 (Proxy Balancer-Manager) - > Redirect traffic to slaves
- Cluster Slave 1
- Apache2, PHP7, MariaDB, PhpMyAdmin, Hosting
- VirtualHosts
- Cluster Slave 2 and 3
- Copy of Slave 1 (obviously changing IP's)
Right now what I need is to be able to configure:
- Access FTP from outside my home and access slave cluster according to need.
- Access each PhpMyAdmin of each VirtualHost.
As I said above, the first idea, which I have already ruled out in a response to excessive traffic, was to host everything on a separate hard drive.
Now I rethink it and I would like advice on how to assemble it so that a home cluster works in conditions.
Currently I already have a home server (without cluster) mounted and working perfectly. The fact of having a mini-custer at home for development and samples, is not because it has a lot of traffic, but it starts not to process some requests.