Difference between revisions of "Upgrade to Wheezy"

From Roaring Penguin
Jump to: navigation, search
(Upgrade Debian Squeeze to Wheezy)
(Upgrade Debian Squeeze to Wheezy)
Line 24: Line 24:
 
<li>Also, all commands should be run in parallel.  That is, run (i) and then (1) on all machines, then (i) and (2) on all machines, and so on, finishing with (ii).
 
<li>Also, all commands should be run in parallel.  That is, run (i) and then (1) on all machines, then (i) and (2) on all machines, and so on, finishing with (ii).
 
</ol>
 
</ol>
 +
 +
==Upgrade to Jessie==
 +
 +
Wheezy is now also out of date. [https://www.roaringpenguin.com/wiki/index.php/Upgrade_to_Jessie Here are instructions for the next upgrade] <b>The upgrade to Wheezy MUST be done before you can upgrade to Jessie!</b>
 +
 +
More on Debian upgrades [https://www.roaringpenguin.com/wiki/index.php/Debian_Upgrades here].
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
[[category:All]][[category:Upgrade]]
 
[[category:All]][[category:Upgrade]]

Revision as of 13:17, 20 July 2017

Upgrade Debian Squeeze to Wheezy

  1. Since Wheezy (7.0) will uninstall Postgres 8.3 you need to upgrade the database first, see DB upgrade.
    Make sure your existing CanIt installation is up-to-date:
    upgrade-canit-appliance
  2. Now upgrade the OS to Wheezy:
    upgrade-canit-appliance wheezy
    Then you'll see messages scroll by, as the machine downloads, unpacks, and re-starts assorted services. (This all only delays mail during the re-start phase).
  3. 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:
    -apt-get install firmware-linux-free firmware-linux-nonfree firmware-bnx2 firmware-bnx2x
    (That's all one long line in case it got line-wrapped by a mail reader.)
    If, after running this command, you still receive warnings about "Possible missing firmware", please reply with the exact error message. You can check for unusual modules by perusing the output of lsmod.
  4. Reboot the machine.
    To check if mail is flowing use the following:
    tail -f /var/log/mail-daily/current.log or wherever they are to see if working

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:

  1. Stop CanIt on all cluster members before each command:
    /etc/init.d/canit-system stop-gracefully
  2. After the command in step (4) above, run:
    /etc/init.d/canit-system start
  3. Also, all commands should be run in parallel. That is, run (i) and then (1) on all machines, then (i) and (2) on all machines, and so on, finishing with (ii).

Upgrade to Jessie

Wheezy is now also out of date. Here are instructions for the next upgrade The upgrade to Wheezy MUST be done before you can upgrade to Jessie!

More on Debian upgrades here.