1.4 KiB
1.4 KiB
Hypervisors
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:
- Temporarily disable the EPEL and IUS repositories so that they don't interfere with Ovirt's installation
sudo mv /etc/yum.repos.d/ius.repo /etc/yum.repos.d/ius.repo.bak
sudo mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.bak
- Install the Ovirt repository
sudo yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
- Increment the filename as new releases are available
- Ensure all packages are updated with the Ovirt repository
sudo yum update -y
- Install the Ovirt engine and KVM
sudo yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install ovirt-engine
- Re-enable the EPEL and IUS repositories
sudo mv /etc/yum.repos.d/ius.repo.bak /etc/yum.repos.d/ius.repo
sudo mv /etc/yum.repos.d/epel.repo.bak /etc/yum.repos.d/epel.repo
- Configure the Ovirt engine
sudo engine-configure