In this post I will document the steps that I am using to create a fully virtualized OSP 10 environment in my lab. The undercloud node is a VM, as well as the overcloud nodes. We will configure libvirt so that ironic has the ability to boot and shutdown the VMs on the underlying … Continue reading How to Manage Libvirt VMs via OpenStack Ironic (OSP10)
libvirt
Configure RHEL7/Centos 7 as a Virtualization Host
This is a fresh install of RHEL 7.5 First install the packages as shown below. yum install qemu-kvm libvirt Now install the additional recommened virtualization packages # yum install virt-install libvirt-python virt-manager virt-install libvirt-client Now restart libvirtd # systemctl restart libvirtd Now you should be able to launch virt-manager from your remote machine and … Continue reading Configure RHEL7/Centos 7 as a Virtualization Host
Managing RHEV VMs Via the Virsh CLI
Out of the box you are not going to be able to run virsh commands on the cli as root. Libvirt, Virsh, and KVM are just not that tightly integrated in RHEV. You can however, follow the procedure below, and create a user and password to use for authentication. # saslpasswd2 -a libvirt fatminPassword:Again (for … Continue reading Managing RHEV VMs Via the Virsh CLI
Mapping Libvirt VM Names with OpenStack Instance Names
Within OpenStack, each virtual machine instance running on a Compute nodes also a virtual machine running on a libvirt node. If you ssh to a Compute node and run the command below you can get the names of each VM running or registered on this Compute node. # virsh list --all Id Name State ---------------------------------------------------- 2 instance-000000f0 … Continue reading Mapping Libvirt VM Names with OpenStack Instance Names
Numa CPU Pinning with KVM/Virsh
According to Wikipedia, Numa is -- "a computer memory design used in multiprocessing, where the memory access time depends on the memory location relative to the processor. Under NUMA, a processor can access its own local memory faster than non-local memory (memory local to another processor or memory shared between processors). The benefits of NUMA are … Continue reading Numa CPU Pinning with KVM/Virsh