LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-14-2007, 02:17 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Saving Update Downloads


I have a bunch of Suse-based systems that I'd like to keep in synch with online updates. But... what I'd like to do is do an update on one system -- the "master" -- and use the patches downloaded for that system as a source for patching the other systems. The goal is to reduce internet bandwidth. Currently, our fairly low bandwidth connection is almost completely useless for others to use while a system is downloading patches. As of now, I'm lucky to be able to patch a single system a night since I have to wait until no other internet use is needed.

Surely there's a way to save the RPM files downloaded and make them available for use on other systems on the LAN. Right? If so, how does one set up a system to retain the RPM files and, then, how would you configure other systems to go after those local files?

TIA...

--
Rick
 
Old 08-15-2007, 04:06 AM   #2
walla299
Member
 
Registered: Jul 2007
Location: Phoenix, AZ, US
Distribution: OpenSuse 11.1 x64 (KDE 4.3)
Posts: 35

Rep: Reputation: 15
If you are updating a number of systems you might want to consider using a personal mirror of the update sources you use.

I have a portable 80 GB hard drive I use for this since I don't have high speed at home. I update it at work off our network with rsync, then take it home. All you have to do is add the mirror as a file source in Yast. There should be a way to set something like that up on a cron job for the rsync off the network, then make the mounted drive visable on the network. Then all you should have to do is run online update on each machine, with that mounted directory as source.

The Suse updates for 10.2 are somewhere between 6 - 8 GB. The first rsync session will be the longest, then those following will only transfer the changed files.

Hope this helps.

Last edited by walla299; 08-15-2007 at 04:08 AM.
 
Old 08-15-2007, 09:29 AM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Corrected typo.

Quote:
Originally Posted by walla299 View Post
If you are updating a number of systems you might want to consider using a personal mirror of the update sources you use.
That might be overkill since there are some packages that I'll likely never load onto a system.

Quote:
All you have to do is add the mirror as a file source in Yast. There should be a way to set something like that up on a cron job for the rsync off the network, then make the mounted drive visable on the network. Then all you should have to do is run online update on each machine, with that mounted directory as source.
That's the process I was hoping to follow. Populating that NFS-available filesystem has been the sticky part.

Quote:
Hope this helps.
I might consider the rsync idea though I doubt I want to have schlepp a hard disk back and forth between home and work. Every. time. there's. a. patch. But I suppose doing that once followed by updates brought home on a USB thumbdrive might work.

I ran across another post that asked the question about where the RPMs are stored on the disk when Online Update is running. You can -- via a checkbox -- choose to retain those files instead of deleting them onve they've been used. The original poster was asking where they got stashed but I never saw an answer to that question. I'd think it ought to be easy enough to figure out if you do a quick census of the files on the system before and after an update and do a litle manipulation of the lists with diff or sort and uniq.

I 'm hoping that I can save a ton of bandwidth (luckily, I'm not charged for volume) and, even more importantly, time if I can cobble a solution together to do this.

Thanks again...

Last edited by rnturn; 08-15-2007 at 09:31 AM. Reason: Added missing slash in a quote tag
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving downloads to floppy on Gnome Desktop (invalid URI)? red26 Linux - Software 4 11-06-2006 12:49 AM
Saving Update Packages for multisystem update... Dimitriy Fedora 2 12-18-2005 08:07 AM
Mozilla 1.7 + slow saving downloads kurrupt Linux - Software 1 05-22-2005 09:24 AM
Downloads stall after kernel update cidrolin Linux - Networking 4 08-31-2004 09:06 AM
Saving Update Packages For Later Asificare Mandriva 12 06-22-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration