[Apt-cacher-ng-users] Client fallback to other proxy or to main repo in case of unresponsive proxy?

Nicola Volpini nicola.volpini at kambi.com
Mon Nov 4 15:14:48 UTC 2013


Hi,

I have a setup with multiple sites across different geographic areas. Right now we have a single repo in Sweden and all the sites are fetching packages from it, with obvious problems (speed, bandwidth, etc.)
I'd like to setup two deb proxies with apt-cacher-ng per site.

How can I achieve some sort of redundancy on each client? I'd like to configure them so they can attempt to contact proxy1.site, then proxy2.site, then fallback to the main repo.
I realise it's not something apt-cacher-ng should really care about but I'd like to know how you're solving this in your setups. Loadbalancer? DNS views? Clever scripting? :)

Thanks,
Nicola


--
Nicola Volpini
Infrastructure Operations Engineer

Kambi Sweden AB
Wallingatan 2
111 60 Stockholm
Mob: +46739208979


CONFIDENTIALITY NOTICE: This email message (and any attachment) is intended only for the individual or entity to which it is addressed. The information in this email is confidential and may contain information that is legally privileged or exempt from disclosure under applicable law. If you are not the intended recipient, you are strictly prohibited from reading, using, publishing or disseminating such information and upon receipt, must permanently delete the original and destroy any copies. We take steps to protect against viruses and other defects but advise you to carry out your own checks and precautions as Kambi does not accept any liability for any which remain. Thank you for your co-operation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/attachments/20131104/56f7297d/attachment.html>


More information about the Apt-cacher-ng-users mailing list