From Fedora Project Wiki

Revision as of 14:13, 24 May 2008 by fp-wiki>ImportUser (Imported from MoinMoin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

#!html
<div style="height:66px; width:100%; background-color:#002867;">
<a href = "http://fedoraproject.org/wiki/Infrastructure"> <img style="float:right;padding-top:3px;" src="http://fedoraproject.org/wiki/Infrastructure?action=AttachFile&do=get&target=InfrastructureTeamN1.png" /></a>
</div>

<HR style="height:2px; background-color:#00578E;" />

Fedora MirrorManager

MirrorManager is the application that keeps track of each of the 200+ global mirror servers for Fedora content. It has three distinct audiences: End Users, Mirror Server Administrators, and Fedora Infrastructure System Administrators.


End User Interfaces

mirrorlist CGI

Running at http://mirrors.fedoraproject.org/mirrorlist? is a CGI application that is used primarily by YUM. It processes a query, returning a list of mirror server URLs that have the content requested in the query.

Options that can be passed to mirrorlist:

&repo=fedora-7&arch=i386 Some combination of repository tag, and an architecture
&path=pub/..... A path name, either a directory or path to a file, using the tree names as found on the master servers.
&country=global override the GeoIP checks for your country and specify you want the global list
&country=us,ca,jp override the GeoIP checks and specify a list of comma-separated 2-letter ISO country codes
&ip=18.0.0.1 override the client IP address detection and specify an IP address instead
&redirect=1 After all other processing is done, automatically perform a HTTP redirect to the first result returned

download.fedoraproject.org

URLs of the form http://download.fedoraproject.org/pub/fedora/linux/... (directory path or full file path) are automatically redirected to a mirror containing that path or file.

Public List web pages

Human-readable lists of the mirror servers are available at http://mirrors.fedoraproject.org/publiclist/.


Mirror Server Administrators

Mirror servers may be public (e.g. open for anyone to download data from), or private (e.g usage restricted in some way). Data for both types may be stored in the mirrormanager database.

The MirrorManager web user interface is at https://admin.fedoraproject.org/mirrormanager. You must have a Fedora Account System account to log in and edit data there.

Information about your Site (the administrative level of control), your Hosts (the servers themselves), what Categories of content they carry, and at which URLs can be entered. In addition, you may specify Netblocks - groups of IP addresses which are considered "local", and therefore preferred, for your servers. The mirrorlist CGI will return Netblock-local servers first.