Difference between revisions of "Upgrade to Wheezy"
(→Upgrade Debian Squeeze to Wheezy) |
|||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | ===Note=== | ||
+ | |||
+ | 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 more information on [[Debian Upgrades]]. | ||
+ | |||
+ | This upgrade should only be performed if you installed from, or already ran the [[Upgrade to Squeeze]] (Debian 6). | ||
+ | |||
== Upgrade Debian Squeeze to Wheezy== | == Upgrade Debian Squeeze to Wheezy== | ||
− | < | + | <b style="color: #f00;">Since Wheezy (7.0) will uninstall Postgres 8.3 you need to upgrade the database first, see [[Database Update 9.0]].</b> |
− | + | <ol><li>Make sure your existing CanIt installation is up-to-date: | |
− | < | ||
:<tt>upgrade-canit-appliance</tt> | :<tt>upgrade-canit-appliance</tt> | ||
<li>Now upgrade the OS to Wheezy: | <li>Now upgrade the OS to Wheezy: | ||
Line 8: | Line 13: | ||
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). | 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). | ||
<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: | <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> | + | :<tt>apt-get install firmware-linux-free firmware-linux-nonfree firmware-bnx2 firmware-bnx2x</tt> |
− | + | That's all one long line in case it got line-wrapped. Also, the term "non-free" refers to Debian's policy on separating proprietary code from [http://www.gnu.org/philosophy/free-sw.html free software]. There is no financial cost associated with the "non-free" firmware. | |
<br>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. | <br>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. | ||
<li>Reboot the machine. | <li>Reboot the machine. | ||
− | < | + | :<tt>reboot</tt> |
− | :<tt>tail -f /var/log/mail.log or wherever they are to see if working</tt> | + | To check if mail is flowing use the following: |
+ | :<tt>tail -f /var/log/mail-daily/current.log or wherever they are to see if working</tt> | ||
</ol> | </ol> | ||
---- | ---- | ||
− | NOTE: The above commands are for a single machine. If you are upgrading a cluster, then you should | + | NOTE: The above commands are for a single machine. If you are upgrading a cluster, then you should run each on all machines before moving onto the next step, starting with the DataBase machine. Also modify the steps as follows: |
+ | |||
+ | For steps 1: | ||
<ol style="list-style-type:lower-roman"> | <ol style="list-style-type:lower-roman"> | ||
− | <li> | + | <li>First download the packages before installing them to minimize downtime by running the command with the following flag after it: |
+ | :<tt>--download-only</tt> | ||
+ | eg: | ||
+ | :<tt>upgrade-canit-appliance --download-only</tt> | ||
+ | <li>Stop CanIt on all cluster members: | ||
:<tt>/etc/init.d/canit-system stop-gracefully</tt> | :<tt>/etc/init.d/canit-system stop-gracefully</tt> | ||
− | <li>After the command | + | <li>Run the actual command listed for that step above. |
+ | <li>After the command above, run: | ||
:<tt>/etc/init.d/canit-system start</tt> | :<tt>/etc/init.d/canit-system start</tt> | ||
− | |||
</ol> | </ol> | ||
+ | Repeat for step 2 and 3. | ||
+ | |||
+ | Then run steps 4. | ||
+ | |||
+ | ==Upgrade to Jessie== | ||
+ | |||
+ | Wheezy is now also out of date. There is another wiki discussing the [[Upgrade to Jessie]]. <b>The upgrade to Wheezy MUST be done before you can upgrade to Jessie!</b> | ||
+ | |||
+ | Wheezy will still receive security updates from Debian until May 2018 and will get new CanIt packages for years after that. You are under no immediate need to upgrade at this time, however some bugs do exist in Wheezy which have been addressed in Jessie, so it would be wise to upgrade when it is convenient. | ||
+ | |||
<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]] |
Latest revision as of 09:53, 6 July 2018
Note
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 more information on Debian Upgrades.
This upgrade should only be performed if you installed from, or already ran the Upgrade to Squeeze (Debian 6).
Upgrade Debian Squeeze to Wheezy
Since Wheezy (7.0) will uninstall Postgres 8.3 you need to upgrade the database first, see Database Update 9.0.
- Make sure your existing CanIt installation is up-to-date:
- upgrade-canit-appliance
- Now upgrade the OS to Wheezy:
- upgrade-canit-appliance wheezy
- 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
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. - Reboot the machine.
- reboot
- 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 run each on all machines before moving onto the next step, starting with the DataBase machine. Also modify the steps as follows:
For steps 1:
- First download the packages before installing them to minimize downtime by running the command with the following flag after it:
- --download-only
- upgrade-canit-appliance --download-only
- Stop CanIt on all cluster members:
- /etc/init.d/canit-system stop-gracefully
- Run the actual command listed for that step above.
- After the command above, run:
- /etc/init.d/canit-system start
Repeat for step 2 and 3.
Then run steps 4.
Upgrade to Jessie
Wheezy is now also out of date. There is another wiki discussing the Upgrade to Jessie. The upgrade to Wheezy MUST be done before you can upgrade to Jessie!
Wheezy will still receive security updates from Debian until May 2018 and will get new CanIt packages for years after that. You are under no immediate need to upgrade at this time, however some bugs do exist in Wheezy which have been addressed in Jessie, so it would be wise to upgrade when it is convenient.