From owner-freebsd-questions@FreeBSD.ORG Fri Jan 12 16:47:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A1C316A51E for ; Fri, 12 Jan 2007 16:47:14 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id DA0A913C461 for ; Fri, 12 Jan 2007 16:47:13 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so757684uge for ; Fri, 12 Jan 2007 08:47:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=pjvNKteLYc7IBjYUD3dObxD1mMpr94Oic6S85xQuD//PnCtrSCAFv+QW92jPP9/+ZioZXE55tiB/KClj5JsQ3Gl425WG+YNJU4IualOjqcVvqAnNYL+HIhjd0qCpWdalBmuGHxtrnr+Ddm9ubk4sTdRJIdmvZVO7TtVxufVJxbM= Received: by 10.78.18.3 with SMTP id 3mr456926hur.1168620417728; Fri, 12 Jan 2007 08:46:57 -0800 (PST) Received: by 10.78.199.9 with HTTP; Fri, 12 Jan 2007 08:46:57 -0800 (PST) Message-ID: <226ae0c60701120846g4a19d2d0k141377905a717e7b@mail.gmail.com> Date: Fri, 12 Jan 2007 11:46:57 -0500 From: "David Robillard" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Olivier Nicole Subject: Re: cvsup'dating several machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 16:47:14 -0000 > I will soon update FreeBSD on several machines from 4.11 to 5.5, they > are all at the same level of 4.11. > > I would like to save network bandwidth, would it be OK/enough if I > cvsup one machine and then copy /usr/src from that opne to the others? Hi Olivier, If you run an infrastructure of multiple FreeBSD machines, then you should consider building a local CVSup mirror. This way, you'll prevent the error-prone and tedious process copying /usr/src from one machine to the others by hand. Plus, with a local update server, you make sure all your machines have the exact same FreeBSD sources. You can also use this machine not only for CVSup, but for all your ports repository, thus saving even more bandwith. Not to mention the speed increase every time you run cvsup. It's way faster to cvsup on the local LAN then from the internet. To get you started, check out this article from O'Reilly ONLamp's author Michael Lucas at http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html Now, we've made several modifications to the above article to include a generic update user on our machines which uses scponly(8) and sudo(8) with ssh keys to encrypt all of our CVS and porteasy(8) updates. It also permits you to delegate the cvsup(1) of the machines to other admins without giving them the root password. If you're interested, I can send you the documentation. Have fun! David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122