OpenStack Compute (Nova)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

3.8 KiB

Hypervisors

hypervisor-basics hypervisor-kvm hypervisor-qemu hypervisor-xen-libvirt hypervisor-lxc hypervisor-vmware hypervisor-hyper-v hypervisor-virtuozzo hypervisor-powervm hypervisor-zvm hypervisor-ironic

OpenStack Compute supports many hypervisors, which might make it difficult for you to choose one. Most installations use only one hypervisor. However, you can use ComputeFilter and ImagePropertiesFilter to schedule different hypervisors within the same installation. The following links help you choose a hypervisor. See /user/support-matrix for a detailed list of features and support across the hypervisors.

The following hypervisors are supported:

  • KVM - Kernel-based Virtual Machine. The virtual disk formats that it supports is inherited from QEMU since it uses a modified QEMU program to launch the virtual machine. The supported formats include raw images, the qcow2, and VMware formats.
  • LXC - Linux Containers (through libvirt), used to run Linux-based virtual machines.
  • QEMU - Quick EMUlator, generally only used for development purposes.
  • VMware vSphere 5.1.0 and newer - Runs VMware-based Linux and Windows images through a connection with a vCenter server.
  • Xen (using libvirt) - Xen Project Hypervisor using libvirt as management interface into nova-compute to run Linux, Windows, FreeBSD and NetBSD virtual machines.
  • Hyper-V - Server virtualization with Microsoft Hyper-V, use to run Windows, Linux, and FreeBSD virtual machines. Runs nova-compute natively on the Windows virtualization platform.
  • Virtuozzo 7.0.0 and newer - OS Containers and Kernel-based Virtual Machines supported via libvirt virt_type=parallels. The supported formats include ploop and qcow2 images.
  • PowerVM - Server virtualization with IBM PowerVM for AIX, IBM i, and Linux workloads on the Power Systems platform.
  • zVM - Server virtualization on z Systems and IBM LinuxONE, it can run Linux, z/OS and more.
  • UML - User-Mode Linux is a safe, secure way of running Linux versions and Linux processes.
  • Ironic - OpenStack project which provisions bare metal (as opposed to virtual) machines.

Nova supports hypervisors via virt drivers. Nova has the following in tree virt drivers:

  • :oslo.configcompute_driver = libvirt.LibvirtDriver

    This driver runs on Linux and supports multiple hypervisor backends, which can be configured via the :oslo.configlibvirt.virt_type config option.

  • :oslo.configcompute_driver = ironic.IronicDriver
  • :oslo.configcompute_driver = vmwareapi.VMwareVCDriver
  • :oslo.configcompute_driver = hyperv.HyperVDriver
  • :oslo.configcompute_driver = powervm.PowerVMDriver
  • :oslo.configcompute_driver = zvm.ZVMDriver
  • :oslo.configcompute_driver = fake.FakeDriver

    This driver does not spawn any virtual machines and therefore should only be used during testing.