Loadbalancer.org Enterprise VA with oVirt(RHEV) 4.1

How-Tos Published on 3 mins Last updated

I’ve had a fruitful weekend getting up to speed with oVirt the awesome virtualization platform founded by Red Hat. It’s been great fun getting to grips with it’s features making me quite jealous as I’m normally a Libvirt/KVM user, so seeing all the pretty and useful features available in this offering has been awe inspiring…

I took a look at it a few years ago and found it hard to get to grips with at first. This time however, I’ve not had that difficulty which has made it a joy to work with.

As always while geeking out I like to think how I might use this time to help Loadbalancer.org users. In this case I decided some quick concise instructions on how I uploaded the Loadbalancer.org appliance through the oVirt manager was in order because while it’s not difficult, it’s always nice to have a simple guide to follow.

So let's get started. First you will need to download the KVM version of the appliance as KVM is what’s used underneath oVirt. Assuming you’ve downloaded it already, extract it on your workstation and locate the “Loadbalancer.org_Enterprise_VA-disk1.qcow2” file ready to upload via the oVirt Virtualization Manager.

  1. Log into the oVirt Virtualization Manager.
  2. On the left hand side click “Expand All” then Storage >
  3. Click “Disks” on the bottom pane then “Upload > Start”.
  4. Click “”Choose File” and select the Qcow file on your local filesystem.
  5. Set the size to “8” GB, alias to an appropriate name like “LB1” and then press “OK”, expect to wait a while until completes.
  6. *Repeat steps 4 and 5 to upload the disk again for the slave appliance but using a different name such as “LB2”.

*Note: You could instead upload it just once and create a template to deploy it multiple times, see below.

Once you’ve uploaded the master and slave disk images, the next stage is to create the Virtual Machine(s).

  1. Click “System” on the left hand side and select the “Virtual Machines” tab.
  2. Click “New VM” to open the new virtual machine window.
  3. Select the Cluster then the template(it’s probably best to select the default “Blank” template)
  4. Next set the “Operating System” to “Linux”, select the “Instance Type” and then set the “Optimized for” option to “Server”.
  5. Set the Name and description as required.
  6. Attach the disk “LB1” that we uploaded earlier, and then connect 1-4 NIC’s before clicking “OK”.

oVirt-LB4

And that’s it! No special config needed as the KVM version of the appliance already has all the modules required to work in a KVM environment. The one thing I did notice that didn’t work at the time of writing was the “shutdown” option. You will need to shutdown and restart via the Loadbalancer WebUI or log in via the linux console. Alternatively, you can install the oVirt-guest-agent to resolve that problem as well as add better integration by using the following commands:

yum install https://dl.fedoraproject.org/pub/epel/6/x86_64/ovirt-guest-agent-1.0.12-4.el6.noarch.rpm

Followed by:

service ovirt-guest-agent start
chkconfig ovirt-guest-agent on

oVirt-LB2

Making a Template:

You can make a template of the image to allow easy deployment, this is especially useful if you’ve purchased a site license and want to spin up multiple load balancer’s quickly for your customers.

  1. Select the VM we created earlier and click the “Make Template” button.
  2. Set the name such as “LB.Org-Template” and any other settings just don’t change the disk “Format” then click “OK”. This will take a while.

oVirt-LB3

Once the process of making the template has finished, you’re free to use the existing VM again and deploy fresh ones using the template we’ve created.

oVirt-LB5

To summarise, the appliance works quite nicely in a oVirt environment and should work just as well with a full Red Hat’s Enterprise Virtualization environment (RHEV)!

Feel free to try it and comment below should you get any problems or just would like to provide some input.

Further Information:

oVirt - http://www.zdnet.com/article/how-much-longer-can-red-hats-ovirt-remain-covert/

To download a 30 day free trial of the Loadbalancer.org Enteprise VA MAX, visit Loadbalancer.org

We’re here to help! We offer 24/7 premium support during our free trial too - so if you have any queries whilst you’re getting started, just contact us at support@loadbalancer.org