[EMAIL PROTECTED] wrote:

>> On Sat, May 24, 2003 at 08:53:49PM +0200, [EMAIL PROTECTED] wrote:
>>
>>> I'm not totally convinced every sysadmin needs something like this, in
>>> our network we have an internal ftp mirror of main+contrib+updates for
>>> any realease we have on any machines (well, we had to write 8.2 to DVD
>>> since we only have 8.2 left on an MNF box and we were running out of
>>> space ...). Our machines run urpmi.update;urpmi --auto-select from
>>> cron (from the internal update  mirror for boxes running stable
>>> releases, or from cooker/contrib for cooker boxes).
>>>
>>
>> Although I'm less than qualified as a sysadmin I've recently been made
>> BOFH of a small startup company. Obviously I made everyone use mandrake.
>> I intend to setup such an internal mandrake mirror and updates "medium",
>> but so far I haven't found a good description of how to set one up. Do
>> you know of a good description for this? It would be quite valuable for
>> small company administrators like me.
>>
> 
> I guess for this kind of use, this should be documented in a some place
> like the community wiki as opposed to the cooker wiki.
> 
> What we do here at CAE (we have access to a local Mandrake mirror at
> ftp.sun.ac.za/mandrake), is we have a Mandrake box (incidentally, our
> print server running 8.1 + CUPS + samba of course) on which we mirror each
> release when it arrives on the mirror, and keep the mirror until we have
> no machines running the release. We also have cooker/contrib mirror, and
> an updates mirror on the same box, both of which get updated daily.
> 
> We just have a script which runs lftp's mirror command which we linked
> into /etc/cron.daily (it's quite easy to use lftp ...), but I can put a
> sample script up somewhere if necessary.
> 
> On production boxes, we have a simple script which just urpmi.updates and
> urpmi --auto-selects from the update source.
> 
> On the cooker boxes, we have a similar script, you can see mine here:
> http://ranger.dnsalias.com/mandrake/cooker/update
> 
> If we had rsync access to our mirror, we would probably use David's script
> at least for cooker/contrib.

My script can be used for mirroring security updates also.  You can only have one 
"distro" per instance of the script, so if wanted to mirror both cooker/contrib and 
9.1 security updates, you'd need two seperate copies of the script.

> BTW, anyone think it might be an idea to add a urpmi.update-mirror
> command? With a gui? That can set it to run via cron?
> 
> Really, MS has SUS (Software Update Services) for corporate customers,
> surely a quick gui could be done which could setup a urpmi medium (which
> has an option not to have the medium used for the local machine, but just
> for mirroring), and a quick perl script to run the sync?
> 
> Regards,
> Buchan


Reply via email to