Proxmox VE Kernel: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(Added 2.6.35 branch)
Line 1: Line 1:
=Introduction=
=Introduction=
Proxmox publishes three kernel branches, each one with minor feature differences. Beginning with 1.6 the 2.6.32 is the default and recommended branch. (Proxmox VE 0.9 beta till Proxmox 1.4 used 2.6.24, Proxmox 1.5 used 2.6.18).
Proxmox publishes four kernel branches, each one with minor feature differences. Beginning with 1.6 the 2.6.32 is the default and recommended branch. (Proxmox VE 0.9 beta till Proxmox 1.4 used 2.6.24, Proxmox 1.5 used 2.6.18).


A Proxmox VE cluster master can manage a mixed kernel setup. For example, you can run two nodes with 2.6.18 and two nodes with 2.6.32 and also nodes with 2.6.24. Depending on the features, some migrations are only possible between identical kernels.
A Proxmox VE cluster master can manage a mixed kernel setup. For example, you can run two nodes with 2.6.18 and two nodes with 2.6.24 and also nodes with 2.6.32 or 2.6.35. Depending on the features, some migrations are only possible between identical kernels.
2.6.18 and 2.6.24 kernel branches are using [[DRBD]] 8.3.4, 2.6.32 uses 8.3.7 (DRBD is now integrated in the Kernel).
2.6.18 and 2.6.24 kernel branches are using [[DRBD]] 8.3.4, 2.6.32 and 2.6.35 are using 8.3.7 (DRBD is now integrated in the Kernel).


For correctly effecting a kernel change, it may be necessary to '''edit''' the '''/etc/fstab''' file for the '''/boot''' mount.
For correctly effecting a kernel change, it may be necessary to '''edit''' the '''/etc/fstab''' file for the '''/boot''' mount.
Line 13: Line 13:
==How to install 2.6.18==
==How to install 2.6.18==
<pre>aptitude update
<pre>aptitude update
aptitude upgrade
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.18</pre>
aptitude install proxmox-ve-2.6.18</pre>


Line 24: Line 24:
==How to install 2.6.24==
==How to install 2.6.24==
<pre>aptitude update
<pre>aptitude update
aptitude upgrade
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.24</pre>
aptitude install proxmox-ve-2.6.24</pre>


Line 35: Line 35:
==How to install 2.6.32==
==How to install 2.6.32==
<pre>aptitude update
<pre>aptitude update
aptitude upgrade
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.32</pre>
aptitude install proxmox-ve-2.6.32</pre>
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
=Kernel 2.6.35=
*Latest KVM (KSM support)
*No OpenVZ
==How to install 2.6.35==
Note: currently only via pvetest repository (deb http://download.proxmox.com/debian lenny pvetest)
<pre>aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.35</pre>


To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.


[[Category: HOWTO]][[Category: Technology]][[Category: Installation]]
[[Category: HOWTO]][[Category: Technology]][[Category: Installation]]

Revision as of 08:48, 6 October 2010

Introduction

Proxmox publishes four kernel branches, each one with minor feature differences. Beginning with 1.6 the 2.6.32 is the default and recommended branch. (Proxmox VE 0.9 beta till Proxmox 1.4 used 2.6.24, Proxmox 1.5 used 2.6.18).

A Proxmox VE cluster master can manage a mixed kernel setup. For example, you can run two nodes with 2.6.18 and two nodes with 2.6.24 and also nodes with 2.6.32 or 2.6.35. Depending on the features, some migrations are only possible between identical kernels. 2.6.18 and 2.6.24 kernel branches are using DRBD 8.3.4, 2.6.32 and 2.6.35 are using 8.3.7 (DRBD is now integrated in the Kernel).

For correctly effecting a kernel change, it may be necessary to edit the /etc/fstab file for the /boot mount.

Kernel 2.6.18

  • Stable OpenVZ
  • Stable KVM (Note: no scsi emulation for guests, only IDE and VIRTIO)

How to install 2.6.18

aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.18

To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.

Kernel 2.6.24

  • OpenVZ
  • KVM

How to install 2.6.24

aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.24

To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.

Kernel 2.6.32

  • Latest KVM
  • Newest OpenVZ (maintained development branch)
  • Default Kernel branch since Proxmox VE 1.6

How to install 2.6.32

aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.32

To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.

Kernel 2.6.35

  • Latest KVM (KSM support)
  • No OpenVZ

How to install 2.6.35

Note: currently only via pvetest repository (deb http://download.proxmox.com/debian lenny pvetest)

aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.35

To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.