Date: Fri, 12 Jan 2007 11:46:57 -0500 From: "David Robillard" <david.robillard@gmail.com> To: "FreeBSD Questions" <freebsd-questions@freebsd.org> Cc: Olivier Nicole <on@cs.ait.ac.th> Subject: Re: cvsup'dating several machines Message-ID: <226ae0c60701120846g4a19d2d0k141377905a717e7b@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?226ae0c60701120846g4a19d2d0k141377905a717e7b>