From owner-freebsd-stable Fri Aug 30 13: 7:50 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 3545637B400 for ; Fri, 30 Aug 2002 13:07:46 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC8D43E81 for ; Fri, 30 Aug 2002 13:07:42 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g7UK7FS23389; Fri, 30 Aug 2002 15:07:15 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020830150714.020e3b90@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 30 Aug 2002 15:07:14 -0500 To: "David W. Chapman Jr." , Brooks Davis From: "Jack L. Stone" Subject: Re: Updating world with least downtime Cc: stable@FreeBSD.ORG In-Reply-To: <20020830184305.GC11237@leviathan.inethouston.net> References: <20020830113823.A31843@Odin.AC.HMC.Edu> <00af01c25054$3024aca0$04fea8c0@motorcity.on.ca> <20020830113823.A31843@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 01:43 PM 8.30.2002 -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. > > >-- >David W. Chapman Jr. >dwcjr@inethouston.net Raintree Network Services, Inc. >dwcjr@freebsd.org FreeBSD Committer > Yes, that's what I do after taking an image of the drive and also using the "build box" as the first test to see if everything works okay. Downtime is only a matter of seconds... riskier, yes, but acceptable with the image to fall back on. Dropping to the single-user mode causes a downtime of about 30 minutes otherwise on a 1.4G CPU machine... longer on slower machines. Everthing is now done via scripts. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message