From owner-freebsd-questions Thu Oct 31 14:56:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF1837B401 for ; Thu, 31 Oct 2002 14:56:51 -0800 (PST) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00C0843E42 for ; Thu, 31 Oct 2002 14:56:51 -0800 (PST) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id CA6769FF3; Thu, 31 Oct 2002 23:56:49 +0100 (MET) Received: from cs.umu.se (h96n1c1o1023.bredband.skanova.com [213.64.164.96]) by grillolja.cs.umu.se (Postfix) with ESMTP id C23489FF7; Thu, 31 Oct 2002 23:56:44 +0100 (MET) Message-ID: <3DC1B528.9040901@cs.umu.se> Date: Thu, 31 Oct 2002 23:56:40 +0100 From: Paul Everlund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: sv,en MIME-Version: 1.0 To: Steve Warwick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Separating the OS from the data [Addendum] References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steve Warwick wrote: > [Addendum] > > Cvsup / makeworld: I apologize for missing that piece of information > > Yes, I could use the usual update procedure, however, this is a production > machine. So my thought is: build a new OS on a staging machine, add required > symlinks, pull the drive (sled) and slot it into the production machine. In > THEORY it should be possible to do an upgrade in the time it takes to do a > reboot. For server farms this would be a big benefit... > > > Steve So... Would the following be an option? The production server have two disks: one with the OS on (A) and some symbolic links to another disk where /usr/local is (B). You have another computer with an identical disk (C) as disk A, where you can do the upgrade. Do the upgrade on disk C, pick it out, shutdown the production server, replace disk A with C, and boot the production server. Then put disk A into the other computer and upgrade that disk, then disk A and C will be identical again. Next time, upgrade A and swap it with C. It would be good if you, on the upgrade build computer, could have an exact copy of disk B so you could test, that everything went as expec- ted. Also, it's not necessary to have the mySql database tables in /var. I've put them in /usr/local/mysql, and hence I do not care if anything happens to /var when upgrading. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message