Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 11:42:49 -0300
From:      =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= <jonny@jonny.eng.br>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        freebsd-hubs@freebsd.org
Subject:   Re: freebsd-update "mirror" howto
Message-ID:  <50509F69.2010603@jonny.eng.br>
In-Reply-To: <021473D8D9E6A7A785543024@ogg.in.absolight.net>
References:  <021473D8D9E6A7A785543024@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/12/2012 08:42 AM, Mathieu Arnold wrote:
> It's not really a hubs thing, but anyway, I thought I'd share my few bits...
>
> For a long time, I pondered about upgrading my 300+ freebsd servers, and a
> few months back freebsd-update seemed like the way to go...
>
> Now, I did not want all those servers to hit the main freebsd-update
> servers, so I setup a nice local "mirror" using varnish.
>
> Varnish's configuration is there https://gist.github.com/2637602 and it
> would be even better if varnish could use SRV records to define it's
> backends by itself, but for now, there are a couple of shell that I have to
> run whenever I feel like it to update the list.


Recent  versions of varnish can use DNS servers for backends.  Even if 
you cannot use SRV records, you can always setup a separate DNS server 
with the "backend" addresses.  Some setups use a hack with load 
balancers where you can use the SAME IP address for the varnish and the 
"backend" server, making caching almost transparent.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50509F69.2010603>