Our recent articles covered installation of oVirt Engine using the two standard methods – Dedicated instance and using Hosted Engine. In this blog post we will dive into addition of compute hosts to oVirt for Virtual Machines to be provisioned using oVirt Engine administration dashboard. Compute hosts servers can be Enterprise Linux Server such as CentOS 8 or oVirt Node server.

If using oVirt Nodes, download the ISO files and use it to install the operating system into the physical hardware.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/install-ovrt-node-01-1024×459.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="459" loading="lazy" src="data:image/svg xml,” width=”1024″>

CentOS 8 Server preparation

For CentOS 8 Physical Servers add the oVirt YUM repository which contains all the packages required.

sudo dnf -y install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm

Enable Cockpit service.

sudo systemctl enable --now libvirtd cockpit.socket

Add Compute Host to oVirt

Validate oVirt Engine installation by logging into the console.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/install-ovirt-centos-01-1024×718.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="718" loading="lazy" src="data:image/svg xml,” width=”1024″>

Navigate to Compute > Hosts > New and fill all required information.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-001-1024×801.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="801" loading="lazy" src="data:image/svg xml,” width=”1024″>

Modify other settings in the left panel as you see fit and click “OK” button to provision the node.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-002-1024×264.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="264" loading="lazy" src="data:image/svg xml,” width=”1024″>

The Status should change to Installing and will finish in few minutes.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-003-1024×229.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="229" loading="lazy" src="data:image/svg xml,” width=”1024″>

Configure Host Networking

If you want to add additional networks – extra bridges with VLANs e.t.c, this can be done once the host is added.

First create a Logical Network on Network > New. Give Virtual Network correct details. For VLAN ID check “Enable VLAN tagging

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-006-1024×475.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="475" loading="lazy" src="data:image/svg xml,” width=”1024″>

With the Host added and active you can configure its networking under Network Interfaces > Setup Host Networks:

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-004-1024×202.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="202" loading="lazy" src="data:image/svg xml,” width=”1024″>

Assign the Logical network to an interface.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-005-1024×819.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="819" loading="lazy" src="data:image/svg xml,” width=”1024″>

Drag Virtual Network for mapping to host interface.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-007-1024×463.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="463" loading="lazy" src="data:image/svg xml,” width=”1024″>

Configure IP addressing if required.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-008-1024×540.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="540" loading="lazy" src="data:image/svg xml,” width=”1024″>

Once saved and successful it should turn green.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/08/echo/add-compute-host-ovirt-009-1024×446.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="446" loading="lazy" src="data:image/svg xml,” width=”1024″>

You can then proceed to create virtual machines using oVirt Management interface. Refer to below guides:

How To Provision VMs on oVirt / RHEV with Terraform

Install a Server or Virtual Machine from ISO on oVirt / RHEV