Service/mirrors

From Sugar Labs
< Service
Revision as of 15:17, 12 October 2009 by Dfarning (talk | contribs) (remove snt from manually mantained list)
Jump to navigation Jump to search

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

Introduction

A content delivery network or content distribution network (CDN) is a system of computers containing copies of data, placed at various points in a network so as to maximize bandwidth for access to the data from clients throughout the network. A client accesses a copy of the data near to the client, as opposed to all clients accessing the same central server, thereby causing a bottleneck near that server.

Mirrorbrain, Bouncer, Fedora Mirror Manager, and Cacheboy are four possible choices for scaling up the Sugar Labs content delivery network. Long term, Cacheboy looks like it might be the best fit for Sugar Labs, but the project must become more stable before becoming Sugar Labs primary CDN. Bouncer is currently being used as successfully by Mozilla. But development ended at the end of 2008. Mozilla is currently investigating Mirrorbrain. Mirrorbrain looks promising.

Goals

  • Reduce bandwith at primary download server.
  • Improve quality of service for users.
  • Move content closer to users.

Mirrors

Global Mirror

CacheBoy provides global mirroring. It finds the nearest location for your download. Read more information about CacheBoy on http://cacheboy.net

http ftp rsync country sync mirrorhost stats contact
http://sugarlabs.cdn.cacheboy.net/ none none All continents 1h Cacheboy - Marten

Local Mirrors

Here is a list of localized mirrors, please select a mirror close by and try to avoid to the main site:

http ftp rsync country sync mirrorhost stats contact
download.sugarlabs.org ftp rsync://download.sugarlabs.org/ Boston MA 0 Sunjammer - Bernie
ftp.nluug.nl ftp rsync://ftp.nluug.nl/sugar The Netherlands 1x24h NLUUG stats Marten

Becoming a Mirror

rsync -avz --exclude=soas/snapshots --exclude=soas/xoimages rsync://sunjammer.sugarlabs.org/pub ~/d3.sl.o

Monitoring

There is some basic information on the status of our mirrors.

Your can find it here, http://martenvijn.nl/sugar_mirror.html

Mirrorbrain

Mirrrorbrain is used by several major project including opensuse and openoffice. It is quite stable, under activate development, and well documented,

Installation from scratch

Please see http://mirrorbrain.org/docs/installation/debian/ . Our Sugar Labs installation instructions have become the official mirrorbrain on ubuntu instructions.

Installation from packages

Add the following line to sources.list to get the latest packages for the opensuse build system.

sudo vim /etc/apt/sources.list
deb http://download.opensuse.org/repositories/Apache:/MirrorBrain/xUbuntu_9.04/ /

Install the mirrorbrain packages

sudo apt-get update
sudo apt-get install mirrorbrain mirrorbrain-tools mirrorbrain-scanner libapache2-mod-mirrorbrain libapache2-mod-autoindex-mb