Infrastructure/MirrorManagement

From FedoraProject

Jump to: navigation, search
Infrastructure InfrastructureTeamN1.png


Contents

Fedora Mirror Management System

Please also see for how to become a Fedora mirror.

System Requirements

Workflow

This is how Matt expects it to work in the end, not that it does today. :-)

Add a new mirror site

Add a new Release (embargoed until a certain date)

This is much the same as it works today, however the addition of mirrormanager lets us send emails to the sites and have them start syncing immediately.

Before embargo is lifted:

  1. Mirrormanager admin creates the Release
  2. rsync manager posts the release to the master rsync server
  3. download[123] .fedora.redhat.com automatically mirror everything from master
  4. sites notified by email that a new Release is available on download[123] .
  5. or sites begin picking up new Release on their regular sync
  6. site notifies system that sync is complete (using client-side tool)

When embargo is lifted, repeat from step 2 to get the bitflip.

Client-side tool

There are several instances where we'd benefit from having a client-side tool that runs on the mirror site immediately after rsync is finished. This lets us cleanly get around the fact that when embargoed content is posted, it's not world-readable, therefore no Fedora-side process can see what a given mirror has, until after the bitflip and subsequent rsync to pick up the bitflip. Having a client-side tool that can send mirror status back up to the MirrorManager database before the bitflip solves this. I envision an XMLRPC-over-HTTPS process using a mirror site's login/password (not a user's login/password) for this.


Code

https://fedorahosted.org/mirrormanager/wiki/WikiStart

If you are interested in contributing to this project, swing by #fedora-admin on irc.freenode.net and ask for more information. Farshad Khoshkhui, MattDomsch, MikeMcGrath, and LukeMacken have expressed interest in working on this.