Adding hosts and virtual machines to an oVirt 3. 1 environment

Before you get started using the free oVirt 3.1 hypervisor, you'll need to set up the basic organizational structure and add hosts. Learn how here.

After installing oVirt on a server there's a lot more work to do before you can use the free hypervisor. You’ll

first need to configure networking and add setup basic organizational structures before you can add new hosts and virtual machines.

In a default installation, oVirt 3.1 creates organizational structures called a data center, cluster and network. The data center is the default starting point of an oVirt environment. It connects to the storage in your network. A cluster is the migration domain in oVirt. You will assign each hosts to a cluster, and be able to migrate VMs between hosts within the same cluster. OVirt creates a default network after installation, but you may need to configure additional networking options later. For example, It might be a good idea to create a seperate network for accessing storage, or migrating VMs.

Normally, the oVirt management stack is on a dedicated server, and it manages KVM hosts, which are all separate machines. This isn’t very efficient for setting up small or test environments. That’s why for such environments you should use the all-in-one environment

All-in-one oVirt 3.1 installation
To set up an all-in-one environment, install the ovirt-engine-setup-plugin-allinone package on your oVirt host and run the engine-setup command to set up your environment. You can accept the default answers to all the questions the setup program asks, just make sure you select to configure the Virtual Desktop and Server Manager (VDSM) on this host, and enter a local storage domain path. At the end of the procedure, oVirt adds the local host automatically.

To add other hypervisor platforms at a later stage, you’ll have two options. You can install VDSM by running the vdsmd process on another KVM host (currently only Fedora is supported) or you can download and install the oVirt hypervisor, a bare metal thin kernel to turn it into a dedicated hypervisor managed from your oVirt platform. The advantage of using the all-in-one solution is that you’ll have a host ready and available after installing everything, which means that you can start creating VMs immediately.

Before you can start adding VMs to the oVirt environment, you need to attach the ISO storage domain, which will be used to store ISOs needed to install VMs. Select the local_datacenter that has been created for you in the left part of the oVirt navigation window and next select the local_datacenter from the Data Centers tab on the right. From there, select Storage and click Attach ISO. The ISO Domain will now be added to the list of available storage domains, but it isn’t activated by default. To activate it, select it and click Activate.

At this point you need to start populating the ISO domain. To do this, you should use the engine-iso-uploader tool from the command line of the oVirt management server. Running the tool is easy, just add the name of the ISO you want to upload and it will start uploading it to the ISO domain. Once you have copied the ISOs you need, you can click the Virtual Machines tab and start creating a VM. To do this, click either New Server or New Desktop to start installing the VM.

In this article you’ve read how to use the ovirt-engine-setup-plugin-allinone package to create an all-in-one oVirt solution that includes the management interface as well as the hypervisor host. Using this solution makes it easy to start working with oVirt, as the only thing you need to do is connect the ISO domain and start installing VMs on the newly created platform. Using this solution provides an easy way to use the power of KVM virtualization in an environment that provides an easy to manage Web interface.

 

 

This was first published in April 2013

Dig deeper on Open source virtualization

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Related Discussions

Sander van Vugt asks:

Have you considered using oVirt 3.1?

0  Responses So Far

Join the Discussion

6 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchVMware

SearchWindowsServer

SearchCloudComputing

SearchVirtualDesktop

SearchDataCenter

Close