GlusterFS 2 node Replicate w/ Inotify backups
From Ye Ole Stash
Contents |
Design and layout
- The layout of this system is a pretty basic 2 node backend 2 node frontend replication. It can be scaled easily with more nodes on either end. Due to WAN limitations with Gluster lsycnd (inotify based) is used to rsync files to the remote backup servers.
Hardware
MRTG Setup
- ethernet interfaces
Images
- A image can sometimes say a thousand words.
Config Files
GlusterFS
Web01/02 (Client)
Filer01/02 (Server)
Lsycnd
- /usr/local/lsyncd/bin/lsyncd --delay 2 --stubborn --logfile /var/log/lsyncd /exports/webstorage/ backup01.$DOMAIN::$RSYNCD_STORE
To Do
- Cluster MySQL
- Automate moving websites between severs
