Web hosting HA setup
I have 5 servers:
Server-1: Webhosting Controlpanel (192.168.1.1)
Server-2: Load balancer [Haproxy] (Public IP:192.168.1.2 and
Virtual IP:192.168.1.3)
Server-3 & 4: Data Servers Mounted data from NFS so data is same on
each server i.e /home (192.168.1.4, 192.168.1.5)
Server-5 : NFS Server (192.168.1.6) shared directory /home
My problem is I'm not able to mount /home from virtual IP of "load balancer". I don't know how to configure HAproxy to access shared folders from servers.
I can access the mounted directories /home from servers directly but I want to mount the /home by load balancer so that I have some HA setup.
NOTE
Load balancer is working for Apache I can see the Apache default page loading from virtual IP of the load balancer.
Here is a model image of setup:
