Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 08:57:43 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: Production Machine, Custom Kernel, Updating to P9
Message-ID:  <20030323135743.GA97849@wjv.com>
In-Reply-To: <20030323080106.3D7195499@bert.int.kts.org>
References:  <20030322125653.V11496@seven.alameda.net> <20030323080106.3D7195499@bert.int.kts.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ashes to ashes, and DOS to DOS Hellmuth Michaelis was heard to say 
on or about Sun, Mar 23, 2003 at 09:01 :

> Ulf Zimmermann wrote:
> 
> > Here is in short form what I do in production machines:

> > cvsup (RELENG_4 or RELENG_4_7 depending what it runs)
> > cd /usr/src
> > make buildworld
> > make buildkernel KERNCONF=<customkernelname>
> > make installkernel KERNCON=<customkernelname>
> > make installworld
> > mergemaster

> > I am doing it all the time, even on machines remotely, with no consoles.

> Do you bring down the machine to single user mode for "make
> installworld" ?

> If not, what is your experience with doing a "make installworld" on a 
> running system ?

Unless you have a way in through serial ports you do have to be up
in multi-user mode to be able to get into the machine via a network
- unless someone has some magic commands that I'm not aware of.

I do the above - and since they are remoted machines - I do them
in step - and run the commands with a command like

nohup make buildworld &

Then I log out.  I check later and look at the nohup.out and if
it's ok go to the next step.  I only do the make installworld
if the kernel reboot into multi-user mode fails - and it has never
failed so far.

Bill
-- 
Bill Vermillion - bv @ wjv . com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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