Configuring Nova-compute with KVM Hypervisor
Kernel-based virtual machine (KVM) is the most common and robust open source virtualization Hypervisor, and it is most commonly used with OpenStack. In this recipe, we will configure the Nova-compute service to use the KVM Hypervisor driver, which invokes libvirt
service commands to control KVM virtual machines on the host running the Nova-compute service.
Getting ready
Before configuring Nova-compute to use KVM, make sure that hardware-assisted virtualization is enabled, and a virtualization flag is present at /proc/cpuinfo
. Check whether amd-v
or intel-vt
is supported:
[root@compute1 ~]# grep -E 'svm|vmx' /proc/cpuinfo
If the preceding command returns 0
, make sure that virtualization is enabled at ...
Get Production Ready OpenStack - Recipes for Successful Environments now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.