Home / Redhat Enterprise Virtualization

Redhat Enterprise Virtualization

Linux KVM – Change libvirt VM image store path – Part 10

In KVM , VM images are stored in /var/lib/libvirt/images directory by default.  There might be the space limitation since /var filesystem lives under root-vg. In KVM virtualization, everyone would prefer to store VM images in central repository to migrate running VM from one hypervisor to another.  In that case, you need to change the default path for the libvirt images or  you need to mount …

Read More »

Linux KVM – How to add /Remove Memory to Guest on Fly ? Part 8

Memory Management on KVM Guest

If application/DB is demanding more  Memory , you need to adjust the VM’s memory limit accordingly. KVM supports dynamic memory addition when you have configured the VM’s with Maximum memory limits. There are two parts in the VM configuration. 1. Maximum Limits 2. current allocation. At any point of time, you can’t exceed the maximum memory  limit using “virsh setmem” command on …

Read More »

How to clone a KVM virtual Machines and reset the VM – Part 6

virt-sysprep - VM changes

If you want to build several VMs with the same OS and configuration, “CLONE ” is the best method to save the time instead of installing operating system on each virtual machines. “virt-clone” is useful binary tool to clone the virtual machines with unique ID and  MAC address (When you clone from existing virtual machine). To perform the clone, virtual machine …

Read More »

Deploy KVM instance using Virt-Manger (VMM)- GUI – Part 5

Specify the ISO image location - KVM guest

Virt-Manager is powerful GUI tool to manage the multiple KVM hosts and it’s associated VM’s. It support’s XEN virtualization too. It can be installed on KVM hypervisor hosts or on centralized management host to manage the multiple hyper-visors from one place.  Using virt-manager,  you can start, pause(suspend), shutdown VMs, display VM details (Ex: VCPUs, memory, disk space), add devices to VMs, clone …

Read More »

Launch the first KVM instance using CLI – Part 4

KVM virt-install Redhat

Provisioning new VM’s (guests) using “virt-install” binary is straight forward. virt-install  can be run in interactive or non-interactive mode. This command have more options but easy to remember since those are very meaningful. This article is going to demonstrate the VM creation using virt-install tool in non-interactive mode. You can also use GUI (VMM – Virtual Machine Manager ) to …

Read More »

RHEL 7.2 – Configuring KVM hosts – Part 3

Redhat RHEL 7 - Prepare the KVM hosts

KVM hosts needs to be prepared to store  and provide the network access to the guest machines. In last article ,we have seen KVM package installation and VMM(virtual Machine Manager) package installation. Once you have installed the packages, you need to create the filesystem to store the virtual machines images (/var/lib/libvirt/images which is the default storage path). If you are planning …

Read More »

Redhat Enterprise Linux – KVM Installation Part 2

This article will demonstrates that how to install the KVM (kernel-based virtual Machines) packages on Redhat enterprise Linux 7.2 . We must have  “yum repository” to install the KVM packages and it’s dependencies. There are many  GUI tools available to manage the KVM.  VMM (Virtual Machine Manager) is famous GUI tool which was developed by Redhat. The following table provides …

Read More »

How to add ISCSI Storage to RHEV ?

To store the virtual machines , you need centralized storage like SAN or NFS file server. Not everyone in world can afford the SAN cost since it requires lot hardwares like fiber channel cables, SFP  connectors, SAN switches and Storage. But iSCSI storage can be easily setup using the existing system network with commodity hardware (X86 servers with DAS ). …

Read More »