/[gentoo]/xml/htdocs/doc/en/source_mirrors.xml
Gentoo

Diff of /xml/htdocs/doc/en/source_mirrors.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.32
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/source_mirrors.xml,v 1.32 2008/09/28 20:29:25 nightmorph Exp $ -->
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3 4
4<guide link="/doc/en/source_mirrors.xml"> 5<guide link="/doc/en/source_mirrors.xml">
6
5<title>Gentoo Linux Source Mirrors Policy</title> 7<title>Gentoo Linux Source Mirrors Policy</title>
6<author title="Author"><mail link="klieber@gentoo.org">Kurt Lieber</mail></author>
7 8
9<author title="Author">
10 <mail link="klieber@gentoo.org">Kurt Lieber</mail>
11</author>
12<author title="Editor">
13 <mail link="cshields@gentoo.org">Corey Shields</mail>
14</author>
15<author title="Editor">
16 <mail link="bennyc@gentoo.org">Benny Chuang</mail>
17</author>
18<author title="Editor">
19 <mail link="jforman@gentoo.org">Jeffrey Forman</mail>
20</author>
21
22<abstract>
23This document explains the requirements for source mirrors.
24</abstract>
25
26<!-- The content of this document is licensed under the CC-BY-SA license -->
27<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
28<license/>
8<version>1.1</version> 29<version>1.9</version>
9<date>17 Feb 2003</date> 30<date>2008-09-28</date>
10 31
11<chapter> 32<chapter>
12<title>Requirements</title> 33<title>Requirements</title>
13<section> 34<section>
14<title>Minimum Bandwidth</title> 35<title>Minimum Bandwidth</title>
15<body> 36<body>
37
38<p>
16<p> To properly host a source mirror you should have a minimum of 2Mbps upstream bandwidth. 39To properly host a source mirror, you should have a minimum of 5Mbps upstream
17ADSL and cable connections do not generally make adequate connections for distfile hosts due to their limited upstream performance.</p> 40bandwidth. ADSL and cable connections do not generally make adequate
41connections for distfile hosts due to their limited upstream performance.
42</p>
43
44</body>
45</section>
46<section>
47<title>Minimum Disk Space</title>
48<body>
49
50<p>
51The space requirements depend on whether you choose to run a "Full" mirror or a
52"Distfiles only" mirror. Full mirrors require 90 GB of disk space. Distfiles
53only mirrors require 50 GB of space.
54</p>
55
18</body> 56</body>
19</section> 57</section>
20<section> 58<section>
21<title>Minimum User Count</title> 59<title>Minimum User Count</title>
22<body> 60<body>
61
62<p>
23<p>We ask that you support a minimum of 5 and preferrably 10 concurrent user connections.</p> 63We ask that you support a minimum of 15 and preferrably 30 concurrent user
64connections.
65</p>
66
24</body> 67</body>
25</section> 68</section>
26<section> 69<section>
27<title>Update Frequency</title> 70<title>Update Frequency</title>
28<body> 71<body>
29<p>We ask that source mirrors be updated at least 3-4 times throughout the day. At a minimum, source mirrors should be updated once per day.</p> 72
73<p>
74All mirrors must be synchronized every four hours, starting at midnight in your
75local time zone. This helps distribute the load out over a period of time,
76rather than having all mirrors synchronize at the same time.
77</p>
78
79</body>
80</section>
81<section>
82<title>Mirror Needs</title>
83<body>
84
85<p>
86Your mirror may not be added immediately to our listing and given access to the
87private distribution point. We add mirrors on an as-needed basis so as not to
88clutter up the listing, and to provide an adequate amount of high speed mirrors.
89You are more than welcome to peek in <uri
90link="irc://irc.gentoo.org/gentoo-mirrors">#gentoo-mirrors</uri> on IRC and chat
91up to see the status of your mirror being added to our official network.
92</p>
93
30</body> 94</body>
31</section> 95</section>
32</chapter> 96</chapter>
97
33<chapter> 98<chapter>
34<title>Implementation details</title> 99<title>Implementation details</title>
35<section> 100<section>
36<body> 101<body>
102
103<p>
37<p>for new source mirror requests, the procedure will be as follows:</p> 104For new source mirror requests, the procedure will be as follows:
38<p>Someone asks to be a mirror, then we verify that the mirror exists and we can connect to it properly. Then, in the next 48-72 hours we will determine if your mirror is syncing correctly with <path>www.ibiblio.org/gentoo/</path> and accordingly with this policy.</p> 105</p>
39 106
40<p>If all steps went smoothly, we will then add you to our list of <uri link="http://www.gentoo.org/main/en/mirrors.xml">download mirrors</uri> on the main web site.</p>
41
42<p>Additionally, you, the mirror admin will be added to the gentoo-mirrors mailing list (low traffic) so that you can folllow all issues associated with source mirrors.
43</p> 107<p>
108Set up your server to rsync with ftp.ussg.iu.edu::gentoo-distfiles. Once you
109have a complete mirror of that server, please file a bug report on <uri
110link="http://bugs.gentoo.org/enter_bug.cgi?product=Mirrors">bugs.gentoo.org</uri>
111under the <c>Mirrors</c> category stating that you have a new mirror and wish
112it to be added to the list of official mirrors. Please specify whether you
113wish to be a "Full" mirror or "Distfiles only" mirror. Distfiles
114only mirrors will be designated as such on the website.
115</p>
116
117<p>
118Full mirrors must carry the following directories (plus any directories that
119get added in the future):
120</p>
121
122<ul>
123 <li>/releases</li>
124 <li>/experimental</li>
125 <li>/distfiles</li>
126 <li>/snapshots</li>
127 <li>/grp</li>
128</ul>
129
130<p>
131Distfiles only mirrors need to carry the following directories:
132</p>
133
134<ul>
135 <li>/distfiles</li>
136 <li>/snapshots</li>
137</ul>
138
139<p>
140We will then verify that the mirror exists and we can connect to it properly.
141Then, in the next 48-72 hours, we will determine if your mirror is syncing
142correctly and in accordance with this policy.
143</p>
144
145<p>
146If all steps went smoothly, we will then add you to our list of <uri
147link="/main/en/mirrors.xml">download mirrors</uri> on the main web site. We
148will also send you the login information for our private master distfile mirror
149which is only available to official Gentoo Linux source mirrors.
150</p>
151
152<p>
153Additionally, you, the mirror admin, will be requested to subscribe to the
154gentoo-mirrors mailing list (low traffic) so that you can follow all issues
155associated with source mirrors.
156</p>
157
44<note> 158<note>
45Thanks for helping out Gentoo Linux users and developers! :) For any mirror administration issues or problems, please contact <mail link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail>. 159Thanks for helping out Gentoo Linux users and developers! :) For any mirror
160administration issues or problems, please contact <mail
161link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail>.
46</note> 162</note>
163
164<warn>
165Do NOT email mirror-admin@gentoo.org for mirror requests, please file a bug. It
166makes mirror tracking easier on us.
167</warn>
168
47</body> 169</body>
48</section> 170</section>
49</chapter> 171</chapter>
172
50<chapter> 173<chapter>
51<title>Short FAQ</title> 174<title>Short FAQ</title>
52<section> 175<section>
176<title>
53<title>Q: Who should I contact regarding new mirrors or to get my mirror added to the Gentoo web site?</title> 177Q: Who should I contact regarding new mirrors or to get my mirror added to the
178Gentoo web site?
179</title>
54<body> 180<body>
55<p>A: <mail link="klieber@gentoo.org">klieber@gentoo.org</mail></p> 181
182<p>
183A: Please file a bug on bugs.gentoo.org under the <c>Mirrors</c> category.
184</p>
185
56</body> 186</body>
57</section> 187</section>
58<section> 188<section>
59<title>Q: Who should I contact regarding mirror issues and maintenance?</title> 189<title>Q: Who should I contact regarding mirror issues and maintenance?</title>
60<body> 190<body>
61<p>A: <mail link="mirror-admin@gentoo.org">mirror-admin@gentoo.org</mail></p>
62</body>
63</section>
64 191
192<p>
193A: Please file a bug on bugs.gentoo.org under the <c>Mirrors</c> category.
194</p>
195
196</body>
65<section> 197</section>
198<section>
199<title>
200Q: I run a private source mirror for my company. Can I still access the
201private master source mirror?
202</title>
203<body>
204
205<p>
206A: Because our resources are limited, we need to ensure we allocate them in
207such a way to provide the maximum amount of benefit to our users. As such, we
208limit connections to our master rsync and distfile mirrors to public mirrors
209only. Users are welcome to use our regular mirror system to establish a
210private source mirror.
211</p>
212
213</body>
214</section>
215<section>
66<title>Q) How do I find the mirror nearest to me?</title> 216<title>Q: How do I find the mirror nearest to me?</title>
217<body>
218
219<p>
220A: mirrorselect was designed to do this for you. If you haven't already run
221<c>emerge mirrorselect</c>, then please do so. Then run: <c>mirrorselect</c>.
222An ncurses-based menu will display allowing you to select a mirror close to
223you.
224</p>
225
67<body> 226</body>
68<p>A) mirrorselect was designed to do this for you. If you haven't already run <c>emerge mirrorselect</c> then do it. 227</section>
69Then run: <c>mirrorselect</c>. An ncurses-based menu will display allowing you to select a mirror close to you. 228<section>
229<title>
230Q: I don't have that much disk space. Can I mirror part of the sources?
231</title>
232<body>
233
70</p> 234<p>
235A: Yes, if you are unable to mirror our full sources, you can elect to mirror
236the following two directories only:
237</p>
238
239<ul>
240 <li>/distfiles</li>
241 <li>/snapshots</li>
242</ul>
243
244<p>
245These two directories will require approximately 50GB of space and you will be
246listed on our site as a distfiles-only mirror.
247</p>
248
249</body>
250</section>
251<section>
252<title>
253Q: Do I have to turn on Directory Indexing for directories served up via HTTP?
254</title>
255<body>
256
257<p>
258A: Directory Indexing is required for the /releases and /experimental
259directories, but can be turned off for all other directories (including
260/distfiles) if you wish.
261</p>
262
263</body>
264</section>
265
266<section>
267<title>Q: Do I have to mirror historical? I mean, it is old releases.</title>
268<body>
269
270<p>
271A: Of course not, it is quite a bit of data. In your rsync command, add
272<path>--exclude=/releases/historical</path> to your rsync options. This will
273exclude historical and save you quite a bit of space.
274</p>
275
71</body> 276</body>
72</section> 277</section>
73</chapter> 278</chapter>
74</guide> 279</guide>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20