Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 10:08:00 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Using cvsup with multiple servers
Message-ID:  <20030213100800.GA94267@catflap.home.slightlystrange.org>
In-Reply-To: <Pine.GSO.4.10.10302121156090.5320-100000@leahi>
References:  <Pine.GSO.4.10.10302121156090.5320-100000@leahi>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 12, 2003 at 11:58:37AM -1000, Gary Dunn wrote:
> What is the best way to use cvsup in a multi-server environment? I
> have four servers. None are exactly the same. The only thing they have
> in common is that they use a Pentium CPU. Three (A B C) are production
> servers with lots of real user accounts and data. The forth is my test
> and configuration management (CM) system.
> 
> Currently what I do is run cvsup from the CM machine, then push out
> the updates with rsync. Each system has its own ports collection. Each
> port is built on the machine it will run on.
> 
> I thought it would be simpler if I use NFS to mount the ports
> collection on each of the production systems, maintaining just one
> copy on the CM machine. Then I would build each port on the machine it
> will run on. My concern is for how a build on server A will affect a
> build on server B. Will a "make clean" be enough?

I do something very similar without problems.  Works well.  Another
approach might be to build the ports on your management box, and make
them into binary packages which you can then install on the production
machines - it's much quicker to do, so will save valuable cycles which
can then be (ab)used by your users.

> I have heard that there are tools for managing the ports
> collection. Are there any that would make my life easier?

portupgrade is in sysutils in the ports, and is very good.

> BTW, I am in Hawaii, and it's a beautiful, sunny day, temp around
> 80F. I guess it's pretty cold today for most of you.

Thanks, glad to hear you're having a nice day.  Here in southern
Lincolnshire, England, we have unbroken low level cloud as far as the
eye can see, and a whole 2 degrees heat.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030213100800.GA94267>