From Fedora Project Wiki

(→‎Regenerating the Publiclist: update the command used to regen the lists)
(redirect page to new infra-docs)
Line 2: Line 2:
{{shortcut|ISOP:MIRRORMANAGER}}
{{shortcut|ISOP:MIRRORMANAGER}}


Mirrormanager manages mirrors for fedora distribution.


== Contact Information ==
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
Owner: Fedora Infrastructure Team


Contact: #fedora-admin, sysadmin-main, sysadmin-web
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.


Location: Phoenix
Servers: app1, app2, app3, app4, app5, app6, bapp1
Purpose: Manage mirrors for Fedora distribution
== Description ==
TODO
=== Release Preparation ===
MirrorManager should automatically detect the new release version, and will create a new Version() object in the database.  This is visible on the Version page in the web UI, and on mirrors.fp.o.
If the versioning scheme changes, it's possible this will fail.  If so, contact the Mirror Wrangler.
=== Troubleshooting and Resolution ===
==== Regenerating the Publiclist ====
On bapp1:
<pre>
sudo su - mirrormanager
</pre>
then
<pre>
/usr/share/mirrormanager/server/update-mirrorlist-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, and restart apache.
# on bapp1, if crawlers and update-master-directory-list are likewise hung, kill them too.  You may need to delete stale /var/lock/mirrormanager/* lockfiles as well.


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]

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.