From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 09:18:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA893106566C for ; Sat, 5 Apr 2008 09:18:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5CE8FC0C for ; Sat, 5 Apr 2008 09:18:25 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id m359IO3c017336; Sat, 5 Apr 2008 11:18:25 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id EEBDEB82D; Sat, 5 Apr 2008 11:18:23 +0200 (CEST) Date: Sat, 5 Apr 2008 11:18:23 +0200 From: Roland Smith To: Steel City Phantom Message-ID: <20080405091823.GA26285@slackbox.xs4all.nl> Mail-Followup-To: Steel City Phantom , freebsd-questions@freebsd.org References: <5c99941f0804041923t1e6e9cdbue40e782805fa34f6@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <5c99941f0804041923t1e6e9cdbue40e782805fa34f6@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: building a distribution server 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: Sat, 05 Apr 2008 09:18:26 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2008 at 10:23:24PM -0400, Steel City Phantom wrote: > i have about 10 production servers that i want to upgrade to bsd 7 and > update all their ports in one shot. the problem is the down time. im > wrapping up upgrading a 6.3 to 7 and its taken over 7 hours so far. thats > way too long for our machines to be down. =20 First you need to rebuild one server, which you already seem to have done. If your servers all use the same kernel, you can use tar(1) and nc(1) to copy /usr/src and /usr/obj to all machines, and run 'make installkernel' and 'make installworld' locally. Wether you can copy /etc and thus avoid mergemaster depends if you have large local configuration differences between the servers.=20 If your servers don't use the same kernel, you can copy /usr/src, and you'll have to rebuild the kernels locally. Ports is somewhat easier. Build one machine with all the ports you need, and use tar and nc again to distribute /usr/local, /var/db/ports and /var/db/pkg to all machines.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf3Q98ACgkQEnfvsMMhpyW7bwCfcVO7ZTvx/HFtpU800LPDhv6g B/QAn03AY7sFru4NvQUWTHTvZgT3ud3Z =mJFk -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--