Proxmox VE Kernel: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(Added 2.6.35 branch)
(moved 2.6.35 to pve stable repository, small updates to 2.6.18)
Line 3: Line 3:


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.
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).
2.6.18 and 2.6.24 kernel branches are using [[DRBD]] 8.3.4, 2.6.32 is using 8.3.7 (DRBD is now integrated in the Kernel), 2.6.35 is using 8.3.8.


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 9: Line 9:
=Kernel 2.6.18=
=Kernel 2.6.18=
*Stable OpenVZ
*Stable OpenVZ
*Stable KVM (Note: no scsi emulation for guests, only IDE and VIRTIO)
*Stable KVM


==How to install 2.6.18==
==How to install 2.6.18==
Line 45: Line 45:


==How to install 2.6.35==
==How to install 2.6.35==
Note: currently only via pvetest repository (deb http://download.proxmox.com/debian lenny pvetest)


<pre>aptitude update
<pre>aptitude update

Revision as of 13:30, 18 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 is using 8.3.7 (DRBD is now integrated in the Kernel), 2.6.35 is using 8.3.8.

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

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

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.