Difference between revisions of "Upgrade Lenny"

From Roaring Penguin
Jump to: navigation, search
(Replaced content with "Moved to [https://www.roaringpenguin.com/wiki/index.php/Upgrade_to_Squeeze Upgrade to Squeeze] to fit the naming convention of other quides.")
Line 1: Line 1:
Moved to [https://www.roaringpenguin.com/wiki/index.php/Upgrade_to_Squeeze Upgrade to Squeeze] to fit the naming convention of other quides.
Debian upgrades must be performed one version change at a time. If you don't know which version you are on, or which version is next, you can find information on the entire upgrade path [https://www.roaringpenguin.com/wiki/index.php/Debian_Upgrades here].
Lenny is no longer supported by Roaring Penguin. We recommend that you upgrade as soon as possible if you are still running Lenny.
As a result, running the first step of the upgrade below will not allow you to upgrade a Lenny machine beyond 10.1.5. All CanIt machines in a cluster MUST be running the same version of CanIt. While they can be running any operating system, if you have another cluster member with a newer version of Debian, you will not be able to upgrade a Lenny member. It will need to be removed from the cluster, upgraded, and added back. Alternatively, it is highly recommended that you simply install a fresh machine using our ISO image with the current version of Debian.
==Upgrade Debian Lenny to Squeeze==
If none of the above applies - your entire cluster consists of only Lenny machines and you are not willing/able to rebuild the cluster using our fresh ISOs - then the following instructions will allow you to upgrade Lenny to Squeeze (also no longer supported by Debian, but still getting CanIt updates).
We recommend doing the upgrade during Roaring Penguin's office hours (Mon-Fri, 9:00-17:00 EST) in case you run into trouble.
<li>Make sure your existing CanIt installation is up-to-date:
<li>Now upgrade the OS to Squeeze:
:<tt>upgrade-canit-appliance squeeze</tt>
Then you'll see messages scroll by, as the machine downloads, unpacks,and re-starts assorted services. (This all only delays mail during there-start phase).
<li>Since Debian has changed the way it distributes firmware, you may need additional packages.  Even if you don't need them, installing them won't hurt so we recommend running:
:<tt>apt-get install firmware-linux-free firmware-linux-nonfree firmware-bnx2 firmware-bnx2x</tt>
(That's all one long line)
<br>If, after running this command, you still receive warnings about  "Possible missing firmware", please contact Roaring Penguin support with the exact error message.
<li>Reboot the machine.
<li>After the machine boots run the following to check if mail is flowing.
:<tt>tail -f /var/log/mail.log or wherever they are to see if working</tt>
NOTE: The above commands are for a single machine.  If you are upgrading a cluster, then you should modify the steps as follows, starting with the DataBase machine:
<ol style="list-style-type:lower-roman">
<li>Before every command above, run:
:<tt>/etc/init.d/canit-system stop-gracefully</tt>
<li>After the command in step (4), run:
:<tt>/etc/init.d/canit-system start</tt>
<li>Also, all commands should be run in parallel.  That is, run (i) and then (1) on all machines, then (ii) and (2) on all machines, and so on.
==Upgrade to Wheezy==
Squeeze is now also out of date. [https://www.roaringpenguin.com/wiki/index.php/Upgrade_to_Wheezy Here are instructions for the next upgrade] <b>The upgrade to Squeeze MUST be done before you can upgrade to Wheezy!</b>
CanIt support for Lenny was only dropped as of CanIt version 10.1.5, and it is likely that we will continue to support Squeeze for a couple years after that release. However, Debian stopped providing security patches for Squeeze in February 2016, so despite the fact that CanIt will continue to get updated, it would be wise to upgrade whenever possible.  
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>

Latest revision as of 14:06, 16 August 2017

Moved to Upgrade to Squeeze to fit the naming convention of other quides.