Re: cvsup'dating several machines

2007-01-12 Thread David Robillard

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup'dating several machines

2007-01-11 Thread Olivier Nicole
Hi,

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?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup'dating several machines

2007-01-11 Thread Dan Nelson
In the last episode (Jan 12), Olivier Nicole said:
 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?

You don't need to copy.  Just NFS-mount /usr/src from your master onto
all the others.  In fact, if you also share /usr/obj (or set
MAKEOBJDIRPREFIX appropriately so they all point to the same place),
you can even buildworld on one, and just run installworld on all the
others and skip the extra compiles.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]