replicating data over 2 servers

nbari at unixmexico.com nbari at unixmexico.com
Tue May 27 01:22:29 PDT 2003


the problem when using rsync in both servers is that if data on server A
is  updated, and data on server B is updated at the same time, there is a
chance to lost data.

If a user writes to a file on server A and then rsyn is executed data will
be lost, and so if a users writees on server B an rsync tryis to fecth
from server A data will be lost

how about usind coda?
or another tool for replication txt files?


thanks.


> rsync sounds like it'd fit your problem. It's in the ports collection in
> the net
> category
>
> Cheers
>
> Ian
>
>
> Quoting nbari at unixmexico.com:
>
>> hi all, i have to servers (A, B) with round robin DNS, users enter to
>> server A and server B and they write to a txt file, how can i sync the
>> file from both server so it can be always the same? for example if a
>> user
>> enter to server A and modify some data, replicate that modification to
>> server B so when user enter to server B he can see his changes, and the
>> same if user modify a file on server B, replicate that file to server A,
>> any idea?
>>
>> _______________________________________________
>> freebsd-isp at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
>>
>
>
>
>



More information about the freebsd-isp mailing list