[Csync2] Csync not updating.
Lars Ellenberg
lars.ellenberg at linbit.com
Tue Feb 5 16:01:21 CET 2008
On Mon, Feb 04, 2008 at 04:35:17PM +0200, Wayne Gemmell wrote:
> Hi all
>
> I run csync from a single master node and force replication in one direction
> towards my slaves. I have now got a wierd problem where files aren't updating
> as I expect them to.
>
> The was working previously with the same config. I think the problem might
> have something to do with the fact that the slave was down for a while and
> csync was running on the slave (its a failover solution).
>
> Would be best way be to flush the slave? How do I do this this? Any other
> ideas?
for node in A B C ... ; do
ssh $node "rm /var/lib/csync2*.db; csync2 -cIr /"
done
ssh $node_with_correct_data 'csync2 -TIUX ; csync2 -uv'
--
: Lars Ellenberg Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com :
More information about the Csync2
mailing list