From Fedora Project Wiki

(Add info about adding a version.)
(redirect page to new infra-docs)
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= MirrorManager - SOP =
{{header|infra}}
{{shortcut|ISOP:MIRRORMANAGER}}


== Contact Information ==
Owner: Fedora Infrastructure Team


Contact: #fedora-admin, sysadmin-main, sysadmin-web
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/mirrormanager.txt


Location: Phoenix
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.


Servers: app1, app2, app3, app4, app5, app6, bapp1


Purpose: Manage mirrors for Fedora distribution
[[Category:Infrastructure SOPs]]
 
== Description ==
 
TODO
 
=== Release Preparation ===
 
To add a version for release, login to the admin interface at https://admin.fedoraproject.org/mirrormanager/adminview and click on [Add] under Versions.  Fill in the request information, and regenerate the publiclist (below) to update the publiclist pages.
 
=== Troubleshooting and Resolution ===
 
==== Regenerating the Publiclist ====
 
On bapp1:
 
<pre>
sudo su - mirrormanager
</pre>
 
then
 
<pre>
/usr/share/mirrormanager/server/update-each-server > /tmp/mirrormanager-mirrorlist.log 2>&1 && \
/usr/share/mirrormanager/mm_sync_out
</pre>
 
To make this take effect immediately, you may need to remove the cache on the proxies:
 
<pre>
# As root on proxy[1-3]
rm -rf /srv/cache/mod_cache/*
</pre>
 
==== Hung admin.fedoraproject.org/mirrormanager ====
 
This generally happens when an app server loses connection to db2.
 
# on bapp1 and app[1-6], su up, kill the start-mirrormanager.py script.  supervisor will restart it
# on bapp1, if crawlers and update-master-directory-list are likewise hung, kill them too.

Revision as of 18:27, 19 December 2011

Shortcut:
ISOP:MIRRORMANAGER


This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/mirrormanager.txt

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.