Date: Fri, 30 Aug 2002 12:47:11 -0700 From: Kent Stewart <kstewart@owt.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: stable@FreeBSD.ORG Subject: Re: Updating world with least downtime Message-ID: <3D6FCBBF.5010508@owt.com> References: <00af01c25054$3024aca0$04fea8c0@motorcity.on.ca> <20020830113823.A31843@Odin.AC.HMC.Edu> <20020830184305.GC11237@leviathan.inethouston.net> <20020830114911.A32627@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6FCBBF.5010508>