Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2002 14:54:58 -0700
From:      Alex Obradovic <alex@montenegro.com>
To:        freebsd-questions@freebsd.org, Patrick Soltani <psoltani@ultradns.com>
Subject:   Re: Remote Upgrade
Message-ID:  <20020503215458.GB16657@montenegro.com>
In-Reply-To: <3DBB075EEB95944492E127F2B9A96FAF539525@ultra-exchange.UltraDNS.com>
References:  <3DBB075EEB95944492E127F2B9A96FAF539525@ultra-exchange.UltraDNS.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I have upgraded my production firewalls, FreeBSD 4.x, over the network with little or no problems.
> Here is the recipe,
> couple of cvsup for src tree
> couple of cvsup for ports tree
> make -j 16 buildworld > somefile0
> make buildkernel KERNCONF=MYKERNEL0 > somefile1
> make installkernel KERNCONF=MYKERNEL0 > somefile2
> make installworld > somefile3
> reboot the machine
> mergemaster.
> 

My understanding was that we should do mergemaster BEFORE rebooting the machine. 

I have been updating 3-4 different systems remotely by following this path:
cvsup
buildworld
installworld
buildkernel
installkernel
mergemaster
reboot

Alex


> The last part is kind of tricky, but executed without any options, you get a chance to read the changes and apply the ones you want.
> 
> If the machine is a 7X24 production box and you can not have it downed, then put the lines above into a script, hopefully with some error checking, etc and do a "nice or renice" so it runs in the background and when finished emails you.
> 
> Regards,
> Patrick Soltani.  
> 
> P.S.  Although I have had no problems doing this, I had a console switch with an attached modem hooked up to the serial port so if anything went wrong, still I could get to the machine to revive it.
> 
> 
> 
> > -----Original Message-----
> > From: Shawn Walker [mailto:shawn@eblend.org]
> > Sent: Thursday, May 02, 2002 8:54 PM
> > To: freebsd-questions@freebsd.org
> > Subject: Remote Upgrade
> > 
> > 
> > Hello,
> > 
> >     I currently have a box running 4.1-RELEASE.  It is not 
> > possible for me
> > to gain physical access to the box, so I was wondering if it 
> > is possible to
> > upgrade the box remotely.  I have looked at the instructions 
> > in the handbook
> > and in /usr/src/UPDATING, but there is some mention of a few 
> > steps that
> > should be completed in single user mode.  Is it possible to do this
> > remotely?
> > 
> > Thanks,
> > 
> > -- 
> > Shawn Walker
> > shawn@eblend.org <-----> http://www.eblend.org/
> > 
> > "In rural areas, we're not going to have full coverage until 
> > cows talk."
> >     -- Dan Dan Wilinsky, Sprint PCS
> > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

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




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