Installing oVirt 3.4 (Hosted Engine)

Posted on by 0 comment

There are many free virtualization technologies out there such as:

– VMware ESXi / VMware Player
– VirtualBox
– KVM / QEMU (Supports Live Migration)

However, these free versions offer no enterprise features and only allow you to manage a single server. This means no cluster management, vMotion or HA.

This moves us on to oVirt, which is the free upstream project of RHEV. oVirt supports many features such as vMotion and HA. The hosted engine allows you to run the engine as a virtual machine on top of the hosts it manages, this means you now utilize HA for the engine itself.

Installation Requirements

Please Note: Fedora 20 / CentOS 7 / RHEL 7 does not work with the hosted engine in oVirt 3.4. If you wish to use these please follow my guide: Installing oVirt 3.5 on CentOS 7 (Hosted Engine)

Prerequisites

Operating System

CentOS 6.5 or Fedora 19 / 20

For the oVirt host install, I am going to use Fedora 20 and for the oVirt hosted engine install I am going to use Fedora 19. Don’t worry though I will include installing with CentOS 6.5 as well.

DNS

Ensure you have set up hostnames for your host and engine. If you do not have a DNS server configured and you are only testing oVirt on a single server, you can use /etc/hosts instead. I have the following:

Engine: Hostname: engine.xrsa.net, IP Address: 10.16.1.99/24
Host: 
Hostname: ovirt01.xrsa.net, IP Address: 10.16.1.100/24

NFS

Ensure you have set up NFS mount points for your engine and virtual machines. If you do not have a shared NFS server and you are only testing oVirt, you can configure NFS locally on the host instead.

Verify you can see the correct mount points.

Installation

Lets start by obtaining all the required repositories.

Install the ovirt-engine-setup itself, this will pull in all the required packages such as Qemu, Vdsm, Libvirt, bridge-utils, etc…

We will need an ISO for our hosted engine installation. I am going to pick Fedora 19 but you can choose CentOS if you want.

I had issues with Fedora 20 and the wizard creating the bridge and not updating /etc/resolv.conf properly, causing the installation to fail half way through. It’s just easier if you create the bridge manually and the wizard will go smoothly first time.

If you are using CentOS you can skip this step.

Now all the prerequisites are in place, go through the hosted-engine wizard.

The hosted-engine wizard will give you VNC details so you can connect to your hosted engine virtual machine and install Fedora 19 or CentOS.

Allow the hosted-engine wizard to reboot the hosted engine after installing the OS, it will give you another set of VNC details to connect to if you need it. However, if you configured networking during the install you should be able to SSH instead.

Once you have connected to your hosted engine, download the repositories and run through the ovirt-engine wizard. Please make sure the passwords match up with the password set in the hosted-engine wizard.

Once finished go back to the hosted-engine wizard and finish off the installation. It will ask you one final time for the hosted engine to be shutdown, wait a few minutes and it will come back up automatically.

When it is back up you can simply navigate to https://engine.xrsa.net and set up your NFS Data Domain, attach your ISO_Domain to your cluster and start creating virtual machines. You can find out how to do this here: oVirt Documentation

Category: Virtualization

Leave a Reply

Your email address will not be published. Required fields are marked *