aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/main_mirror')
-rw-r--r--deployment/main_mirror/files/mirror/mirror.readme29
-rw-r--r--deployment/main_mirror/manifests/init.pp10
-rw-r--r--deployment/main_mirror/templates/rsyncd.conf59
3 files changed, 44 insertions, 54 deletions
diff --git a/deployment/main_mirror/files/mirror/mirror.readme b/deployment/main_mirror/files/mirror/mirror.readme
index 3fd50aa4..5846d12e 100644
--- a/deployment/main_mirror/files/mirror/mirror.readme
+++ b/deployment/main_mirror/files/mirror/mirror.readme
@@ -10,27 +10,37 @@ This document describes the way to implement a Mageia Mirror.
1) Prerequisite
---------------
-The expected size of the mirror is around 700GB.
+The expected size of the mirror is around 1.8-2TB.
+The mirror only contains the last 2 stable releases + the development
+branch called cauldron.
+
+For older unsupported releases, you can find them at the archive
+provided by distrib-coffee mirror:
+https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia-archive/
+
+Look here to see the (planned) end of support date for each version:
+https://www.mageia.org/en/support/#lifecycle
You need rsync software to synchronise the tree.
2) Official source
------------------
-For public mirror, we encourage you to use one of our Tier1 mirror.
+For a public mirror, we encourage you to use one of our Tier1 mirrors.
+
+The servers below synchronise the tree directly from the Mageia rsync server.
-Theses servers synchronises the tree directly from the Mageia rsync server.
+ Check https://mirrors.mageia.org/ for their bandwidths.
+ Check https://mirrors.mageia.org/status for their current statuses.
- o rsync://distrib-coffee.ipsl.jussieu.fr/mageia/
- located in Paris (France)
- o rsync://ftp.LinuxCabal.org/Mageia/
- located in Lucern (Switzerland)
o rsync://mageia.c3sl.ufpr.br/mageia/
located in Curitiba (Brasil)
o rsync://mirrors.kernel.org/mirrors/mageia/
located in USA and Europe
- o rsync://ftp.acc.umu.se/mirror/mageia/
+ o rsync://mirror.accum.se/mirror/mageia/
located in Umea (Sweden)
+ o rsync://mirror.math.princeton.edu/pub/mageia/
+ located in Princeton (USA)
3) Rsync options
----------------
@@ -50,6 +60,7 @@ load on the remote server
-----------------------------
The tree must be synchronized at least every 2 hours.
+Tier 1 mirrors should preferably sync at least every hour.
Please ensure that another rsync process is not started while a first
one is still running. Use a lock file.
@@ -57,7 +68,7 @@ one is still running. Use a lock file.
5) Registering your mirror
--------------------------
-Goto at http://mirrors.mageia.org/new and enter all possible protocol.
+Go to https://mirrors.mageia.org/new and enter all possible protocols.
6) Subscribe to the mirrors-announce mailing list
-------------------------------------------------
diff --git a/deployment/main_mirror/manifests/init.pp b/deployment/main_mirror/manifests/init.pp
index a4e8cc76..9b26a64d 100644
--- a/deployment/main_mirror/manifests/init.pp
+++ b/deployment/main_mirror/manifests/init.pp
@@ -8,14 +8,14 @@ class main_mirror {
$mirror = '/distrib'
file { [$mirror,
- "$mirror/mirror",
- "$mirror/archive"]:
+ "${mirror}/mirror",
+ "${mirror}/archive"]:
ensure => directory,
}
file {
- "$mirror/README": source => 'puppet:///modules/main_mirror/README';
- "$mirror/mirror/mirror.readme": source => 'puppet:///modules/main_mirror/mirror/mirror.readme';
- "$mirror/mirror/paths.readme": source => 'puppet:///modules/main_mirror/mirror/paths.readme';
+ "${mirror}/README": source => 'puppet:///modules/main_mirror/README';
+ "${mirror}/mirror/mirror.readme": source => 'puppet:///modules/main_mirror/mirror/mirror.readme';
+ "${mirror}/mirror/paths.readme": source => 'puppet:///modules/main_mirror/mirror/paths.readme';
}
}
diff --git a/deployment/main_mirror/templates/rsyncd.conf b/deployment/main_mirror/templates/rsyncd.conf
index a8d38b82..9fc93860 100644
--- a/deployment/main_mirror/templates/rsyncd.conf
+++ b/deployment/main_mirror/templates/rsyncd.conf
@@ -8,45 +8,24 @@ gid = nogroup
comment = Mageia Mirror Tree
hosts allow = \
10.42.0.0/24 \
- rabbit.<%= domain %> \
- alamut.<%= domain %> \
- arm1.<%= domain %> \
- arm2.<%= domain %> \
+ 2a02:2178:2:7::/64 \
+ rabbit.<%= @domain %> \
+ sucuk.<%= @domain %> \
distrib-coffee.ipsl.jussieu.fr \
- distribipsl.aero.jussieu.fr \
- ibiblio.org \
- 152.46.7.122 \
- 152.19.134.16 \
- 152.19.134.30 \
- 2610:28:3090:3000:250:56ff:fe96:23 \
- ftp.LinuxCabal.org \
- 178.22.68.98 \
- sagres.c3sl.ufpr.br \
- 2801:82:80ff:8000::c \
- 2801:82:80ff:8000::2 \
- zeus1.kernel.org \
- zeus2.kernel.org \
- zeus3.kernel.org \
- zeus4.kernel.org \
- 2001:4f8:8:10::/64 \
- 2001:4f8:1:10::/64 \
- 2001:500:60:10::/64 \
- 2001:6b0:e:4017::/64 \
- churchill.acc.umu.se \
- 130.239.18.141 \
- 2001:6b0:e:2018::141 \
-
-[newrelease]
- path = /distrib/newrelease/
- comment = Mageia Next Release
- hosts allow = \
- rabbit.<%= domain %> \
-
-[bootstrap]
- path = /distrib/bootstrap/
- comment = Mageia Bootstrap
- hosts allow = \
- rabbit.<%= domain %> \
- distrib-coffee.ipsl.jussieu.fr \
- distribipsl.aero.jussieu.fr \
+ ftp.proxad.net \
+ jobbot0.ibiblio.org \
+ jobbot1.ibiblio.org \
+ mirror.math.princeton.edu \
+ poincare.accum.se \
+ poincare.acc.umu.se \
+ sagres.c3sl.ufpr.br \
+ sv.mirrors.kernel.org \
+ ny.mirrors.kernel.org \
+ 147.75.69.246 \
+ 2001:14ba:a417:eb00::1 \
+ 2001:14ba:a417:eb00::2
+[git]
+ path = /git
+ comment = Mageia Git repos
+ hosts allow = sucuk.<%= @domain %>