KVM

Supported configurations

  • CentOS 7 with Abiquo AIM agent installed
    • Last version installed for use in production was CentOS 7.2, QEMU 1.5.3, virsh 1.2.17

Installation

  1. Download and install the latest version of the CentOS-7 64bit
  2. Install the corresponding Abiquo release package. For example, for Abiquo 4.6:

    yum localinstall http://mirror.abiquo.com/el7/4.6/os/x86_64/abiquo-release-ee-4.6.0-4345.el7.noarch.rpm
  3. Install required packages:

    yum install abiquo-aim kvm nfs-utils ntpd sos tcpdump abiquo-sosreport-plugins wget

Configuration

  1. Disable SELinux. Edit /etc/selinux/config and set SELINUX to disabled .
  2. Configure libvirt guestsEdit /etc/sysconfig/libvirt-guests and set ON_SHUTDOWN to shutdown .

  3. Enable the abiquo-aim and rpcbind services:

    chkconfig abiquo-aim on
    chkconfig rpcbind on
    
  4. Enable traffic to port 8889 for Abiquo Remote Services to reach the AIM agent on the host:

    firewall-cmd --zone=public --add-port=8889/tcp --permanent

    Also configure access to VNC ports (59XX) as required.

  5. Create this link on the KVM node:

     ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-system-x86_64
  6. Configure network interfaces.

  7. Reboot the server for all the changes to be applied.

  8. When running KVM on a machine without virtualization extensions, add the kvm.fullVirt property to abiquo.properties on Remote Services and/or Monolithic servers and restart the Abiquo Tomcat service.

    abiquo.virtualfactory.kvm.fullVirt = false
  9. If KVM is virtualized on a ESXi 5.x host, remove UUID lines from interface config files, and restart network:

    sed -i "/UUID/d" /etc/sysconfig/network-scripts/ifcfg-eth*
    service network restart
  10. Configure the datastores:
    When you add the hypervisor to the platform, it will detect and list the datastores
    • Do not use the Abiquo Appliance Library directory as datastore because this will cause performance problems
    • Do not use the root directory on the system disk
    • The default datastore on the system disk is /var/lib/virt. To configure this datastore, set the root path as / and the directory as /var/lib/virt


General Features

FeatureDescription
VM Live Migration

(tick) Abiquo supports live migration of virtual machines:

Storage Live Migration
  • Abiquo only detects storage migration if there is also a host migration
    • If you migrate:

      • (error) ONLY a disk from datastoreA to datastoreB, Abiquo will NOT detect the change and the information on the datastore and in the database will not be consistent

      • (tick) the whole VM from hostA to hostB, Abiquo WILL detect the change and will update the hypervisor information

      • (tick) the whole VM from hostA to hostB and the disk from datastore A to datastore B, Abiquo WILL detect the change and update the hypervisor information

    • To change the disk only:
      1. Migrate the disk from datastoreA to datastoreB
      2. Migrate the VM from hostA to hostB
      3. Migrate the VM from hostB to hostA
Templates

(tick) Disk from device
(tick) VMDK fixed (star) default format
(tick) QCOW2_FLAT
(tick) QCOW2_SPARSE

Remote Access(tick) VNC - can be enabled/disabled at any time
Snapshots

KVM supports snapshots, for example:

[root@bc2blade3 ~]# virsh snapshot-create ABQ_02920f49-a23e-4d60-9c0a-176c66ed0278
Domain snapshot 1399540821 created

Snapshots could be used to create a backup integration with Abiquo.

Network controllers
  • E1000
  • VIRTIO

Storage Features

FeatureDescription
Storage

(tick) iSCSI
(tick) NFS
(tick) Hard disks on hypervisor datastore 

Disk controllers
  • SCSI
  • IDE
  • VIRTIO 
System disksAll virtual machine system disks
Disk Resize

(tick) System disks
(tick) Hard disks on hypervisor datastore

Persistent Virtual
Machines

By default persistent virtual machine disks are mounted on SCSI controllers

Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved