[Csync2] Daemon ? Network

Jean-Francois Stenuit jfs at skynet.be
Mon May 8 09:08:10 CEST 2006


Hello Michael,

I have the same objective here. I worked on a very bare inotify daemon in 
perl the last few days, which is almost ready. Now I could interface it 
with csync2 with a little help.

The problem I have is that I'm working in an active-active configuration. 
A synchronisation on one machine will trigger (via inotify) a 
synchronisation on the second one. I guess there is a risk of an endless 
loop there.

If needed I can share my design notes and my code.

On Thu Jan 5 18:53:03 CET 2006, Michael Milkovich wrote :

>If you need continuous updates across a group of machines, you need run
>csync2 periodically.  The simplest way to do this of course is a cron job.
>
>Clifford and I have discussed building a "notifier" daemon based on the
>new inotify interface which would watch for changes in configured
>directories and fire off csync2 as needed,  but it is still on my todo
>list.  If there is sufficent interest, I can either (a) move it up on my
>priority list (hard to do) or (b) share my design notes and scratch code
>to someone who wants to build the app for real.
>
>-- 
>    Mike Milkovich
>    Partner, Warecorp
>    952 938 5448 (o)
>    612 384 4167 (c)
>    www.warecorp.com
>
>
>
>Chip Burke wrote:
>
>>Does Csyn2 run as a daemon? Or if you want real-time sync, would one need to
>>set up a cron job to run every so often?
>>
>>Also, I looked at the PDF, and it doesn't appear you can choose what network
>>interface or IP to use to sync across. Is there an option for this in
>>csync2? Or would this be a host file issue? (I assume the host name you put
>>in the config would be pulled from hosts or DNS, right?)
>>
>>Thanks!
>>
>>________________________________________
>>Chip Burke
>>________________________________________
>>
>>
>>
>>_______________________________________________
>>Csync2 mailing list
>>Csync2 at lists.linbit.com
>>http://lists.linbit.com/mailman/listinfo/csync2


-- 
  |--- Jean-Francois "Jef" Stenuit


More information about the Csync2 mailing list