On Wednesday 10 September 2003 18:41, Cristiano Paris wrote: > Dear gentooists, > > I've being running Gentoo for about one year, both on my desktop PCs and > some server at the University. On the server side, it would be helpful > to have two systems whose installed packages are identical, some sort of > "twin systems". This will allow simple fail over. > > If I understand well how portage work it should be just a matter of > syncronizing the "world" file of both server and let one install new > packages installed on the other. > > Is this correct?
IMHO: No you should have to synchronize /var/db and /var/cache/edb After installing one paket on the first one, you could transfer the binary paket to the second one. The easiest way should be with rsync'ing the second server with the first one, but son't ask me about rsync ;o) Personally, I would fiddle with quickqkg, --buildpkg and a wrapper script, that transfers the paket a to the second server and installs it there. After getting this script working, I would format the second server, tar-up the first one and unpack it on the second. Then the emerge-wrapper would set up. Could be more elegant, but I am a (l)user only.. never had to sync two machines ;o) Gl�ck Auf Volker -- Conclusions In a straight-up fight, the Empire squashes the Federation like a bug. Even with its numerical advantage removed, the Empire would still squash the Federation like a bug. Accept it. -Michael Wong -- [EMAIL PROTECTED] mailing list
