[Csync2] Adding a huge amount of data to an existing csync2/lsyncd setup

Jerry Chin metrxqin at gmail.com
Wed May 3 03:22:00 CEST 2017


Hey! Do you have the csync2 paper at hand which came along with the package
(or check out this link http://oss.linbit.com/csync2/paper.pdf) ?
thoroughly read chapter *5.5 Bootstrapping large setups* will extremely
helpful.

The chapter will show you how to add new files to status db without marking
them as dirty, so they will not be synchronized in the next loop.

Feel free to contact me, if you have more questions.





*Regards,Jerry Chin.*
*​下述​​真理​​不证自明:凡​为​人​类,​生而平等,秉造物者之赐,拥​​诸​不可​剥夺​之权利,包含生命权、自由权、​及追​求幸福权​。​​​*


On Wed, May 3, 2017 at 4:45 AM, Kevin Cackler <kevin at techdaddies.com> wrote:

> What is the best method for adding a lot of data to an already existing
> setup? I'm talking about 50GB here and probably around 60,000 files. If I
> just add the files to a node in the cluster, it takes many hours for the
> data to sync to the rest of the nodes. I would be fine with stopping lsyncd
> on all of the nodes and then copying the data manually to each node, but
> I'm unsure of how to then make csync2 aware of the new files (And aware
> that the files are identical and OK for syncing).
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20170503/7a1041d1/attachment.htm>


More information about the Csync2 mailing list