From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 15:06:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64461065670 for ; Tue, 25 Jan 2011 15:06:41 +0000 (UTC) (envelope-from yurius.r@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [77.88.46.8]) by mx1.freebsd.org (Postfix) with ESMTP id 83A008FC18 for ; Tue, 25 Jan 2011 15:06:41 +0000 (UTC) Received: from web59.yandex.ru (web59.yandex.ru [77.88.46.50]) by forward3.mail.yandex.net (Yandex) with ESMTP id 6B66D56D8A6E; Tue, 25 Jan 2011 18:06:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295967999; bh=ijR62B3/RSiQEYNNxBri6o/IAgWGwRPNF8R59Cyuxak=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=Ty/RLCvol/22p5yJYPycG+HZag6jV3Y+zseNzZETkmy294RqpAUZHygyfNNG5eSza o0jopjlqQqqwduEx68sanJ2q//TGzV6goNl6gzrxB/OhjQbMn7HHrtODhRPnYbLMNH o3vXt6bCuu1Lb7NhGgOT7Zjm84HvMFaop34yC8dw= Received: from localhost (localhost.localdomain [127.0.0.1]) by web59.yandex.ru (Yandex) with ESMTP id 58E9B59803B; Tue, 25 Jan 2011 18:06:39 +0300 (MSK) Received: from [194.50.169.22] ([194.50.169.22]) by mail.yandex.ru with HTTP; Tue, 25 Jan 2011 18:06:38 +0300 From: Radomskiy Yuriy Envelope-From: yurius.r@yandex.ru To: Odhiambo Washington In-Reply-To: References: <998111295618056@web50.yandex.ru> MIME-Version: 1.0 Message-Id: <181471295967999@web59.yandex.ru> Date: Tue, 25 Jan 2011 17:06:38 +0200 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: freebsd-questions@freebsd.org Subject: Re: upgrading a dozen of servers from 7.0 to 8.1 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: Tue, 25 Jan 2011 15:06:42 -0000 Hello. Thank you and everyone who answered. I will share my experinece to the list when I walk my way throught the upgrade ) 21.01.2011, 17:13, "Odhiambo Washington" : > On Fri, Jan 21, 2011 at 4:54 PM, Radomskiy Yuriy ; wrote: > >> šHello! >> >> šI have around 15 servers running FreeBSD 7.0 across the country. >> šI would like to upgrade them to 7.3 or even 8.1 using binary updates. >> šThey are primary mail servers all running apache-2.0 + php5-5.2.10, >> šmysql-server-5.1, exim-4.69, dovecot-1.1 >> šThey are almost identical - they were identical a couple of years ago, but >> šnow they have some minor differences (soft, settings, scripts) >> šHardware is all the same. >> šAll the servers are in production. >> >> šThe steps I have to do and the questions about them i have: >> š1. update all soft to current versions (including change of config files) >> šapache - goto v2.2 >> šphp - goto v5.3 >> šmysql - stick with 5.1 >> šexim - goto 4.73 >> šdovecot - goto 1.2.16 >> šq's: >> šhow can upgrading to apache 2.2 + php5.3 be done with minimal downtime? > > portupgrade -o lang/php52 lang/php5 > > That will upgrade your php from 5.2.10 to 5.2.17. Please stick with > php-5.2.x unless you are sure php-5.3 will not break some web apps you are > running. > > upgrade php-extensions the same way. > > can i upgrade or is it better to rebuild it from the scratch (because of > >> šmajor version changes)? > > You can upgrade. Please follow the instructions from > http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt > > Just note one thing I noticed while upgrading my servers: > > s/compat7x-`uname -m`-7.2.702000.200906.1.tbz/compat7x-`uname > -m`-7.3.703000.201008.tbz/g > >> š2. do a binary upgrade of OS according to handbook >> šhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > You can do that, but I personally prefer > http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt. > I have never used freebsd-update on any system I run, but that is out of > choice, not any other reason! > >> š3. rebuil all the software again >> športupgrade -af > > If you follow > http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt, > there will not be any urgency in doing portupgrade -af. ..