Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 12:36:38 -0600
From:      "Mike Meyer" <mwm-dated-1016390199.865472@mired.org>
To:        Christopher Schulte <schulte+freebsd@nospam.schulte.org>
Cc:        Erik Trulsson <ertr1013@student.uu.se>, MikeM <MyRaQ@mgm51.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Remote upgrading (was: /etc/make.conf question)
Message-ID:  <15502.19126.331274.336789@guru.mired.org>
In-Reply-To: <5.1.0.14.0.20020312113310.05cd6028@pop3s.schulte.org>
References:  <200203121201050707.044E239E@luna.affordablehost.com> <Pine.GSO.4.32.0203121126520.1546-100000@nippur.irb.hr> <20020312074349.A91204@blackhelicopters.org> <20020312155618.GA9463@raggedclown.net> <20020312114158.A92910@blackhelicopters.org> <5.1.0.14.0.20020312113310.05cd6028@pop3s.schulte.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Schulte <schulte+freebsd@nospam.schulte.org> types:
> At 06:19 PM 3/12/2002 +0100, Erik Trulsson wrote:
> >Now, if you can ensure that the machine is "quiet" in some other way,
> >for example by not running any applications yourself and making sure
> >nobody else is logged in, and are confident that the new kernel will
> >work then there is no reason you can't do a remote upgrade.
> 
> Ideally,
> 
> Log out all users but yourself.
> 
> Unmount all network drives.

Unfortunately, that includes /usr/src and /usr/obj on some of my
machines :-).

> Stop all inet services.

See above.

> Kill all processes not critical to the running system such as cron, 
> syslogd, inetd, sshd ( just the master listening process ).  I just run a 
> ps until I feel I've killed everything I can.
> 
> I've done a ton of these remote installs.  They've been safe for me.

On msvhines that I install with an nfs-mounted /usr/src and /usr/obj,
I reboot to multiuser, then shutdown to single user. That hasn't
casued me a problem yet either.

The trick is to make sure that all the kernel modules are updated as
well as the kernel, and not to let them get to far out of sync. And,
of course, to be prepared for the worst.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15502.19126.331274.336789>