aioshin 0 Report post Posted September 16, 2005 ok, I have 7 pc to be installed with Mandriva, the package to be install would be almost identical to each box, how should I be going to do an update that would reflect to all would be mandriva box? something like updating only on one box, but all will be affected, or something like caching the updated package so that I could re-used that to the other box with-out doing or downloading again thus package to be able to conserve bandwidth.... I've read of something like this here before, I just forgot the term being used. TIA Quote Share this post Link to post Share on other sites
ianw1974 11 Report post Posted September 16, 2005 I think there's a parameter on urpmi so that when everything is installed, the items downloaded to /var/urpmi/cache/rpms isn't deleted after the install. Then you could move these over to var/urpmi/cache/rpms on the next box and then do the updates. Sorry, I don't know what the parameter is exactly, but hope that helps a little bit. Quote Share this post Link to post Share on other sites
spinynorman 0 Report post Posted September 16, 2005 I think there's a parameter on urpmi so that when everything is installed, the items downloaded to /var/urpmi/cache/rpms isn't deleted after the install. urpmi --noclean :) Quote Share this post Link to post Share on other sites
theYinYeti 1 Report post Posted September 16, 2005 You should probably share /var/cache/urpmi/RPM (IIRC) over NFS or whatever else (maybe temporarily), and indeed use urpmi --noclean on each system. Yves. Quote Share this post Link to post Share on other sites
theYinYeti 1 Report post Posted September 16, 2005 I remember just now, that Mandriva includes a "drakpark" (or something like that) tool for managing several machines in a similar way. Yves. Quote Share this post Link to post Share on other sites
bvc 0 Report post Posted September 16, 2005 [root@localhost ~]# urpmf --description park-rpmdrakepark-rpmdrake:Configure and update rpms on a park of hosts. The backend is parallel urpmi. [root@localhost ~]# urpmf --description urpmi-parallel-ka-run urpmi-parallel-ka-run:urpmi-parallel-ka-run is an extension module to urpmi for handling distributed installation using ka-run tools. [root@localhost ~]# urpmf --description urpmi-parallel-ssh urpmi-parallel-ssh:urpmi-parallel-ssh is an extension module to urpmi for handling distributed installation using ssh and scp tools. [root@localhost ~]# Quote Share this post Link to post Share on other sites
aioshin 0 Report post Posted October 12, 2005 until now, I still dont get it, on how to do it right, I already installed park-rpmdrake but when I issued that command, it will just let me scan the network for those PC that I supposed to do a parallel urpmi... I tried google about urpmi --parallel but no detailed info, is it possible to do it behind a squid cache, so that all of the updated package will be cache and the next machine will be easy to update....? Quote Share this post Link to post Share on other sites
DragonMage 0 Report post Posted October 12, 2005 Why don't you just create a mirror of the ftp site in one of the computer, then use that computer as the update server for the rest? Quote Share this post Link to post Share on other sites
aRTee 0 Report post Posted October 12, 2005 I second the ideas of DragonMage and theYinYeti, either go for ftp server in your network, or - which is actually exactly what I currently do - export one partition/directory from a server and mount this (rw of course) as /var/cache/urpmi/rpms on machines you want to update. To avoid any undesired deletion I just aliased urpmi to urpmi --noclean as a rule, and both my desktop machines mount that cache export at boot. So I can do any urpmi install and it will keep the downloaded files on the nfs server. Doing the same install again on another machine will just install directly, no 2nd download. Quote Share this post Link to post Share on other sites
aioshin 0 Report post Posted October 13, 2005 DragonMage-- the mirror is a good idea but it will require me lots of storage needs which I dont have yet enough resources... maybe i'll try the --noclean way... and thanks for the replies :P Quote Share this post Link to post Share on other sites
dexter11 2 Report post Posted October 13, 2005 A quick guide to urpmi –parallel by Adam Williamson here. Quote Share this post Link to post Share on other sites