Ovirt

This page holds a little summary on installing ovirt with a self hosted engine.

Preparation
The following things are required to setup ovirt with a self hosted engine.
 * A CentOS 7 host which meets the minimum requirements for ovirt (can also be Fedora or RHEL).
 * Some kind of supported storage. In this case nfs3.
 * A vnc viewer is very handy.
 * Working dns resolution or hand written hosts files.

Installation
disable network manager: systemctl stop NetworkManager.service systemctl disable NetworkManager.service start the network service: systemctl start network.service install the ovirt repo yum localinstall http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm install the ovirt-engine-appliance images yum install ovirt-engine-appliance install the engine packages yum install ovirt-hosted-engine-setup run the deployment hosted-engine --deploy Fill in something like this: Continuing will configure this host for serving as hypervisor and create a VM where you have to install the engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Please specify the full shared storage connection path to use (example: host:/path): 192.168.4.99:/mnt/Master/vm/hosted-engine Please indicate a nic to set ovirtmgmt bridge on: (enp4s0, enp5s0) [enp4s0]: iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: Please indicate a pingable gateway IP address [192.168.4.1]: Booting from cdrom on RHEL7 is ISO image based only, as cdrom passthrough is disabled (BZ760885) Please specify the device to boot the VM from (choose disk for the oVirt engine appliance) (cdrom, disk, pxe) [disk]: The following appliance have been found on your system: [1] - The oVirt Engine Appliance image (OVA) - 3.6-20160524.1.el7.centos [2] - Directly select an OVA file Please select an appliance (1, 2) [1]: Would you like to use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]? Would you like to generate on-fly a cloud-init ISO image (of no-cloud type) or do you have an existing one (Generate, Existing)[Generate]? Please provide the FQDN you would like to use for the engine appliance. Note: This will be the FQDN of the engine VM you are now going to launch, it should not point to the base host or to any other existing machine. Engine VM FQDN: (leave it empty to skip): []: ovirt.gwitter.ch Automatically execute engine-setup on the engine appliance on first boot (Yes, No)[Yes]? Automatically restart the engine VM as a monitored service after engine-setup (Yes, No)[Yes]? Please provide the domain name you would like to use for the engine appliance. Engine VM domain: [gwitter.ch] Enter root password that will be used for the engine appliance (leave it empty to skip): Confirm appliance root password: How should the engine VM network should be configured (DHCP, Static)[DHCP]? Add lines for the appliance itself and for this host to /etc/hosts on the engine VM? Note: ensuring that this host could resolve the engine VM hostname is still up to you (Yes, No)[No] The following CPU types are supported by this host: - model_Opteron_G3: AMD Opteron G3                - model_Opteron_G2: AMD Opteron G2                 - model_Opteron_G1: AMD Opteron G1          Please specify the CPU type to be used by the VM [model_Opteron_G3]: Please specify the number of virtual CPUs for the VM [Defaults to appliance OVF value: 4]: 2 You may specify a unicast MAC address for the VM or accept a randomly generated default [00:16:3e:4c:78:ad]: Please specify the memory size of the VM in MB [Defaults to maximum available: 14427]: 4096 Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]: Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: Please provide the name of the SMTP server through which we will send notifications [localhost]: Please provide the TCP port number of the SMTP server [25]: Please provide the email address from which notifications will be sent [root@localhost]: Please provide a comma-separated list of email addresses which will get notifications [root@localhost$: --== CONFIGURATION PREVIEW ==-- Bridge interface                  : enp4s0 Engine FQDN                       : ovirt.gwitter.ch          Bridge name                        : ovirtmgmt Host address                      : demeter.gwitter.ch          SSH daemon port                    : 22 Firewall manager                  : iptables Gateway address                   : 192.168.4.1 Host name for web application     : hosted_engine_1 Storage Domain type               : nfs3 Host ID                           : 1 Image size GB                     : 10 GlusterFS Share Name              : hosted_engine_glusterfs GlusterFS Brick Provisioning      : False Storage connection                : 192.168.4.99:/mnt/Master/vm/hosted-engine Console type                      : vnc Memory size MB                    : 4096 MAC address                       : 00:16:3e:4c:78:ad Boot type                         : disk Number of CPUs                    : 2 OVF archive (for disk boot)       : /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-3.6-20160524.1.el7.centos.ova Restart engine VM after engine-setup: True CPU Type                          : model_Opteron_G3 Please confirm installation settings (Yes, No)[Yes]:

Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: