From owner-freebsd-stable Fri Aug 30 12:48:46 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 0E2DE37B406 for ; Fri, 30 Aug 2002 12:48:34 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5730043EAF for ; Fri, 30 Aug 2002 12:47:40 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA16111; Fri, 30 Aug 2002 12:47:12 -0700 Message-ID: <3D6FCBBF.5010508@owt.com> Date: Fri, 30 Aug 2002 12:47:11 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Brooks Davis Cc: stable@FreeBSD.ORG Subject: Re: Updating world with least downtime References: <00af01c25054$3024aca0$04fea8c0@motorcity.on.ca> <20020830113823.A31843@Odin.AC.HMC.Edu> <20020830184305.GC11237@leviathan.inethouston.net> <20020830114911.A32627@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Brooks Davis wrote: > 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? >>>> >>>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. >>> >>You should be able to run installworld installkernel and mergemaster >>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. I never had networking in single user mode and always thought I didn't have to worry about a firewall. The whole sequence of installworld and mergemaster typically requires an uptime of less than 4 minutes on my fast computers. Kent > > -- Brooks > > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message