How to install oVirt node 4.2 on baremetal

oVirt Logo

oVirt node is the easiest way to provision a machine to use with oVirt. Installing it is pretty simple if you’ve installed Fedora/CentOS in the past. Let’s take a look at how to install oVirt node 4.2.

About oVirt and this guide

oVirt is the open source virtualization for the data center. If you don’t know what oVirt is about here’s an article for you.

During this guide I will assume you have a fair amount of experience with Linux, Linux distributions and basic System Administrator tasks

oVirt Node requirements

Important
I take absolutely NO responsibility of what you do with your machine; use this tutorial as a guide and remember you can possibly cause data loss if you touch things carelessly.

oVirt Node is a minimal CentOS installation, so you can run it with pretty low requirements such as 1GiB of RAM and 10GiB of disk space.

On the other hand, the machine will be used to host virtual machines, so you will need significantly more RAM, CPU and disk space depending on your workloads. The more you have and more virtual machines you will be able to run on the node.

Step 1: Booting from ISO

oVirt Node 4.2 Installation - 1 Boot
oVirt Node 4.2 Installation – 1 Boot

The first step is getting the image and burning it onto a bootable medium, usually USB is the preferred way (Tutorial here). Next boot the image and you will be facing the above screen. You can either check the media for defects or install straight away.

Tip!
At the moment the official oVirt documentation doesn’t include a link to oVirt Node 4.3, the link above comes from https://resources.ovirt.org/ .

Step 2: Welcome to oVirt Node

oVirt Node 4.2 Installation - 2 Welcome to Ovirt Node
oVirt Node 4.2 Installation – 2 Welcome to Ovirt Node

In the first step you can define your locale and keyboard layout.

Step 3: The Hub

oVirt Node 4.2 Installation - 3 The Hub
oVirt Node 4.2 Installation – 3 The Hub

Familiar to anyone who has installed Fedora/CentOS at least once is “The Hub”. In this place you can configure the various aspects of your system. A few words on:

  • KDump: is a Linux kernel crash dump mechanism. When the Kernel crashes you may want to troubleshoot and KDump will come in handy. You will need to allocate some RAM to it (usually a low amount). If you don’t know what this is, in a production system you want to have it on. For test systems you can safely turn it off.
  • Security Policy: is a way to enforce security policies on the system. More info here. If you don’t know what it is, you probably won’t need it. For production systems, you may want to read a bit into it.

You can configure the various aspect in any order, but I suggest you to start with networking.

Step 4: Networking

oVirt Node 4.2 Installation - 4 Networking
oVirt Node 4.2 Installation – 4 Networking

Here you can configure your system’s network(s) connections. I assume you already know your way around these configurations. Also be aware that having a functioning DNS in your environment will be really useful when you will configure the engine.

Step 5: Timezone

oVirt Node 4.2 Installation - 5 Timezone
oVirt Node 4.2 Installation – 5 Timezone

In this step you can configure your timezone. Be aware that in any production system you want to have Network Time on (ntp/chrony) since time mismatch between nodes/engines may produce nasty behaviors.

Step 6: Disk configuration

oVirt Node 4.2 Installation - 6 Disk configuration
oVirt Node 4.2 Installation – 6 Disk configuration

In this step you will configure your disks layout. I assume you already know your way around disks, partitions and filesystems. I strongly suggest you not to choose BTRFS, BTRFS was deprecated by Red Hat, and may or may not be a great choice for production systems.

In production systems you may have very different layouts and/or specialized hardware and software (iSCSI, FC) you will need to take care of. Here you can find some screens about manual partitioning and a standard installation:

oVirt Node 4.2 Installation - Manual partitioning
oVirt Node 4.2 Installation – Manual partitioning
oVirt Node 4.2 Installation - Example installation
oVirt Node 4.2 Installation – Example installation

Step 7: Final steps

oVirt Node 4.2 Installation - 9 Everything ready
oVirt Node 4.2 Installation – 9 Everything ready

In these final steps you will review your installation and create an administrator. Once you are ready click “Begin Installation” knowing that this will write data to your disks and potentially cause data loss if you configured something incorrectly.

oVirt Node 4.2 Installation - User Configuration
oVirt Node 4.2 Installation – User Configuration
oVirt Node 4.2 Installation - User Configuration
oVirt Node 4.2 Installation – User Configuration
oVirt Node 4.2 Installation - Installation complete
oVirt Node 4.2 Installation – Installation complete

Step 8: Access Cockpit

Cockpit is a great tool to manage systems through a web UI. You can access your Cockpit by visiting https://your-fqdn:9090 or alternatively your-ip. You can use the credentials you just set up to enter Cockpit.

Cockpit has a nice integration with oVirt and you can even set up a Hosted Engine using its interface.

Image courtesy of mark | marksei

The following two tabs change content below.
The IT guy with a little boredom look in his eyes, fond of computers since forever he now works as a freelancer in the IT and shares his experiences through this blog.

You may also like...