[Replicator-users] How to use "repli-sync"
Status: Beta
Brought to you by:
schaumat
From: Bernd H. <bj...@da...> - 2002-10-25 18:31:37
|
Hello, I have replicated two hosts (frodo, giga) from one modell-most (bilbo) using the cvs version from replicator. Now I have made some changes to the modell and want to synchronice the replicated hosts. This mail describes how I try to get repli-sync working. At the end there are some new files an the model (bilbo) missing on the replicat (frodo). It would be nice if you can give me a hint, how I get the hosts completly synchronizes with repli-sync. If you need some additional information or if I can do some tests I like to do it. Thanke Bernd ----------------- 8< ----------------------------------------- On "frodo" I have the following repli-sync.conf: frodo:~# cat /etc/replicator/repli-sync.conf=20 $model =3D "bilbo"; $nousr =3D 0; $noboot =3D 1; $norcd =3D 1; #do not remove the following line.. $the_end=3D1; If I try to start repli-sync I get the following error: frodo:~# /usr/share/replicator/repli-sync=20 Name "main::share_dir_on_server" used only once: possible typo at /usr/shar= e/replicator/repli-sync line 41. Can't exec "/repli-update": No such file or directory at /usr/share/replica= tor/repli-sync line 41. The I try to set the variable $share_dir_on_server in repli-sync.conf on frodo to /usr/share/replicator, where i have found repli-update: frodo:~# cat /etc/replicator/repli-sync.conf=20 $share_dir_on_server =3D "/usr/share/replicator"; $model =3D "bilbo"; $nousr =3D 0; $noboot =3D 1; $norcd =3D 1; #do not remove the following line.. $the_end=3D1; frodo:~# /usr/share/replicator/repli-sync=20 Name "main::share_dir_on_server" used only once: possible typo at /usr/shar= e/replicator/repli-sync line 41. dpkg: warning, architecture `i386-none' not in remapping table Erreur: no file /etc/replicator/replicator.conf available ; at /usr/share/replicator/repli-common line 70. Compilation failed in require at /usr/share/replicator/repli-update line 45. It seems that repli-update wants am /etc/replicator/replicator.conf. But this file is on the modell (bilbo) and was not copied to frodo during initial replication. Now I copy the /etc/replicator/replicator.conf from bilbo to frodo. Next try I got: frodo:/etc/replicator# /usr/share/replicator/repli-sync=20 Name "main::share_dir_on_server" used only once: possible typo at /usr/shar= e/replicator/repli-sync line 41. dpkg: warning, architecture `i386-none' not in remapping table Can't locate /etc/replicator/update_rules at /usr/share/replicator/repli-up= date line 56. Ok. I also copy /etc/replicator/update_rules form bilbo to frodo. After that, repli-sync seems to work, may file names are scrolling over the window. But not all new files seems to be copied: bilbo:/home/bernd# whereis lyx lyx: /usr/bin/lyx /usr/share/lyx /usr/share/man/man1/lyx.1.gz frodo:/etc/replicator# whereis lyx lyx: |