5 |
|_| |_|\__,_|\__, |\___|_|\__,_| |
|_| |_|\__,_|\__, |\___|_|\__,_| |
6 |
|___/ |
|___/ |
7 |
|
|
8 |
This document describe the way to do a Mageia Mirror. |
This document describes the way to implement a Mageia Mirror. |
9 |
|
|
10 |
1) Prerequisite |
1) Prerequisite |
11 |
--------------- |
--------------- |
12 |
|
|
13 |
The expected size is around 700GB. |
The expected size of the mirror is around 700GB. |
14 |
|
|
15 |
You will need rsync software to synchronise the tree. |
You need rsync software to synchronise the tree. |
16 |
|
|
17 |
2) Official source |
2) Official source |
18 |
------------------ |
------------------ |
19 |
|
|
20 |
If you plan to create a public mirror, we encourage you to use |
For public mirror, we encourage you to use one of our Tier1 mirror. |
|
one of our Tier1 mirror. |
|
21 |
|
|
22 |
Theses servers synchronise the tree directly from the Mageia rsync server. |
Theses servers synchronises the tree directly from the Mageia rsync server. |
23 |
|
|
24 |
o rsync://distrib-coffee.ipsl.jussieu.fr/mageia/ |
o rsync://distrib-coffee.ipsl.jussieu.fr/mageia/ |
25 |
located in Paris (France) |
located in Paris (France) |
27 |
3) Rsync options |
3) Rsync options |
28 |
---------------- |
---------------- |
29 |
|
|
30 |
Ensure you're using a least theses options: |
Ensure you're using at least these options: |
31 |
|
|
32 |
-a -H |
-a -H |
33 |
|
|
34 |
We would appreciate if theses options are also used: |
We appreciate if, in addition, you also add the options: |
35 |
|
|
36 |
--delete-after -S |
--delete-after -S |
37 |
|
|
38 |
Don't use compression and checksum options, they will overload the remote |
Don't use the compression and checksum options, they create excessive |
39 |
server |
load on the remote server |
40 |
|
|
41 |
4) Automation |
4) Automated update procedure |
42 |
------------- |
----------------------------- |
43 |
|
|
44 |
The tree must be synchronized at least every 2 hours. |
The tree must be synchronized at least every 2 hours. |
45 |
|
|
46 |
Please ensure another rsync process is not started while first one is |
Please ensure that another rsync process is not started while a first |
47 |
still running, by using a lock file. |
one is still running. Use a lock file. |
48 |
|
|
49 |
5) Registering your mirror |
5) Registering your mirror |
50 |
-------------------------- |
-------------------------- |