[CentOS] file system replication

Thu Oct 9 17:55:05 UTC 2014
Keith Keller <kkeller at wombat.san-francisco.ca.us>

On 2014-10-09, Jason T. Slack-Moehrle <slackmoehrle at gmail.com> wrote:
>
> I need to keep 2 systems identical. Mostly e-mail directories, web
> directories, mysql, etc. The goal here is to have a 2nd system ready to go
> it the first one starts to exhibit hardware issues.
>
> What are options to have this happen? I'm going out on a limb and thinking
> rsync but I haven't used it past just simple use cases.

You can try lsyncd.

https://code.google.com/p/lsyncd/

It's basically a daemon monitoring inotify events and sending them to an
rsync, so it can keep things up to date more easily.  (I have never used
it myself, so caveat emptor.)

--keith


-- 
kkeller at wombat.san-francisco.ca.us