简体   繁体   中英

Understanding csync2 & lsyncd Syncing Mechanism

So I have two Servers configured for file replication. Imagine one being "Server1" and the other one is "Server2". I Configured lcyncd and csync2 on both nodes and sync work perfectly.

I was wondering what happens at Server2 when I add new files to Server1's syncing folder. If I create a new file in Server1, lsyncd in Server1 detect the change and trigger csync2 to sync that file to Server2. At the same time, lsyncd in Server2 detects that new file it will also start to sync that file to Server1 ryt? or something else?

那么, http://oss.linbit.com/csync2/paper.pdf ,从我的理解,lsyncd几乎运行在一个迪尔斯FS的腕表,并推动任何改变,当后推到它的同行,CSYNC使用解决冲突的算法(年龄更大或更小,主机更大或更小,主机左侧还是右侧等)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM