Difference between revisions of "Ovirt CentOS 7"

From Michael's Information Zone
Jump to navigation Jump to search
Line 21: Line 21:
 
===Add Host===
 
===Add Host===
 
After a base install of CentOS 7, install the same repository and have the engine install everything else over SSH.
 
After a base install of CentOS 7, install the same repository and have the engine install everything else over SSH.
==Ovirt 45==
+
==Ovirt 42==
 
===Single Host Lab Build===
 
===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 <ref>https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install</ref>
 
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 <ref>https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install</ref>
Line 32: Line 32:
 
reboot
 
reboot
 
yum -y install epel-release
 
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
 
</pre>
 
</pre>

Revision as of 14:29, 15 February 2018

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 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
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