Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2002 14:22:02 -0700
From:      "Patrick Soltani" <psoltani@ultradns.com>
To:        "Shawn Walker" <shawn@eblend.org>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: Remote Upgrade
Message-ID:  <3DBB075EEB95944492E127F2B9A96FAF539525@ultra-exchange.UltraDNS.com>

next 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=3DMYKERNEL0 > somefile1
make installkernel KERNCONF=3DMYKERNEL0 > somefile2
make installworld > somefile3
reboot the machine
mergemaster.

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. =20

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
>=20
>=20
> Hello,
>=20
>     I currently have a box running 4.1-RELEASE.  It is not=20
> possible for me
> to gain physical access to the box, so I was wondering if it=20
> is possible to
> upgrade the box remotely.  I have looked at the instructions=20
> in the handbook
> and in /usr/src/UPDATING, but there is some mention of a few=20
> steps that
> should be completed in single user mode.  Is it possible to do this
> remotely?
>=20
> Thanks,
>=20
> --=20
> Shawn Walker
> shawn@eblend.org <-----> http://www.eblend.org/
>=20
> "In rural areas, we're not going to have full coverage until=20
> cows talk."
>     -- Dan Dan Wilinsky, Sprint PCS
>=20
>=20
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>=20

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?3DBB075EEB95944492E127F2B9A96FAF539525>