[Apt-cacher-ng-users] Hierarchical apt-cacher-ng

Eduard Bloch edi at gmx.de
Mon Apr 16 17:41:34 UTC 2012


Hallo,
* Miguel Montero Rodríguez [Mon, Apr 02 2012, 07:59:13PM]:

> I've just installed apt-cacher-ng in two servers and I'm trying to have an
> hierarchical architecture:
>                                                 Master
>                                                    ||
>            Slave1
> Slave2                              Slave3
>               ||
> ||                                    ||
> Server1.1 ... Server1.N      Server2.1 ... Server 2.N      Server 3.1 ...
> Server 3.N

This picture is messed up. I guess this was supposed to become a tree.

> I want servers (1.1...3.N) to upgrade through a local apt-cache-ng (Slave
> servers) but I want that local server to get updates from a master server.
> 
> I've changed slaves ubuntu_mirrors file located in /etc/apt-cacher-ng/
> adding the master apt-cacher-ng server (http://192.168.184.130:3142/) but
> I've study the traffic with tcpdump and I see that Slaves go to
> us.archive.ubuntu.com to get updates.
> 
> Is it possible to make it works as I want?

Sure. Just configure you slaves to access other slaves as proxy. Without
knowing your config files it's hard to tell what is going wrong.

Regards,
Eduard.



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