Total Pageviews

Saturday, October 27, 2012

Getting started with oVirt - part 1

Many people will know now that oVirt is an open source platform for deploying and managing intel based virtual machines.   To quote the oVirt website (  :

The oVirt Project is an open virtualization project for anyone who cares about Linux-based KVM virtualization. Providing a feature-rich server virtualization management system with advanced capabilities for hosts and guests, including high availability, live migration, storage management, system scheduler, and more.
 Let's get it installed and running to see what you can do.

The configuration i'm looking to use is three (3) x86_64 machines, each with 4Gb memory, VT-x enabled and 100Gb of local disk.  Additionally I have a NFS server that will provide shared storage.

Starting at the Get oVirt link you can see that oVirt consists of two (2) types of server.

  1. The engine, a jboss based web application deployed on Fedora 17 and
  2. The oVirt node.   In this case i'm deploying the oVirt node image as the hypervisor on the compute nodes.
Starting with the engine you firstly need to get F17 up and running, this shouldn't be too difficult.  I recommend you perform a 'yum upgrade' before proceeding with the engine install.  In my case I also changed the systemd default from graphical mode to multi-user as I didn't feel the need for a GUI on the engine host.

Things to note:

  1. Your DNS needs to work !   
  2. Get your engine and the nodes into your DNS.  In my case I have,, and
Using the instructions at install the engine from the supplied rpms.  Once the rpms have all been installed then execute the engine-setup and answer the questions.

This is the configuration I used :

oVirt Engine will be installed using the following configuration:
http-port:                     80
https-port:                    443
auth-pass:                     ********
default-dc-type:               NFS
db-remote-install:             local
db-local-pass:                 ********
nfs-mp:                        /srv/iso
iso-domain-name:               ISO
config-nfs:                    yes
override-iptables:             yes
Proceed with the configuration listed above? (yes|no): yes

Once the configuration script has executed you can go to the portal URL  and login using the credentials you specified above.

Now it's necessary to build your oVirt node images so that they can be added into a cluster within the engine.   Download the ovirt node image from, burn it to a CD and boot your two hypervisor nodes with it.  

I'll cover that in the next part.