From owner-freebsd-questions Wed Jun 26 16:33:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cics.co.za (mail.cics.co.za [196.15.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 5992637BAA4 for ; Wed, 26 Jun 2002 16:07:55 -0700 (PDT) Received: (qmail 32772 invoked by uid 85); 26 Jun 2002 22:44:16 -0000 Received: from unknown (HELO mark.igate.org.za) (196.15.196.5) by mail.cics.co.za with SMTP; 26 Jun 2002 22:44:15 -0000 Date: Thu, 27 Jun 2002 00:40:35 +0200 From: Mark Pearce To: Richard Fairfield Cc: questions@freebsd.org Subject: Re: maintaining multiple machines Message-Id: <20020627004035.40dffbe9.mark@netchat.co.za> In-Reply-To: References: Organization: Netchat X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 26 Jun 2002 13:16:08 -0700 (PDT) Richard Fairfield grunted: > > Hello all: > > A couple of months ago I installed FreeBSD 4.5 on two PCs. Since then, > I've been occasionally using CVSup and portupgrade to keep these machines > up to date, tracking RELENG_4. Here's my general proceedure: > > run cvsup > "make buildworld" > make and install a new kernel > reboot to single-user mode > "make installworld" > run mergemaster and deal with a varying number of config files > back to multi-user mode > upgrade packages, which itself involves many steps. > > I'd now like to run FreeBSD on several more machines, but the above > steps are really quite time consuming, and I don't think that they > scale very well. So, I was hoping to do this work on only one machine > and then use rdist or, perhaps, rsync to keep the other 'n' machines > up to date. The basic plan, patterned after what I've done for years > with other Unix OS's: > > Share /usr/local via NFS > Share /usr/src via NFS > Ditribute everything else via rdist (or rsync) > Perform kernel upgrades manually on each machine HI It might be easier just to share /usr/ports or /usr/ports/distfiles for your ports, but for your sources, just share /usr/src and /usr/obj, that way you can do a buildworld and buildkernel on one box, and just mount the nfs shares and do a installworld and installkernel and mergemaster on the other box's you are maintaining. This works for me, saves time as only 1 box is actually compiling and updating. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message