Subject: Re: sup'ing several machines at the same time
To: Mirko Thiesen <thiesi@NetWorkXXIII.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/27/2004 21:48:09
On Fri, Sep 24, 2004 at 10:49:03PM +0200, Mirko Thiesen wrote:
> Hi there,
> 
> since the number of my NetBSD machines is growing, I'm thinking about some 
> mechanism to save bandwidth and speed up the sup process. Currently, all 
> machines update the whole source tree including PkgSrc every day somewhere 
> in the morning via an entry in daily.local.
> 
> Obviously this is unneccessary traffic, and it consumes much time. What 
> I'd like to do is set up one system as a sup server. This machine could 
> still sup the sources off the daily.local script. After it has finished, 
> the other machines should update their local sources from the "master".
> 
> The two things I'm currently a bit clueless about are:
>  - how to set up a sup server		and

man supfilesrv

ftp://ftp.netbsd.org/pub/sup/
contain the configuration files for the NetBSD sup server, you can use this
as examples.

>  - how to "ring the bell" on the "slaves" once the "master" has finished 
> its own sup run.

ssh box sup ... ?
Otherwise, just run sup on the slaves at periodic intervals ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--