diff --git a/doc/mirroring.md b/doc/mirroring.md index 908c8ce..b48f6a3 100644 --- a/doc/mirroring.md +++ b/doc/mirroring.md @@ -2,7 +2,7 @@ title: Mirroring description: published: true -date: 2020-12-14T19:43:05.692Z +date: 2020-12-14T20:06:57.684Z tags: documentation editor: markdown dateCreated: 2020-03-14T19:10:14.516Z @@ -24,62 +24,37 @@ Mirrorbits can redirect automatically to the closest mirror, for instance - Immediate redirection: http://mirror.openmandriva.org:8080/release_current/README.txt - Visual representation http://mirror.openmandriva.org:8080/release_current/README.txt?mirrorlist -## Setting up a mirror -Please follow this process: -* Use one of our T-1 mirrors, +## T1 mirrors + +our T1 mirrors are the mirrors directly updated from our build system (ABF). +They serve as origin for all other mirrors, and as fallback mirrors if Mirrorbits or ABF is down. + +### T1 Mirrors list `http://openmandriva.c3sl.ufpr.br` (Brazil) `http://mirror.yandex.ru/openmandriva/` (Russia) `http://distro.ibiblio.org/openmandriva/` (USA) +### Setting up a mirror +If you want to support us by setting up a mirror for OpenMandriva Lx, please choose one of the three T1 servers as origin with, for instance, one of the following command samples: For example with command `rsync -av rsync://openmandriva.c3sl.ufpr.br/openmandriva/ /local/path` `rsync -av rsync://mirror.yandex.ru/openmandriva/ /local/path` `rsync -av distro.ibiblio.org::openmandriva/ /local/path/` > Don't forget the ''TIME.txt'' file. It is needed by Mirmon and Mirrobits to work correctly. > -> At least '''500GB''' of free disk space is needed +> At least '''600GB''' of free disk space is needed {.is-warning} -Note: the upstream is -`http://abf-downloads.openmandriva.org` +## T0 mirror -This server pushes only necessary directories and packages to Yandex and ibiblio. - -Users should generally not use this server unless they need src.rpm packages, debug packages or packages from specific user contributed repo. - -Mirrors should also avoid to sync from this server as there is much more data in it. - -## Adding the urls to our lists -* Mirmon: send the url of your mirror to the workshop team (your mail will eventually be held for moderation, the first time). -We will add it to the lists. -* Media list: for each release (cooker, 4.0, rock (4.1), rolling, ...) the record is set as: - -``` -country=CountryName,city=CityName,latitude=[-]xx.y[y],longitude=[-]xx.y[y],bw=xxGB,version=VersionName,arch=ArchName,type=distrib,url=[ftp|http]://RootUrl/repository/ArchName -``` - -For example: -``` -country=Brasil,city=Curitiba,latitude=-13.58,longitude=-51.85,bw=1GB,version=2013.0,arch=x86_64,type=distrib,url=ftp://openmandriva.c3sl.ufpr.br/openmandriva/openmandriva2013.0/repository/x86_64/ -``` - -Please send also the relevant details for your mirror. - -## Synchronize your mirror -* You may use **rsync** (`man rsync` for details) - -``` -/usr/bin/rsync -av --delete --delete-delay --numeric-ids --delay-updates --exclude=.~tmp~/ mirror.rosalinux.com::openmandriva/ /your_path -``` - -> You must use `--delete-delay` and `--delay-updates`, at the very least. -{.is-warning} - -* The best is to synchronize every 6 or 12 hours - -\- +Our T0 mirror, ABF, is where packages are compiled and distributed. There are much packages on it than on our other mirrors, such as source and debug packages, old release packages etc. +Its content can be explored with this address: +http://abf.openmandriva.org +Mirrorbits will always redirect to ABF if a file doesn't exist in any mirror. For instance: +- http://mirror.openmandriva.org:8080/release_current/README.txt +- http://mirror.openmandriva.org:8080/release_current/README.txt?mirrorlist \ No newline at end of file