Service/mirrors: Difference between revisions

Add considerations
No edit summary
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
=== Bandwidth ===
=== Bandwidth ===


To run a mirror you need a lot of bandwidth!  You should look at [the total bandwidth used by all the mirrors mirrors. http://stats.sugarlabs.org/download.sugarlabs.org/].
To run a mirror you need a lot of bandwidth!  You should look at [http://stats.sugarlabs.org/download.sugarlabs.org/ the total bandwidth used by all the mirrors].


If you have trouble with bandwidth you should look at [CloudFlare http://www.cloudflare.com].
If you have trouble with bandwidth, you should look at [http://www.cloudflare.com CloudFlare].


=== HDD Space ===
=== HDD Space ===
Line 96: Line 96:
* Scan and enable the mirror:
* Scan and enable the mirror:
  sudo -u mirrorbrain mb scan -e <mirror name>
  sudo -u mirrorbrain mb scan -e <mirror name>
* Export the list of mirrors for mirmon (a hourly cronjob does this, but if you don't want to wait...):
mb export --format=mirmon-apache | sudo -u mirrorbrain tee /srv/mirrorbrain/mirmon/mirrorlist-export
* Finally, re-run mirmon to ensure it can check the health of the mirror (this is also done by a cronjob, but our patience is very short):
sudo -u mirrorbrain mirmon -v -get all -c /etc/mirmon.conf