Proxmox VE Kernel: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
m (updated vzdump package (allow to specifiy ionice priority 8, which uses ionice 'idle' sheduling class))
(updated for 1.9)
Line 1: Line 1:
=Introduction=
=Introduction=
Proxmox VE supports currently 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 VE supports currently three kernel branches, each one with minor feature differences. Beginning with 1.9 the 2.6.32 is the default and highly 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.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.32 and also nodes with 2.6.35. Depending on the features, some migrations are only possible between identical kernels.
Line 7: Line 7:


=Kernel 2.6.18=
=Kernel 2.6.18=
*Stable OpenVZ
*Old Stable OpenVZ
*Stable KVM
*Old Stable KVM


==How to install 2.6.18==
==How to install 2.6.18==
Line 47: Line 47:
=Kernel 2.6.32=
=Kernel 2.6.32=
*Latest KVM
*Latest KVM
*Newest OpenVZ (maintained development branch)
*Stable OpenVZ
*Default Kernel branch since Proxmox VE 1.6
*Default Kernel branch since Proxmox VE 1.6
==How to install 2.6.32==
==How to install 2.6.32==
Line 58: Line 58:
  proxmox-ve-2.6.32:~# pveversion -v
  proxmox-ve-2.6.32:~# pveversion -v
   
   
  pve-manager: 1.8-17 (pve-manager/1.8/5948)
  pve-manager: 1.8-23 (pve-manager/1.8/6533)
  running kernel: 2.6.32-4-pve
  running kernel: 2.6.32-6-pve
  proxmox-ve-2.6.32: 1.8-33
  proxmox-ve-2.6.32: 1.8-42
  pve-kernel-2.6.32-4-pve: 2.6.32-33
  pve-kernel-2.6.32-6-pve: 2.6.32-42
  qemu-server: 1.1-30
  qemu-server: 1.1-32
  pve-firmware: 1.0-11
  pve-firmware: 1.0-13
  libpve-storage-perl: 1.0-17
  libpve-storage-perl: 1.0-19
  vncterm: 0.9-2
  vncterm: 0.9-2
  vzctl: 3.0.26-1pve4
  vzctl: 3.0.28-1pve5
  vzdump: 1.2-12
  vzdump: 1.2-15
  vzprocps: 2.0.11-2
  vzprocps: 2.0.11-2
  vzquota: 3.0.11-1
  vzquota: 3.0.11-1
  pve-qemu-kvm: 0.14.0-3
  pve-qemu-kvm: 0.15.0-1
  ksm-control-daemon: 1.0-5
  ksm-control-daemon: 1.0-6


=Kernel 2.6.35=
=Kernel 2.6.35=
*Latest KVM (KSM support)
*Latest KVM
*No OpenVZ
*No OpenVZ



Revision as of 07:49, 13 September 2011

Introduction

Proxmox VE supports currently three kernel branches, each one with minor feature differences. Beginning with 1.9 the 2.6.32 is the default and highly 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.35. Depending on the features, some migrations are only possible between identical kernels.

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

Kernel 2.6.18

  • Old Stable OpenVZ
  • Old 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.

proxmox-ve-2.6.18:~# pveversion -v

pve-manager: 1.8-17 (pve-manager/1.8/5948)
running kernel: 2.6.18-6-pve
proxmox-ve-2.6.18: 1.8-15
pve-kernel-2.6.18-6-pve: 2.6.18-15
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.26-1pve4
vzdump: 1.2-12
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-15

Kernel 2.6.24 (outdated)

Note: not compatible to the latest vzctl 3.0.26 (missing vzeventd), => you need to switch to a newer branch

  • 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
  • Stable OpenVZ
  • 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.

proxmox-ve-2.6.32:~# pveversion -v

pve-manager: 1.8-23 (pve-manager/1.8/6533)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.8-42
pve-kernel-2.6.32-6-pve: 2.6.32-42
qemu-server: 1.1-32
pve-firmware: 1.0-13
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.28-1pve5
vzdump: 1.2-15
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6

Kernel 2.6.35

  • Latest KVM
  • 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.

proxmox-ve-2.6.35:~# pveversion -v

pve-manager: 1.8-17 (pve-manager/1.8/5948)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-11
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.26-1pve4
vzdump: 1.2-12
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-3
ksm-control-daemon: 1.0-5