How To Add Compute Host to oVirt Virtualization

Posted on 107 views

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.

install-ovrt-node-01-1024x459

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

Install cockpit-ovirt-dashboard package

sudo dnf -y install cockpit-ovirt-dashboard

Enable Cockpit service.

sudo systemctl enable --now libvirtd cockpit.socket

Add Compute Host to oVirt

Validate oVirt Engine installation by logging into the console.

install-ovirt-centos-01-1024x718

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

add-compute-host-ovirt-001-1024x801

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

add-compute-host-ovirt-002-1024x264

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

add-compute-host-ovirt-003-1024x229

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

add-compute-host-ovirt-006-1024x475

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

add-compute-host-ovirt-004-1024x202

Assign the Logical network to an interface.

add-compute-host-ovirt-005-1024x819

Drag Virtual Network for mapping to host interface.

add-compute-host-ovirt-007-1024x463

Configure IP addressing if required.

add-compute-host-ovirt-008-1024x540

Once saved and successful it should turn green.

add-compute-host-ovirt-009-1024x446

You can then proceed to create virtual machines using oVirt Management interface.

coffee

Gravatar Image
A systems engineer with excellent skills in systems administration, cloud computing, systems deployment, virtualization, containers, and a certified ethical hacker.