Date: Sat, 5 Apr 2008 11:18:23 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Steel City Phantom <scphantm@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: building a distribution server Message-ID: <20080405091823.GA26285@slackbox.xs4all.nl> In-Reply-To: <5c99941f0804041923t1e6e9cdbue40e782805fa34f6@mail.gmail.com> References: <5c99941f0804041923t1e6e9cdbue40e782805fa34f6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080405091823.GA26285>