Date: Wed, 7 Sep 2016 20:41:46 +0200 From: Niklaas Baudet von Gersdorff <stdin@niklaas.eu> To: freebsd-questions@freebsd.org Subject: Re: NFS or rsync for sharing files between FreeBSD servers? Message-ID: <20160907184145.GA9270@len-t420.klaas> In-Reply-To: <CAPTAQBJD1qZ9kZSrXOOuKLHC6J_O3jBPiH4Yqav3qfQp8V7wtA@mail.gmail.com> References: <CAPTAQBJD1qZ9kZSrXOOuKLHC6J_O3jBPiH4Yqav3qfQp8V7wtA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Amitabh Kant [2016-09-07 21:39 +0530] : > We need to keep the directories in sync on all three servers. Currently, we > run a rsync command every time there is a change in one of the > files/directories. Sometimes it does happen that we forget to run the rsync > script making one of the servers return old versions. Try net/csync2. I'm very happy with it. It's fast and it does its job very well. It supports encrypting the connection between the nodes. (Since my cluster is connected through a VPN established by security/tinc, I disabled it though.) In its configuration file you decide which files/folders you want to keep synced. I supports resolving conflicts automagically (as far as such a process can be automatic). You can set up master and slave nodes i.e., you push from one to others; or you can set up all master i.e., pushing changes from any node to the others. Reading the paper about it http://oss.linbit.com/csync2/paper.pdf is worth the effort. Niklaas --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX0F9mAAoJEG2fODeJrIU/wmQP/0aLx1vw9rJHw2PfkS6PZh5t 6K4s1ljQZiY4Jitge44BpOqu9s2zpI2gO2ZTzmDQNH6oaSsn6pIfS9ksJAXQYVga 1V3IM9PlfcF5/oYUM6dauAGiuDBpmSoz6QG3w7bZP2m9P/p2rk+Au9ebtQKVqrUe lN/0keRbClkD5b3Fxz4c4MTDwumw3Ein2xB/fAAYzP0fu+ZRyihBrj2zvYVHWSU/ oiQH1pfGgiiMOt80TASr1gDKJStN/wLqocyCf6kMxoFokkzd00iy3ytCrDAII2q9 IElr/Vr6vAbLSOYlAyr+90lsQTUwjgiqoVfojXHZVuknnnoIaD0rjsqyZfxs42c0 p3VKvtuoGI6fMFturG5U+wFNi5Lqnewwm/kc3P/9nHQsmWH8dNw5C/na/kwNn6mt 7eG0DB9XiVfIs9EwRGzo1OKR0IIYKrQ3fm3hbD7ERWU5mJL/joMwJ8NzO1UKUgSi qnKZQ2NERp/pwWves7fE2x6uXs0CLgUNrYkN8/8hdo3UCD4Z3rvm65U94YGEjYx1 Eymmaz3rth5eEd4ONQ//nef5Hp7kYyxgRRXW//T3+Jjb3YzHrI+/ERljtMMtRtbg XaqeZ2oMCug0bt2uxLyd33U8PRewavR1w5VwWn5XBvLAMZZSyzjJ1lOkYLJsBTZO xzu1v5dd/kHR9hmwzoMR =zzCz -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160907184145.GA9270>