Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 15:07:14 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>, Brooks Davis <brooks@one-eyed-alien.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Updating world with least downtime
Message-ID:  <3.0.5.32.20020830150714.020e3b90@mail.sage-one.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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. <www.inethouston.net>
>dwcjr@freebsd.org	FreeBSD Committer <www.FreeBSD.org>
>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020830150714.020e3b90>