So this one is pretty simple. However, I found a lot of misinformation along the way, so I figured that I would jot the proper (and most simple) process here. Symptoms: a RHEL (or variant) VM that takes a very long time to boot. On the VM console, you can see the following output while … Continue reading How to disable Cloud-Init in a RHEL Cloud Image
KVM
How to Resize a qcow2 Image and Filesystem with Virt-Resize
In this post, I am going to quickly document the process I used to grow a qcow2 disk image and increase the size of the underlying filesystem. In this instance, I ran out of disk space on my virtual disk named undercloud.qcow2. Apparently, the underlying disk image that I was using was too small for … Continue reading How to Resize a qcow2 Image and Filesystem with Virt-Resize
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
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
Enable Nested Virtualization on RHEL 7
Follow the steps shown below if you want to be able to run nested virtual machines on RHEL 7 via KVM. In this particular situation I have a physical Supermicro server that I want to use to host OpenStack. Note that my home server has Intel Xeon processors, so I first enable nested virtualization via … Continue reading Enable Nested Virtualization on RHEL 7
Cloning A Virtual Machine in KVM
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). More Information here. KVM is now native to RHEL/Centos and has replaced Xen in RHEL 5.4. What i have seen so far has been pretty interesting, but I have barely scratched the surface … Continue reading Cloning A Virtual Machine in KVM