Mirror Infrastructure
Материал из openSUSE.
This document describes the various ways to mirror the content of ftp.opensuse.org and how an official mirror can get established.
Содержание |
Публичные сервера
rsync.opensuse.org
Этот сервер дает свободный доступ по rsync протоколу к содержимому ftp.opensuse.org. Сейчас действует ограничение на 50 конкурирующих соединений, так что вы можете не получить доступа к нему. Зеркала Текущей Версии также предоставляют rsync доступ.
rsync модули
главные ftp.opensuse.org модули:
- opensuse-full: Этот rsync дает полный доступ к содержимому ftp.opensuse.org, за исключением директории SL-OSS-factory. Причина исключения данной директории - ее частые обновления. Мы рекомендуем использование drpmsync для обновления данной директории, это уменьшит трафик как минимум на 10% по сравнению с rsync.
- opensuse-full-with-factory: То же, что и предыдущий включая SL-OSS-factory Factory Distribution. Мы не рекомендуем использовать данный модуль. Можете исключить "drpmsync", если не планируете запускать drpmsync сервер.
- opensuse-stable: Только последняя стабильная версия SUSE Linux. Обновления происходят примерно раз в 8 месяцев.
- opensuse-current: Последний снимок разрабатываемой версии (Альфа, Бета или RC). Обновляется каждый месяц на Альфа стадии и каждую неделю на Бета стадии.
модули для зеркалирования Build Service репозитория:
Обновления происходят постоянно, а репозитории Build Service обновляются. Также возможно получить обновления pushed.
- buildservice-repos: Полное содержимое
- buildservice-repos-main: Все, кроме проектов пользователей
drpmsync.opensuse.org
drpmsync is a sync services for the Factory Distribution. It does reduce the transfer heavily by transmitting only xdelta data, if the local rpm is not older than 1 month.
drpmsync provides access to the SL-OSS-factory directory only. This directory contains always the latest build of the distribution. This means it can also contain an inconsistent or very broken state. It is useful for developers to fetch the latest code or for testers to validate the latest version.
A drpmsync client can get found in the make deltarpm package from http://download.opensuse.org/tools/drpmsync/ and it can be called with this line for example:
drpmsync drpmsync.opensuse.org:8888/Factory /my/directory
Please note that drpmsync.opensuse.org might be under heavy load, we do look for public mirrors who want also to run a drpmsync server. Please contact us, if you do want to run one as well.
Доступ для зарегистрированных серверов
stage.opensuse.org
Some dedicated mirrors get access to stage.opensuse.org. This server provides the updated content of ftp.opensuse.org before the official release and has a higher transfer rate than the public servers. You may want to register for access at mailto:ftpadmin@suse.de, if your mirror has at least a 100MBit connection. This server provides as well rsync and drpmsync services.
Pushing support for Build Service updates
stage.opensuse.org does also host all content from the Build Service. Since the updates do happen all the time, whenever a new package set got builded it is also possible to get the content pushed instead. The obvious disadvantage is that your server needs to allow to write the packages for stage.opensuse.org. The advantages of that method are that
- the mirror is almost always uptodate,
- no need to run rsync calls via all repositories. The pushing will only update the repositories which have changed. This does reduce the IO load of the mirror a lot.
- the http://software.opensuse.org/ redirection tool is aware that the packages got updated and can immediately redirect to the mirror.
How to become a pushed mirror ?
The usual way (but we can also support a different way) is to open a rsync module on your server, where stage.opensuse.org gets write access. A login and password is optionally possible, but not really needed. Please write a mail to mailto:ftpadmin@suse.de afterwards where you tell us:
- the server name where to push
- the rsync module to be used
- an eventually needed account and password
- What you want to mirror (everything or only some certain projects)
- What the public download url will be.
- Any kind of a special wish :)
Зарегистрируйте свое зеркало
You may want to add your mirror to our official mirror list for the released versions or for the development builds. These are wiki pages, simply hit the "Edit" button on the bottom ;)

