(04-08-2016, 07:26 AM)Me.B Wrote: But rsync is not real mirroring.Yes I agree. I know its crude. I only needed it for reduncy. Databases are realtime. Rsync only 4 times a day. Instead of making whole backups I decided to do it this way so I had a option to switch from server and continued operation if the master fails.
I was thinking about that setup for a real world WORDPRESS Customer. Offering real time loadbalancing. If you use rsync there would be a lag always for example when user update a new post and send new media. Even if you run rsync each min which will end up using too much ressources and less efficient.
That's why I thought over GlusterFS that handle it the right way. The other solution DRBD looked too heavy.
Also GlusterFS could offer replicate over more than 2 nodes and still in mirroring.
Realtime/synchronos is more complicated than master/slave setup.
Also looking into open stack