From owner-freebsd-stable Fri Aug 30 11:49:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17E7337B405 for ; Fri, 30 Aug 2002 11:49:14 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 865B843E65 for ; Fri, 30 Aug 2002 11:49:13 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7UInBwu001473; Fri, 30 Aug 2002 11:49:11 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7UInBNY001472; Fri, 30 Aug 2002 11:49:11 -0700 Date: Fri, 30 Aug 2002 11:49:11 -0700 From: Brooks Davis To: Brooks Davis , stable@freebsd.org Subject: Re: Updating world with least downtime Message-ID: <20020830114911.A32627@Odin.AC.HMC.Edu> References: <00af01c25054$3024aca0$04fea8c0@motorcity.on.ca> <20020830113823.A31843@Odin.AC.HMC.Edu> <20020830184305.GC11237@leviathan.inethouston.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020830184305.GC11237@leviathan.inethouston.net>; from dwcjr@inethouston.net on Fri, Aug 30, 2002 at 01:43:05PM -0500 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 30, 2002 at 01:43:05PM -0500, David W. Chapman Jr. wrote: > On Fri, Aug 30, 2002 at 11:38:23AM -0700, Brooks Davis wrote: > > On Fri, Aug 30, 2002 at 02:36:43PM -0400, Derek wrote: > > > Hello, > > > I intend to update the OS source on a primary server for my > > > company. If I buildworld, and buildkernel, then drop to single > > > and installworld, and installkernel, will the kernel installed be > > > the same version as the world newly installed, or will it be the > > > version _currently_ installed on the machine? > >=20 > > It will be installed, but not booted unless you reboot after which is > > a very bad idea because if it fails, your world may not work with your > > old kernel.. You want to follow the instructions in /usr/src/UPDATING. > > If you do that, the only time you'll spend in single user mode is > > installworld and mergemaster. >=20 > You should be able to run installworld installkernel and mergemaster=20 > in multi-user depending on your securelevel. Yes, but you need to understand the risks. For instance, if you install your new kernel and reboot, you may not have a firewall until after the installworld and another reboot if the format changed. If your server doesn't provide any services with breakable userland/kernel interactions then buildworld, buildkernel, installkernel, reboot, installworld, mergemaster, reboot is probably fairly safe and will minimize downtime. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9b74mXY6L6fI4GtQRAvQtAKCXGHXZgnkJRR7oNU0bCinDR3DhWQCgnsKB Tv17LFe2mQy3xV/PBHyISG0= =ocOr -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message