Re: [Sugar-devel] [Systems] more mirrors

2009-09-27 Thread Bernie Innocenti
El Mon, 21-09-2009 a las 09:16 +0200, Marten Vijn escribió:
 Hi,
 
 Last saturday I (on EuroBSDcon) was talking with
 folks for ISC. 
 
 They be willing to mirror sugar as well.
 
 Shall I start working on this?

Increasing the number of mirrors would certainly not hurt us, but I'm
not sure how beneficial it is unless we start pointing users at these
mirrors.

The most rudimentary way would be doing round-robin DNS on
download.sugarlabs.org.  The next step would be delegating
download.sugarlabs.org to smart nameservers with GeoIP and dynamic
mirror add/removal based on monitoring.  But wouldn't this be a
duplication of what services like Cacheboy and Mirrorbrain already do?

We also have a namespace problem to address: last year, Marco convinced
me to shorten the URL by scrapping the /sugar prefix.  This means that
mirrors would now have to configure a virtual host for
download.sugarlabs.org.  We could fix this by re-introducing /sugar and
adding temporary compatibility aliases to the main server, but it
wouldn't work for the mirrors.  What do you think?

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Systems] more mirrors

2009-09-27 Thread David Farning
On Sun, Sep 27, 2009 at 12:53 PM, Bernie Innocenti ber...@codewiz.org wrote:
 El Mon, 21-09-2009 a las 09:16 +0200, Marten Vijn escribió:
 Hi,

 Last saturday I (on EuroBSDcon) was talking with
 folks for ISC.

 They be willing to mirror sugar as well.

 Shall I start working on this?

 Increasing the number of mirrors would certainly not hurt us, but I'm
 not sure how beneficial it is unless we start pointing users at these
 mirrors.

 The most rudimentary way would be doing round-robin DNS on
 download.sugarlabs.org.  The next step would be delegating
 download.sugarlabs.org to smart nameservers with GeoIP and dynamic
 mirror add/removal based on monitoring.  But wouldn't this be a
 duplication of what services like Cacheboy and Mirrorbrain already do?

I have set up a local instance of mirrorbrain on my development
machine which is running as download.localvm.sugarlabs.org .  Peter
Pöml the lead developer from mirrorbrain has offer to review my
installation notes on Monday

Bernie,

If you could set up a vm running ubuntu 9.04 (or what ever sunjammer
is  running ) I belive that we can have download.testing.sugarlabs.org
running by tomorrow evening.

Mirrorbrain might not be the correct answer for sugarlabs.  But at it
would give us a starting point.

david

 We also have a namespace problem to address: last year, Marco convinced
 me to shorten the URL by scrapping the /sugar prefix.  This means that
 mirrors would now have to configure a virtual host for
 download.sugarlabs.org.  We could fix this by re-introducing /sugar and
 adding temporary compatibility aliases to the main server, but it
 wouldn't work for the mirrors.  What do you think?

 --
   // Bernie Innocenti - http://codewiz.org/
  \X/  Sugar Labs       - http://sugarlabs.org/

 ___
 Systems mailing list
 syst...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/systems

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Systems] more mirrors

2009-09-27 Thread Marten Vijn
On Sun, 2009-09-27 at 13:53 -0400, Bernie Innocenti wrote:
 El Mon, 21-09-2009 a las 09:16 +0200, Marten Vijn escribió:
snip
 
 Increasing the number of mirrors would certainly not hurt us, but I'm
 not sure how beneficial it is unless we start pointing users at these
 mirrors.
 
 The most rudimentary way would be doing round-robin DNS on
 download.sugarlabs.org.  The next step would be delegating
 download.sugarlabs.org to smart nameservers with GeoIP and dynamic
 mirror add/removal based on monitoring.  But wouldn't this be a
 duplication of what services like Cacheboy and Mirrorbrain already do?
 

I don't  see roundrobin as a solution. (details below)

CacheBoy would be the solution if:
- one or more for could join cacheboy
- if/when cacheboy is open source

Since the mirror do have delta's in the path Mirrorbrain would the
current solution.


 We also have a namespace problem to address: last year, Marco convinced
 me to shorten the URL by scrapping the /sugar prefix.  This means that
 mirrors would now have to configure a virtual host for
 download.sugarlabs.org.  We could fix this by re-introducing /sugar and
 adding temporary compatibility aliases to the main server, but it
 wouldn't work for the mirrors.  What do you think?

It would not solve it.

http://download.sugarlabs.org/soas/snapshots/3/SoaS3-200908182110.iso

http://download2.sugarlabs.org/soas/snapshots/3/SoaS3-200908182110.iso

http://ftp.snt.utwente.nl/pub/software/sugarlabs/soas/snapshots/3/SoaS3-200908182110.iso

http://ftp.nluug.nl/pub/os/Linux/distr/Sugar/soas/snapshots/3/SoaS3-200908182110.iso

http://sugarlabs.cdn.cacheboy.net/soas/snapshots/3/SoaS3-200908182110.iso

so 3 out of 5 match, it does not look very promising when grow to more
mirrors. Thats why I like the CacheBoy solution.

cheers,
Marten



 
-- 
this email is sent from my mainframe. 
http://martenvijn.nlSugar on a Stick
http://bsd.wifisoft.org/nek/The Network Event Kit
http://opencommunitycamp.org 26th Jul - 2nd August

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Systems] more mirrors

2009-09-27 Thread Bernie Innocenti
El Sun, 27-09-2009 a las 13:45 -0500, David Farning escribió:
 If you could set up a vm running ubuntu 9.04 (or what ever sunjammer
 is  running ) I belive that we can have download.testing.sugarlabs.org
 running by tomorrow evening.

I've set up a small Ubuntu 9.04 VM for you to start testing.  You should
be able to log in as dfarn...@mirrorbrain.sugarlabs.org .  You have sudo
with no password.


 Mirrorbrain might not be the correct answer for sugarlabs.  But at it
 would give us a starting point.

Indeed.  Please keep me updated.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel