Jump to content
Sign in to follow this  
aioshin

how should I do this?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I remember just now, that Mandriva includes a "drakpark" (or something like that) tool for managing several machines in a similar way.

 

Yves.

Share this post


Link to post
Share on other sites
[root@localhost ~]# urpmf --description park-rpmdrake

park-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 ~]#

Share this post


Link to post
Share on other sites

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....?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...