How to install oVirt node 4.4 on baremetal
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.4.
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
oVirt Node is a minimal CentOS 8 installation, so you can run it with pretty low requirements such as 2GiB of RAM and 55GiB 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 the more virtual machines you will be able to run on the node.
Step 1: Booting from ISO
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 screen above. You can either check the media for defects or install straight away.
Step 2: Welcome to oVirt Node
In the first step you can define your locale and keyboard layout.
Step 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. You also have to configure the keyboard layout which you already configured earlier, it seems in this version you can’t continue unless you do that again.
Step 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
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
In this step you will configure your disks layout. I assume you already know your way around disks, partitions and filesystems.
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:
Note: I’ve had some problems when using LVM instead of LVM Thin Provisioning, although this is probably some temporary error, remember this in case your installation fails.
Step 7: Final steps
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.
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.