From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 21:54:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3297B16A4CA for ; Mon, 11 Dec 2006 21:54:08 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (ns.umpquanet.com [63.105.30.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id D44EC44804 for ; Mon, 11 Dec 2006 21:29:13 +0000 (GMT) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (localhost [127.0.0.1]) by ns.umpquanet.com (8.13.8/8.13.8) with ESMTP id kBBLUd1B072998; Mon, 11 Dec 2006 13:30:39 -0800 (PST) (envelope-from list@museum.rain.com) Received: (from james@localhost) by ns.umpquanet.com (8.13.8/8.13.8/Submit) id kBBLUdV1072997; Mon, 11 Dec 2006 13:30:39 -0800 (PST) (envelope-from list@museum.rain.com) Date: Mon, 11 Dec 2006 13:30:39 -0800 From: James Long To: freebsd-questions@freebsd.org, Valen Jones Message-ID: <20061211213039.GA69273@ns.umpquanet.com> References: <20061211120032.5DFBA16A611@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061211120032.5DFBA16A611@hub.freebsd.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: Major Version Upgrade - 4.11 to 5.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 21:54:09 -0000 On Sunday 10 December 2006 15:41, Valen Jones wrote: > I'm interested in upgrading from 4.11 to 5.x. I currently track 4.x > stable using cvsup, but I've never done a major version upgrade. > > First, should I bother? My hardware has dual pentium 1.13 processors > with 1G ram (I'm considering maxing it out at 4). I host a few domains > on this machine and I have four jails configured on it which will have > to be upgraded too. I have users counting particularly on mail service > not being down for too long. > > Other than the obvious advice to start with a good backup, can anyone > tell me: > > 1) Will I gain a major benefit from upgrading > > 2) Where should I look for instructions / advice on upgrading > > 3) Also any general advice from personal experience. Beech's advice is sound. I would stress that the simplest and easiest by far is indeed a clean install. And take two backups, if you have customers counting on things going right. Make sure your backups are readable, usable and complete (no bad spots on tape media, no files inadvertently omitted, etc.). If at all possible, leave the production system running and begin the new installation on separate hardware. If you have a fast new machine to migrate onto, do that. However your current hardware sounds adequate for the light load you describe. If you have just a spare machine of nearly the same horsepower and configuration, you could do the new installation on the spare machine, get it configured and tested, and then backup the old machine twice, wipe the drive and re-partition, and then transfer the newly-built configuration onto your production hardware. Watch out for /etc/fstab gotchas, like if the test machine has an ad0 ATA drive and the production is da0 SCSI. This will allow you to do a lot of migration, testing and tweaking off-line, without your customers noticing much downtime, except for the final changeover. How current are your installed ports? Review the ports you do have installed, and see whether you're really still using them. It will save you a little time on the new machine by not having to build ports you don't really need anymore. Look at your key applications, and where there are significant version changes between what you're running and what's current, familiarize yourself with the upgrade issues (if any) that each port presents. Be prepared to test any new features you hope to use, or to regression test to make sure that legacy functionality still works the way you expect. This might be the time to switch to Apache 2, for example, if you want to. But some things that worked under 1.3 will have to be adjusted to work under 2. At the least, it would be good to upgrade to the latest 1.3.x, to use Apache as an example. As for #3, I have grown fond of using a FreesBIE or other live CD for steps like booting the migration/test box to create a backup image of the new 6.X filesystem, and then also to boot the production box for the final changeover to transfer that backup image onto the production disk. That way your file system in an off-line (inactive) state, where you can cleanly backup the old production filesystem (twice!), then wipe and re-partition, and transfer the new configuration image onto the production drive likewise in a clean state. If you haven't already, spend some time just experimenting on a test machine, and make friends with FreesBIE and/or the Fixit live CD mode of FreeBSD installation media. Good luck! Jim