[mirror-admin] push mirroring plans

Günther Fischer guenther.fischer at hrz.tu-chemnitz.de
Wed Dec 17 13:37:25 EST 2008


On Wed, Dec 17, 2008 at 7:23 PM, Chuck Anderson <cra at wpi.edu> wrote:

> On Wed, Dec 17, 2008 at 10:05:53AM -0800, Jesse Keating wrote:
> > On Tue, 2008-12-16 at 22:17 -0600, Matt_Domsch at Dell.com wrote:
> > > Thoughts?
> >
> > Why not something far far more simple, which is a site checksum.  Each
> > time we put new content on the site, we update a checksum (it doesn't
> > have to be an /actual/ checksum, just some int we increase).  Mirrors
> > can more frequently stat the value of this checksum against what they
> > have, and if it changes, they know to do a full rsync run.  If it
> > doesn't change, they don't do an rsync run.
> >
> > This would allow mirrors to ramp up their polling of us to every 10
> > minutes or even less, without worry of swamping our server with stats of
> > files.  Any other solution is going to be "polling" in some form or
> > another, either a daemon listening for an ssh push, or a email server
> > waiting for mail to come in.  This more simple method doesn't rely on
> > the setup of additional infrastructure on the mirror side, just a slight
> > adjustment to the cron jobs mirrors already have in place.  If we make
> > the file available via rsync at a top level, or even different files at
> > different logical sections of the master mirror it would be quite
> > simple.
>
> See my other email in this thread about what is essentially a
> "TIMESTAMP" file.  The issue I see with this is that unless mirror
> admins are very careful to update the checksum/timestamp file
> separately after a regular sync is complete, we can end up with a
> situation where a downstream mirror thinks version X is up and ready
> but in reality it is only partially synced.  Everybody should be using
> --delay-updates, but...
>
> --
>
If you/we give scripts like mirrormaster for that job to the admins they
will use it - I hope.
For Tear1 we could define it as a must, also the frequency to do the script,
also the
--delay-updates

Why not try it, if it is simple?

Regards Guenther
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/mirror-admin/attachments/20081217/1f7887c2/attachment.html 
-------------- next part --------------
--


More information about the Mirror-admin mailing list