Other articles

  1. KVM - Guest Creation and Automated Installation

    I wrote a script for creating CentOS, Fedora, Ubuntu, and Debian KVM guests. The guest OSes are installed automatically using kickstart or preseed.

    • UPDATE - 2013-05-06 - Added Ubuntu 12.04
    • UPDATE - 2013-08-08 - Added Debian 7.1
    • UPDATE - 2013-08-16 - Added Fedora 19, removed Fedora 18

    Copy the create-vm.sh scrip to hypervisor …

    read more
  2. KVM - Clone Guests from Template Image

    To clone a KVM VM you need

    • a definition file (RAM size, number of CPUs, etc...)
    • and a template disk image (with installed OS)

    Creating Definition File And Template Image

    The definition file is just a libvirt xml file. The template image is just a VM disk image. This is …

    read more
  3. KVM - Move Guest to Another Host

    Say you got a new KVM hypervisor (kvm02) and want to move a VM to it from an older host (kvm01). You are OK to shut the VM down while the VM is being transfered (this is not a live migration).

    This is what you do:

    On the Old Host …

    read more
  4. KVM Hypervisor on CentOS 6

    In this blog we will learn how to set up a KVM hypervisor.

    The linux kernel itself is the hypervisor. All we need is to install some user space tools for managing VMs.

    # yum install kvm libvirt python-virtinst qemu-kvm bridge-utils

    Then we need to start the libvirt daemon

    # chkconfig libvirtd …
    read more