Re: Share /var/cache/pkg/ between machines

2013-02-26 Thread Daniel Nebdal
On Tue, Feb 26, 2013 at 3:57 AM, Aristedes Maniatis wrote: > I'd like to share packages between a couple of nearly identical machines in > a server farm. I think I have the following options: > > 1. Set up apache httpd on one primary machine to serve the packages to the > others by pointing websit

Re: Share /var/cache/pkg/ between machines

2013-02-25 Thread Aristedes Maniatis
On 26/02/13 5:22pm, Alexander Yerenkow wrote: I don't understand how do you imagine "magical appearing" 80 Mb JDK from any one place to other without pulling data from internet? :) In any case, with any kind of sharing you probably will have almost same traffic, maybe even greater than if you c

Re: Share /var/cache/pkg/ between machines

2013-02-25 Thread Alexander Yerenkow
I don't understand how do you imagine "magical appearing" 80 Mb JDK from any one place to other without pulling data from internet? :) In any case, with any kind of sharing you probably will have almost same traffic, maybe even greater than if you choose simple `pkg install` traffic. 1 - pointless

RE: Share /var/cache/pkg/ between machines

2013-02-25 Thread Dewayne Geraghty
> -Original Message- > From: owner-freebsd-po...@freebsd.org > [mailto:owner-freebsd-po...@freebsd.org] On Behalf Of > Aristedes Maniatis > Sent: Tuesday, 26 February 2013 1:58 PM > To: freebsd-ports@freebsd.org > Subject: Share /var/cache/pkg/ between machines > > I'd like to share pack

Re: Share /var/cache/pkg/ between machines

2013-02-25 Thread James
You could put /var/cache/pkg on NFS, writable by all clients. However, my preference would be to put the pkg repo on NFS and not use cache at all. At the moment I clean out cache daily via periodic(8). -- James. ___ freebsd-ports@freebsd.org mailing lis

Re: Share /var/cache/pkg/ between machines

2013-02-25 Thread Jeffrey Bouquet
Just to add a 'something else', unsure how fully it may suffice... [details at the bottom] --- On Mon, 2/25/13, Aristedes Maniatis wrote: From: Aristedes Maniatis Subject: Share /var/cache/pkg/ between machines To: freebsd-ports@freebsd.org Date: Monday, February 25, 2013, 6:57 PM I'd like to