<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 10, 2016 at 11:28 PM, Bernie Innocenti <span dir="ltr"><<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I was thinking: we've been running without Mirrorbrain for several weeks<br>
and nothing bad happened. Clearly, we have enough bandwidth to manage<br>
all downloads from sunjammer.<br>
<br>
There may be benefits in offloading downloads to locations closer to the<br>
user, but mirror redirection was a pretty complex and fragile system<br>
which should justify itself.<br>
<br>
Samuel, could you please download the same large file from<br>
<a href="http://download.sugarlabs.org" rel="noreferrer" target="_blank">download.sugarlabs.org</a> and from each of the mirrors to see if there is a<br>
substantial benefit?<br></blockquote><div><div><br></div><div>How can I get all the mirrors? Since the upgrade we do not have the mirrorbrain command (mb), so I can't list the mirrors.</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I suspect that, for large files, the reduced latency won't matter... and<br>
for small files, the extra HTTP redirect from sunjammer to the mirror<br>
may even make things a bit *worse* :-)<br>
<span><br>
<br>
On 03/06/2016 08:22 PM, Samuel Cantero wrote:<br>
> Hi Sam,<br>
><br>
> I would go for the 2nd approach. Apparently it all fit correctly and we<br>
> can continue moving our services to docker containers.<br>
><br>
> Best regards,<br>
><br>
> Samuel C.<br>
><br>
><br>
><br>
> On Sun, Mar 6, 2016 at 6:56 AM, Sam Parkinson <<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a><br>
</span><span>> <mailto:<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>>> wrote:<br>
><br>
><br>
> On Sun, Mar 6, 2016 at 5:47 PM, Cron Daemon <<a href="mailto:root@sugarlabs.org" target="_blank">root@sugarlabs.org</a><br>
</span><span>> <mailto:<a href="mailto:root@sugarlabs.org" target="_blank">root@sugarlabs.org</a>>> wrote:<br>
>> /etc/cron.weekly/mirrorbrain: bash: asn_import: command not found<br>
><br>
> This cron error message hides that mirrorbrain isn't running at all<br>
> now. See this in<br>
><br>
> 1) appending ".mirrorlist" to a <a href="http://download.sugarlabs.org" rel="noreferrer" target="_blank">download.sugarlabs.org</a><br>
</span>> <<a href="http://download.sugarlabs.org" rel="noreferrer" target="_blank">http://download.sugarlabs.org</a>> URL now gives a 404 (should show a<br>
<div><div>> list of mirrors and file metadata)<br>
> 2) our MirrorMon [1] (which uses data from mirrorbrain) now shows<br>
> that there are no mirrors. This is a lie, arrnet's still mirroring<br>
> us [2]<br>
><br>
> Upon further investigation, it doesn't seem to be even set up properly:<br>
><br>
> 1) "sudo -u mirrorbrain mb" (mb is mirrorbrain config tool) -><br>
> "sudo: mb: command not found"<br>
> 2) from apt.sources.list "#bernie: mirrorbrain no longer supported<br>
> on trusty :-("<br>
><br>
> So, any preferences for a plan of action? So far, I can think of:<br>
><br>
> 1) Compile it from source. MirrorBrain moves slowly, so my old tut<br>
> about this is still up to date [3]. But this feels so dirty and bad.<br>
> 2) Use a Debian 8 docker container. The mirror brain repos [4]<br>
> include packages for it, so it is just a package manager install in<br>
> that respect. We can base it off the official docker apache<br>
> images[5], which use debian jessie.<br>
><br>
> Thanks,<br>
> Sam<br>
><br>
> [1] <a href="https://mirrors.sugarlabs.org/" rel="noreferrer" target="_blank">https://mirrors.sugarlabs.org/</a><br>
> [2] <a href="http://mirror.aarnet.edu.au/pub/sugarlabs/" rel="noreferrer" target="_blank">http://mirror.aarnet.edu.au/pub/sugarlabs/</a><br>
> [3]<br>
> <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-mirror-director-with-mirrorbrain-on-ubuntu-14-04" rel="noreferrer" target="_blank">https://www.digitalocean.com/community/tutorials/how-to-set-up-a-mirror-director-with-mirrorbrain-on-ubuntu-14-04</a><br>
> [4] <a href="http://download.opensuse.org/repositories/Apache:/MirrorBrain/" rel="noreferrer" target="_blank">http://download.opensuse.org/repositories/Apache:/MirrorBrain/</a><br>
> [5] <a href="https://github.com/docker-library/httpd/blob/master/2.4/Dockerfile" rel="noreferrer" target="_blank">https://github.com/docker-library/httpd/blob/master/2.4/Dockerfile</a><br>
>> _______________________________________________ Systems-logs<br>
>> mailing list <a href="mailto:Systems-logs@lists.sugarlabs.org" target="_blank">Systems-logs@lists.sugarlabs.org</a><br>
</div></div>>> <mailto:<a href="mailto:Systems-logs@lists.sugarlabs.org" target="_blank">Systems-logs@lists.sugarlabs.org</a>><br>
<span>>> <a href="http://lists.sugarlabs.org/listinfo/systems-logs" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems-logs</a><br>
><br>
> _______________________________________________<br>
> Systems mailing list<br>
</span>> <a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a> <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>><br>
> <a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
<div><div>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Systems mailing list<br>
> <a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
><br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
_ // Bernie Innocenti<br>
\X/ <a href="http://codewiz.org" rel="noreferrer" target="_blank">http://codewiz.org</a><br>
</font></span></blockquote></div><br></div></div>