Ovirt CentOS 7
Installing Ovirt 41
WIP
[1]Since this is a hosted engine install, we need to have the storage up and runnning first. In this case we needed to configure a remote NFS server to host the data.
mkdir -p /exports/data groupadd kvm -g 36 useradd vdsm -u 36 -g 36 chown -R 36:36 /exports/data
After base installation of CentOS 7
yum install epel-release yum update -y reboot yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm yum install -y ovirt-hosted-engine-setup hosted-engine --deploy
Add Host
After a base install of CentOS 7, install the same repository and have the engine install everything else over SSH.
Ovirt 42
Single Host Lab Build
Very simple setup. Make sure to have enough space for the NFS share. In this example I setup a quick single host (Dell server) for proof of concept in using Ovirt as disaster recovery for ESXi [2]
- Make sure to decide on whether firewalld is enabled or not as shown in a known bug[3]. For a quick test I decided to disable most security such as the firewall, selinux, and allowing everything to access the NFS share if they pretend to be the vdsm user. This will not be the case for production.
- Set the host name to resolve locally for both the host and the hosted engine.
- Configure the NFS share and make sure UID and GID 36 has ownership
yum -y update sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config systemctl stop firewalld systemctl disable firewalld reboot yum -y install epel-release yum -y install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm yum -y install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm chown 36:36 /<NFS directory> echo "/<NFS directory> *" >> /etc/exports systemctl enable nfs systemctl start nfs