From ArchWiki
Revision as of 12:05, 3 May 2010 by Romashka (talk | contribs) (clarified the use of script)
Jump to: navigation, search

Adding a new mirror

This text should outline the procedure for adding a new mirror for Arch packages.

2-tier mirroring scheme

Due to the high load and bandwidth limits Arch Linux uses 2-tier mirroring scheme.

There are few tier 1 mirrors that sync directly from every hour.

All other mirrors should sync from one of tier 1 mirrors. Syncing from is not allowed.

For the mirror administrator

Please open a feature request with a request to become an authorized mirror.

Please provide the following:

  • Mirror domain name
  • Geographical Location of the mirror
  • Supported access methods (http, ftp, rsync, ...)
  • URLs for the above access methods
  • The name of tier 1 mirror you are syncing from, which should be one of this:
    • (Australia) - rsync://
    • (Germany) - rsync://
    • (Great Britain) - rsync://
    • (USA) - rsync://
    • (USA) - rsync://
    • (Taiwan) - rsync://
  • An administrative contact email

Please join the arch-mirrors mailing list.

Please ensure the following, to provide consistent mirroring and keep the upstream mirror's load low:

  • Sync all contents of the upstream mirror (i.e. do not sync only some repositories)
  • Use the following rsync options: -rtlvH --delete-after --delay-updates --safe-links --max-delete=1000
  • Do not rsync more rapidly than every hour
  • Sync on a random minute so it is more likely the requests will be spaced out with other mirrors

The Arch Linux side

  • Add the mirror info to the Django admin site
  • Regenerate the rsync whitelist with the script - only for tier 1 mirrors, or when disabling access to a previously untiered mirror
  • Regenerate the pacman-mirrorlist package