I have a clustered Ubuntu server layout that looks like this:
Server A - Web Server (Primary)
Server B - Web Server (Secondary)
Server C - Database Server (Master)
Server D - Database Server (Slave)
Server E - Load Balancer
Server F - Load Balancer
Multiple web sites are hosted on Server A in each users /home/$name/public_html directory (e.g. /home/aaa/public_html, /home/bbb/public_html, etc.).
For the Load Balancer (Servers E/F) to function properly, Server A's /home directory (where files are stored) must always be in sync with Server B's /home directory.
Is the best way to implement this using rsync? If so, how do people set that up? I found a few websites on the subject -- none of them were very detailed.