Virtual Machines

Deployment procedure for new hypervisors, and documentation of existing hypervisor configurations.

Hypervisors are intended to be deployed on CentOS 7.5+ systems with a minimum of 8GB of RAM and 120GB of available hard drive space.

I use Ovirt for virtualization, which sits on top of KVM. See the Ovirt Installation Docs for details, but the basic procedure is given below:

  1. Temporarily disable the EPEL and IUS repositories so that they don't interfere with Ovirt's installation
  2. sudo mv /etc/yum.repos.d/ius.repo /etc/yum.repos.d/ius.repo.bak
  3. sudo mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.bak
  4. Install the Ovirt repository
  5. sudo yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
  6. Increment the filename as new releases are available
  7. Ensure all packages are updated with the Ovirt repository
  8. sudo yum update -y
  9. Install the Ovirt engine and KVM
  10. sudo yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install ovirt-engine
  11. Re-enable the EPEL and IUS repositories
  12. sudo mv /etc/yum.repos.d/ius.repo.bak /etc/yum.repos.d/ius.repo
  13. sudo mv /etc/yum.repos.d/epel.repo.bak /etc/yum.repos.d/epel.repo
  14. Configure the Ovirt engine
  15. sudo engine-configure