Ovirt CentOS 7

From Michael's Information Zone
Revision as of 14:27, 15 February 2018 by Michael.mast (talk | contribs)
Jump to navigation Jump to search

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 45

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 and selinux. This will not be the case for production.
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