[mirror-admin] master server sync stats and recommendations

Günther Fischer guenther.fischer at hrz.tu-chemnitz.de
Wed Apr 22 11:40:24 EDT 2009


For me - the best way would be:
   * fedora/redhat give a script to the mirrors (perl, python or bash)
and also an rsyncd.conf with actual accesslists
      * Tier 0/1 must use this scripts and gives to the T0/1 exclusive
access to some masters
      * other mirrors can only use T0/1 - some T0/1 can be the on the
master side
         * all can use every T0/1 without local agreements
   * regional dns names for the T0/1 could be helpful

Mit freundlichen Grüßen / Regards
Günther Fischer



On Wed, Apr 22, 2009 at 5:15 PM, Jesse Keating <jkeating at redhat.com> wrote:
> On Wed, 2009-04-22 at 17:22 +0300, Axel Thimm wrote:
>> With pure rsync I meant protocol-wise, of course we all wrap our
>> scripts around it one way or the other.
>>
>> But as a minimal rsync & sh implementation one could have
>>
>> rsync rsync://master/module/.lastupdated /tmp/somefile
>> diff /tmp/somefile /storage/my/local/mirror/.lastupdated > /dev/null \
>>   && rm -f /tmp/somefile && exit
>> <Full rsync command>
>
> Um, why don't you use the rsync protocol to see if it would update the
> fullfilelist?  Rsync itself can tell you rather quickly if that file has
> changed, and then you're just doing a quick poke on a single file before
> turning it loose upon the rest of the filesystem.  No need to actually
> pull it down and do any diffing, just see if rsync /would/ download it.
>
> --
> Jesse Keating
> Fedora -- Freedom² is a feature!
> identi.ca: http://identi.ca/jkeating
>
> --
>

--


More information about the Mirror-admin mailing list