OSVDC Series: Virtualization Services with oVirt 3.6 and oVirt Engine Appliance - rharmonson/richtech GitHub Wiki

Virtualization Services with oVirt 3.6 and oVirt Engine Appliance


Revised March 24, 2017; add references to dwh and reporting

Revised October 30, 2016; added link to oVirt & Promiscuous

Revised August 19, 2016


Article 8 of the Open Source Virtual Data Center Series

oVirt 3.6

Before beginning, you may want to take out some time to review the section below titled References. It is not a requirement, but may be useful to bookmark them for later reading.

Begin by authenticating via console or SSH to the first Compute host with root credentials.

oVirt Repository

Execute the following to install the oVirt Yum Repository.

[root@node1 ~]#  yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm

Results with

================================================================================
 Package               Arch         Version        Repository              Size
================================================================================
Installing:
 ovirt-release36       noarch       007-1          /ovirt-release36       8.1 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 8.1 k
Installed size: 8.1 k

Hosted Engine & Appliance

Install the hosted engine package.

# yum install -y ovirt-hosted-engine-setup ovirt-engine-appliance

Results with

================================================================================
 Package                   Arch   Version                  Repository      Size
================================================================================
Installing:
 ovirt-engine-appliance    noarch 3.6-20160301.1.el7.centos
                                                           ovirt-3.6      987 M
 ovirt-hosted-engine-setup noarch 1.3.4.0-1.el7.centos     ovirt-3.6      271 k
Installing for dependencies:
 OpenIPMI-modalias         x86_64 2.0.19-11.el7            base            15 k
 adwaita-cursor-theme      noarch 3.14.1-1.el7             base           128 k
 adwaita-icon-theme        noarch 3.14.1-1.el7             base            11 M
 at-spi2-atk               x86_64 2.8.1-4.el7              base            73 k
 at-spi2-core              x86_64 2.8.0-6.el7              base           151 k
 atk                       x86_64 2.14.0-1.el7             base           251 k
 attr                      x86_64 2.4.46-12.el7            base            66 k
 audit-libs-python         x86_64 2.4.1-5.el7              base            69 k
 augeas                    x86_64 1.4.0-2.el7              base            38 k
 augeas-libs               x86_64 1.4.0-2.el7              base           355 k
 bind-libs                 x86_64 32:9.9.4-29.el7_2.3      updates        1.0 M
 bind-utils                x86_64 32:9.9.4-29.el7_2.3      updates        200 k
 boost-system              x86_64 1.53.0-25.el7            base            39 k
 boost-thread              x86_64 1.53.0-25.el7            base            57 k
 bridge-utils              x86_64 1.5-9.el7                base            32 k
 bzip2                     x86_64 1.0.6-13.el7             base            52 k
 cairo                     x86_64 1.14.2-1.el7             base           711 k
 cairo-gobject             x86_64 1.14.2-1.el7             base            25 k
 celt051                   x86_64 0.5.1.3-8.el7            base            53 k
 checkpolicy               x86_64 2.1.12-6.el7             base           247 k
 colord-libs               x86_64 1.2.7-2.el7              base           174 k
 cryptsetup                x86_64 1.6.7-1.el7              base           119 k
 cups-libs                 x86_64 1:1.6.3-22.el7           base           355 k
 cyrus-sasl                x86_64 2.1.26-20.el7_2          updates         88 k
 cyrus-sasl-md5            x86_64 2.1.26-20.el7_2          updates         56 k
 desktop-file-utils        x86_64 0.22-1.el7               base            67 k
 device-mapper-multipath   x86_64 0.4.9-85.el7_2.1         updates        118 k
 device-mapper-multipath-libs
                           x86_64 0.4.9-85.el7_2.1         updates        221 k
 dosfstools                x86_64 3.0.20-9.el7             base           101 k
 ebtables                  x86_64 2.0.10-13.el7            base           122 k
 emacs-filesystem          noarch 1:24.3-18.el7            base            58 k
 fence-agents-all          x86_64 4.0.11-27.el7_2.5        updates         12 k
 fence-agents-apc          x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-apc-snmp     x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-bladecenter  x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-brocade      x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-cisco-mds    x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-cisco-ucs    x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-common       x86_64 4.0.11-27.el7_2.5        updates         57 k
 fence-agents-compute      x86_64 4.0.11-27.el7_2.5        updates         18 k
 fence-agents-drac5        x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-eaton-snmp   x86_64 4.0.11-27.el7_2.5        updates         17 k
 fence-agents-emerson      x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-eps          x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-hpblade      x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-ibmblade     x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-ifmib        x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-ilo-moonshot x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-ilo-mp       x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-ilo-ssh      x86_64 4.0.11-27.el7_2.5        updates         18 k
 fence-agents-ilo2         x86_64 4.0.11-27.el7_2.5        updates         18 k
 fence-agents-intelmodular x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-ipdu         x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-ipmilan      x86_64 4.0.11-27.el7_2.5        updates         23 k
 fence-agents-kdump        x86_64 4.0.11-27.el7_2.5        updates         26 k
 fence-agents-mpath        x86_64 4.0.11-27.el7_2.5        updates         17 k
 fence-agents-rhevm        x86_64 4.0.11-27.el7_2.5        updates         16 k
 fence-agents-rsa          x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-rsb          x86_64 4.0.11-27.el7_2.5        updates         15 k
 fence-agents-scsi         x86_64 4.0.11-27.el7_2.5        updates         19 k
 fence-agents-vmware-soap  x86_64 4.0.11-27.el7_2.5        updates         17 k
 fence-agents-wti          x86_64 4.0.11-27.el7_2.5        updates         17 k
 fence-virt                x86_64 0.3.2-2.el7              base            41 k
 flac-libs                 x86_64 1.3.0-5.el7_1            base           169 k
 fontconfig                x86_64 2.10.95-7.el7            base           228 k
 fontpackages-filesystem   noarch 1.44-8.el7               base           9.9 k
 fuse                      x86_64 2.9.2-6.el7              base            84 k
 fuse-libs                 x86_64 2.9.2-6.el7              base            93 k
 gdisk                     x86_64 0.8.6-5.el7              base           187 k
 gdk-pixbuf2               x86_64 2.31.6-3.el7             base           559 k
 genisoimage               x86_64 1.1.11-23.el7            base           298 k
 ghostscript               x86_64 9.07-18.el7              base           4.3 M
 ghostscript-fonts         noarch 5.50-32.el7              base           324 k
 glusterfs                 x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                          447 k
 glusterfs-api             x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                           81 k
 glusterfs-cli             x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                          178 k
 glusterfs-client-xlators  x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                          782 k
 glusterfs-fuse            x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                          129 k
 glusterfs-libs            x86_64 3.7.10-1.el7             ovirt-3.6-glusterfs-epel
                                                                          340 k
 gnutls-dane               x86_64 3.3.8-14.el7_2           updates         32 k
 gnutls-utils              x86_64 3.3.8-14.el7_2           updates        228 k
 gperftools-libs           x86_64 2.4-7.el7                base           272 k
 graphite2                 x86_64 1.2.2-5.el7              base            81 k
 gsm                       x86_64 1.0.13-11.el7            base            30 k
 gssproxy                  x86_64 0.4.1-7.el7              base            84 k
 gtk-vnc2                  x86_64 0.5.2-7.el7              base            38 k
 gtk2                      x86_64 2.24.28-8.el7            base           3.4 M
 gtk3                      x86_64 3.14.13-16.el7           base           3.8 M
 gvnc                      x86_64 0.5.2-7.el7              base            89 k
 harfbuzz                  x86_64 0.9.36-1.el7             base           156 k
 hexedit                   x86_64 1.2.13-5.el7             base            39 k
 hicolor-icon-theme        noarch 0.12-7.el7               base            42 k
 hivex                     x86_64 1.3.10-5.7.el7           base           100 k
 icoutils                  x86_64 0.31.0-3.el7             base            82 k
 ioprocess                 x86_64 0.15.0-4.el7             centos-ovirt36  28 k
 ipmitool                  x86_64 1.8.13-8.el7_1           base           367 k
 iptables-services         x86_64 1.4.21-16.el7            base            50 k
 ipxe-roms-qemu            noarch 20130517-8.gitc4bce43.el7_2.1
                                                           updates        559 k
 iscsi-initiator-utils     x86_64 6.2.0.873-32.el7         base           418 k
 iscsi-initiator-utils-iscsiuio
                           x86_64 6.2.0.873-32.el7         base            81 k
 jasper-libs               x86_64 1.900.1-29.el7           base           149 k
 jbigkit-libs              x86_64 2.0-11.el7               base            46 k
 json-glib                 x86_64 1.0.2-1.el7              base           123 k
 keyutils                  x86_64 1.5.8-3.el7              base            54 k
 lcms2                     x86_64 2.6-2.el7                base           150 k
 ldns                      x86_64 1.6.16-7.el7             base           473 k
 libICE                    x86_64 1.0.9-2.el7              base            65 k
 libSM                     x86_64 1.2.2-2.el7              base            39 k
 libX11                    x86_64 1.6.3-2.el7              base           605 k
 libX11-common             noarch 1.6.3-2.el7              base           162 k
 libXau                    x86_64 1.0.8-2.1.el7            base            29 k
 libXcomposite             x86_64 0.4.4-4.1.el7            base            22 k
 libXcursor                x86_64 1.1.14-2.1.el7           base            30 k
 libXdamage                x86_64 1.1.4-4.1.el7            base            20 k
 libXevie                  x86_64 1.0.3-7.1.el7            base            18 k
 libXext                   x86_64 1.3.3-3.el7              base            39 k
 libXfixes                 x86_64 5.0.1-2.1.el7            base            18 k
 libXfont                  x86_64 1.5.1-2.el7              base           150 k
 libXft                    x86_64 2.3.2-2.el7              base            58 k
 libXi                     x86_64 1.7.4-2.el7              base            40 k
 libXinerama               x86_64 1.1.3-2.1.el7            base            14 k
 libXrandr                 x86_64 1.4.2-2.el7              base            26 k
 libXrender                x86_64 0.9.8-2.1.el7            base            25 k
 libXt                     x86_64 1.1.4-6.1.el7            base           173 k
 libXtst                   x86_64 1.2.2-2.1.el7            base            20 k
 libXxf86vm                x86_64 1.1.3-2.1.el7            base            17 k
 libasyncns                x86_64 0.8-7.el7                base            26 k
 libbasicobjects           x86_64 0.1.1-25.el7             base            24 k
 libcacard-ev              x86_64 10:2.3.0-31.el7_2.7.1    ovirt-3.6      231 k
 libcgroup                 x86_64 0.41-8.el7               base            64 k
 libcollection             x86_64 0.6.2-25.el7             base            40 k
 libconfig                 x86_64 1.4.9-5.el7              base            59 k
 libfontenc                x86_64 1.1.2-3.el7              base            30 k
 libgovirt                 x86_64 0.3.3-1.el7_2.1          updates         63 k
 libguestfs                x86_64 1:1.28.1-1.55.el7.centos base           1.7 M
 libguestfs-tools-c        x86_64 1:1.28.1-1.55.el7.centos base           2.2 M
 libguestfs-winsupport     x86_64 7.2-1.el7                base           2.1 M
 libgusb                   x86_64 0.1.6-3.el7              base            33 k
 libibverbs                x86_64 1.1.8-8.el7              base            56 k
 libicu                    x86_64 50.1.2-15.el7            base           6.9 M
 libini_config             x86_64 1.2.0-25.el7             base            59 k
 libiscsi                  x86_64 1.9.0-6.el7              base            60 k
 libjpeg-turbo             x86_64 1.2.90-5.el7             base           134 k
 libnfsidmap               x86_64 0.25-12.el7              base            46 k
 libnl                     x86_64 1.1.4-3.el7              base           128 k
 libogg                    x86_64 2:1.3.0-7.el7            base            24 k
 libosinfo                 x86_64 0.2.12-3.el7             base           256 k
 libpath_utils             x86_64 0.2.1-25.el7             base            27 k
 libpng                    x86_64 2:1.5.13-7.el7_2         updates        213 k
 librados2                 x86_64 1:0.80.7-3.el7           base           1.5 M
 librbd1                   x86_64 1:0.80.7-3.el7           base           350 k
 librdmacm                 x86_64 1.0.21-1.el7             base            64 k
 libref_array              x86_64 0.1.5-25.el7             base            26 k
 libreport-filesystem      x86_64 2.1.11-32.el7.centos     base            37 k
 libseccomp                x86_64 2.2.1-1.el7              base            49 k
 libselinux-python         x86_64 2.2.2-6.el7              base           247 k
 libsemanage-python        x86_64 2.1.10-18.el7            base            94 k
 libsndfile                x86_64 1.0.25-10.el7            base           149 k
 libtalloc                 x86_64 2.1.2-1.el7              base            31 k
 libtevent                 x86_64 0.9.25-1.el7             base            32 k
 libthai                   x86_64 0.1.14-9.el7             base           187 k
 libtiff                   x86_64 4.0.3-14.el7             base           167 k
 libtirpc                  x86_64 0.2.4-0.6.el7            base            85 k
 libtomcrypt               x86_64 1.17-23.el7              ovirt-3.6-epel 224 k
 libtommath                x86_64 0.42.0-4.el7             ovirt-3.6-epel  35 k
 libunwind                 x86_64 2:1.1-5.el7_2.2          updates         56 k
 libusal                   x86_64 1.1.11-23.el7            base           135 k
 libusbx                   x86_64 1.0.15-4.el7             base            50 k
 libverto-tevent           x86_64 0.2.5-4.el7              base           9.0 k
 libvirt-client            x86_64 1.2.17-13.el7_2.4        updates        4.3 M
 libvirt-daemon            x86_64 1.2.17-13.el7_2.4        updates        585 k
 libvirt-daemon-config-nwfilter
                           x86_64 1.2.17-13.el7_2.4        updates        122 k
 libvirt-daemon-driver-interface
                           x86_64 1.2.17-13.el7_2.4        updates        162 k
 libvirt-daemon-driver-network
                           x86_64 1.2.17-13.el7_2.4        updates        302 k
 libvirt-daemon-driver-nodedev
                           x86_64 1.2.17-13.el7_2.4        updates        161 k
 libvirt-daemon-driver-nwfilter
                           x86_64 1.2.17-13.el7_2.4        updates        185 k
 libvirt-daemon-driver-qemu
                           x86_64 1.2.17-13.el7_2.4        updates        570 k
 libvirt-daemon-driver-secret
                           x86_64 1.2.17-13.el7_2.4        updates        155 k
 libvirt-daemon-driver-storage
                           x86_64 1.2.17-13.el7_2.4        updates        327 k
 libvirt-daemon-kvm        x86_64 1.2.17-13.el7_2.4        updates        117 k
 libvirt-lock-sanlock      x86_64 1.2.17-13.el7_2.4        updates        166 k
 libvirt-python            x86_64 1.2.17-2.el7             base           309 k
 libvorbis                 x86_64 1:1.3.3-8.el7            base           204 k
 libxcb                    x86_64 1.11-4.el7               base           189 k
 libxml2-python            x86_64 2.9.1-6.el7_2.2          updates        245 k
 libxshmfence              x86_64 1.2-1.el7                base           7.2 k
 libxslt                   x86_64 1.1.28-5.el7             base           242 k
 lsof                      x86_64 4.87-4.el7               base           331 k
 lzop                      x86_64 1.03-10.el7              base            54 k
 m2crypto                  x86_64 0.21.1-17.el7            base           429 k
 mailcap                   noarch 2.1.41-2.el7             base            31 k
 mdadm                     x86_64 3.3.2-7.el7              base           393 k
 mesa-libEGL               x86_64 10.6.5-3.20150824.el7    base            74 k
 mesa-libGL                x86_64 10.6.5-3.20150824.el7    base           184 k
 mesa-libgbm               x86_64 10.6.5-3.20150824.el7    base            40 k
 mesa-libglapi             x86_64 10.6.5-3.20150824.el7    base            39 k
 mom                       noarch 0.5.2-1.1.el7            centos-ovirt36 117 k
 mtools                    x86_64 4.0.18-5.el7             base           203 k
 net-snmp-libs             x86_64 1:5.7.2-24.el7           base           747 k
 net-snmp-utils            x86_64 1:5.7.2-24.el7           base           196 k
 netcf-libs                x86_64 0.2.8-1.el7              base            69 k
 netpbm                    x86_64 10.61.02-9.el7           base           180 k
 netpbm-progs              x86_64 10.61.02-9.el7           base           1.9 M
 nfs-utils                 x86_64 1:1.3.0-0.21.el7_2       updates        371 k
 nmap-ncat                 x86_64 2:6.40-7.el7             base           201 k
 numactl                   x86_64 2.0.9-6.el7_2            updates         65 k
 numad                     x86_64 0.5-14.20140620git.el7   base            34 k
 otopi                     noarch 1.4.1-1.el7.centos       ovirt-3.6      145 k
 ovirt-engine-sdk-python   noarch 3.6.3.0-1.el7.centos     ovirt-3.6      479 k
 ovirt-host-deploy         noarch 1.4.1-1.el7.centos       ovirt-3.6       90 k
 ovirt-hosted-engine-ha    noarch 1.3.5.1-1.el7.centos     ovirt-3.6      295 k
 ovirt-setup-lib           noarch 1.0.1-1.el7.centos       ovirt-3.6       18 k
 ovirt-vmconsole           noarch 1.0.0-1.el7.centos       ovirt-3.6       28 k
 ovirt-vmconsole-host      noarch 1.0.0-1.el7.centos       ovirt-3.6       15 k
 pango                     x86_64 1.36.8-2.el7             base           287 k
 perl                      x86_64 4:5.16.3-286.el7         base           8.0 M
 perl-Business-ISBN        noarch 2.06-2.el7               base            25 k
 perl-Business-ISBN-Data   noarch 20120719.001-2.el7       base            24 k
 perl-Carp                 noarch 1.26-244.el7             base            19 k
 perl-Compress-Raw-Bzip2   x86_64 2.061-3.el7              base            32 k
 perl-Compress-Raw-Zlib    x86_64 1:2.061-4.el7            base            57 k
 perl-Data-Dumper          x86_64 2.145-3.el7              base            47 k
 perl-Digest               noarch 1.17-245.el7             base            23 k
 perl-Digest-MD5           x86_64 2.52-3.el7               base            30 k
 perl-Encode               x86_64 2.51-7.el7               base           1.5 M
 perl-Encode-Locale        noarch 1.03-5.el7               base            16 k
 perl-Exporter             noarch 5.68-3.el7               base            28 k
 perl-File-Listing         noarch 6.04-7.el7               base            13 k
 perl-File-Path            noarch 2.09-2.el7               base            26 k
 perl-File-Temp            noarch 0.23.01-3.el7            base            56 k
 perl-Filter               x86_64 1.49-3.el7               base            76 k
 perl-Getopt-Long          noarch 2.40-2.el7               base            56 k
 perl-HTML-Parser          x86_64 3.71-4.el7               base           115 k
 perl-HTML-Tagset          noarch 3.20-15.el7              base            18 k
 perl-HTTP-Cookies         noarch 6.01-5.el7               base            26 k
 perl-HTTP-Daemon          noarch 6.01-5.el7               base            20 k
 perl-HTTP-Date            noarch 6.02-8.el7               base            14 k
 perl-HTTP-Message         noarch 6.06-6.el7               base            82 k
 perl-HTTP-Negotiate       noarch 6.01-5.el7               base            17 k
 perl-HTTP-Tiny            noarch 0.033-3.el7              base            38 k
 perl-IO-Compress          noarch 2.061-2.el7              base           260 k
 perl-IO-HTML              noarch 1.00-2.el7               base            23 k
 perl-IO-Socket-IP         noarch 0.21-4.el7               base            35 k
 perl-IO-Socket-SSL        noarch 1.94-3.el7               base           113 k
 perl-LWP-MediaTypes       noarch 6.02-2.el7               base            24 k
 perl-Net-HTTP             noarch 6.06-2.el7               base            29 k
 perl-Net-LibIDN           x86_64 0.12-15.el7              base            28 k
 perl-Net-SSLeay           x86_64 1.55-3.el7               base           285 k
 perl-PathTools            x86_64 3.40-5.el7               base            82 k
 perl-Pod-Escapes          noarch 1:1.04-286.el7           base            50 k
 perl-Pod-Perldoc          noarch 3.20-4.el7               base            87 k
 perl-Pod-Simple           noarch 1:3.28-4.el7             base           216 k
 perl-Pod-Usage            noarch 1.63-3.el7               base            27 k
 perl-Scalar-List-Utils    x86_64 1.27-248.el7             base            36 k
 perl-Socket               x86_64 2.010-3.el7              base            49 k
 perl-Storable             x86_64 2.45-3.el7               base            77 k
 perl-Text-ParseWords      noarch 3.29-4.el7               base            14 k
 perl-Time-HiRes           x86_64 4:1.9725-3.el7           base            45 k
 perl-Time-Local           noarch 1.2300-2.el7             base            24 k
 perl-TimeDate             noarch 1:2.30-2.el7             base            52 k
 perl-URI                  noarch 1.60-9.el7               base           106 k
 perl-WWW-RobotRules       noarch 6.02-5.el7               base            18 k
 perl-constant             noarch 1.27-2.el7               base            19 k
 perl-hivex                x86_64 1.3.10-5.7.el7           base            41 k
 perl-libs                 x86_64 4:5.16.3-286.el7         base           687 k
 perl-libwww-perl          noarch 6.05-2.el7               base           205 k
 perl-macros               x86_64 4:5.16.3-286.el7         base            43 k
 perl-parent               noarch 1:0.225-244.el7          base            12 k
 perl-podlators            noarch 2.5.1-3.el7              base           112 k
 perl-threads              x86_64 1.87-4.el7               base            49 k
 perl-threads-shared       x86_64 1.43-6.el7               base            39 k
 pexpect                   noarch 2.3-11.el7               base           142 k
 pixman                    x86_64 0.32.6-3.el7             base           254 k
 policycoreutils-python    x86_64 2.2.5-20.el7             base           435 k
 poppler-data              noarch 0.4.6-3.el7              base           2.2 M
 psmisc                    x86_64 22.20-9.el7              base           140 k
 pulseaudio-libs           x86_64 6.0-7.el7                base           576 k
 pulseaudio-libs-glib2     x86_64 6.0-7.el7                base            27 k
 pyparted                  x86_64 1:3.9-13.el7             base           195 k
 python-IPy                noarch 0.75-6.el7               base            32 k
 python-backports          x86_64 1.0-8.el7                base           5.8 k
 python-backports-ssl_match_hostname
                           noarch 3.4.0.2-4.el7            base            12 k
 python-chardet            noarch 2.2.1-1.el7_1            base           227 k
 python-cpopen             x86_64 1.4-1.el7                centos-ovirt36  21 k
 python-daemon             noarch 1.6-4.el7                centos-ovirt36  26 k
 python-dmidecode          x86_64 3.10.13-11.el7           base            82 k
 python-ecdsa              noarch 0.11-3.el7.centos        extras          69 k
 python-ethtool            x86_64 0.8-5.el7                base            33 k
 python-inotify            noarch 0.9.4-4.el7              base            49 k
 python-ioprocess          noarch 0.15.0-4.el7             centos-ovirt36  23 k
 python-kitchen            noarch 1.1.1-5.el7              base           267 k
 python-lockfile           noarch 1:0.9.1-4.el7.centos     extras          28 k
 python-lxml               x86_64 3.2.1-4.el7              base           758 k
 python-netaddr            noarch 0.7.5-7.el7              base           983 k
 python-paramiko           noarch 1.15.1-1.el7             centos-ovirt36 998 k
 python-pthreading         noarch 0.1.3-3.el7              centos-ovirt36  17 k
 python-requests           noarch 2.6.0-1.el7_1            base            94 k
 python-six                noarch 1.9.0-2.el7              base            29 k
 python-suds               noarch 0.4.1-5.el7              base           204 k
 python-urllib3            noarch 1.10.2-2.el7_1           base           100 k
 python2-crypto            x86_64 2.6.1-9.el7              ovirt-3.6-epel 475 k
 qemu-img-ev               x86_64 10:2.3.0-31.el7_2.7.1    ovirt-3.6      783 k
 qemu-kvm-common-ev        x86_64 10:2.3.0-31.el7_2.7.1    ovirt-3.6      443 k
 qemu-kvm-ev               x86_64 10:2.3.0-31.el7_2.7.1    ovirt-3.6      2.1 M
 qemu-kvm-tools-ev         x86_64 10:2.3.0-31.el7_2.7.1    ovirt-3.6      245 k
 quota                     x86_64 1:4.01-11.el7_2.1        updates        178 k
 quota-nls                 noarch 1:4.01-11.el7_2.1        updates         90 k
 radvd                     x86_64 1.9.2-9.el7              base            85 k
 rdma                      noarch 7.2_4.1_rc6-2.el7        updates         28 k
 rest                      x86_64 0.7.92-3.el7             base            62 k
 rpcbind                   x86_64 0.2.0-33.el7_2           updates         57 k
 safelease                 x86_64 1.0-7.el7                ovirt-3.6-epel  22 k
 sanlock                   x86_64 3.2.4-2.el7_2            updates        114 k
 sanlock-lib               x86_64 3.2.4-2.el7_2            updates         47 k
 sanlock-python            x86_64 3.2.4-2.el7_2            updates         18 k
 scrub                     x86_64 2.5.2-5.el7              base            40 k
 seabios-bin               noarch 1.7.5-11.el7             base            74 k
 seavgabios-bin            noarch 1.7.5-11.el7             base            32 k
 setools-libs              x86_64 3.3.7-46.el7             base           485 k
 sg3_utils                 x86_64 1.37-5.el7               base           640 k
 sg3_utils-libs            x86_64 1.37-5.el7               base            63 k
 sgabios-bin               noarch 1:0.20110622svn-4.el7    base           7.1 k
 socat                     x86_64 1.7.2.2-5.el7            base           255 k
 sos                       noarch 3.2-35.el7.centos.3      updates        316 k
 spice-glib                x86_64 0.26-5.el7               base           350 k
 spice-gtk3                x86_64 0.26-5.el7               base            51 k
 spice-server              x86_64 0.12.4-15.el7            base           380 k
 supermin5                 x86_64 5.1.10-1.2.el7           base           574 k
 syslinux                  x86_64 4.05-12.el7              base           990 k
 syslinux-extlinux         x86_64 4.05-12.el7              base           363 k
 tcp_wrappers              x86_64 7.6-77.el7               base            78 k
 telnet                    x86_64 1:0.17-59.el7            base            63 k
 tree                      x86_64 1.6.0-10.el7             base            46 k
 unbound-libs              x86_64 1.4.20-26.el7            base           296 k
 unzip                     x86_64 6.0-15.el7               base           166 k
 urw-fonts                 noarch 2.4-16.el7               base           3.0 M
 usbredir                  x86_64 0.6-7.el7                base            44 k
 vdsm                      noarch 4.17.23.2-0.el7.centos   ovirt-3.6      916 k
 vdsm-cli                  noarch 4.17.23.2-0.el7.centos   ovirt-3.6       66 k
 vdsm-hook-vmfex-dev       noarch 4.17.23.2-0.el7.centos   ovirt-3.6      6.5 k
 vdsm-infra                noarch 4.17.23.2-0.el7.centos   ovirt-3.6       12 k
 vdsm-jsonrpc              noarch 4.17.23.2-0.el7.centos   ovirt-3.6      101 k
 vdsm-python               noarch 4.17.23.2-0.el7.centos   ovirt-3.6      218 k
 vdsm-xmlrpc               noarch 4.17.23.2-0.el7.centos   ovirt-3.6       24 k
 vdsm-yajsonrpc            noarch 4.17.23.2-0.el7.centos   ovirt-3.6       26 k
 virt-v2v                  x86_64 1:1.28.1-1.55.el7.centos base            12 M
 virt-viewer               x86_64 2.0-6.el7                base           339 k
 xorg-x11-font-utils       x86_64 1:7.5-20.el7             base            87 k
 yajl                      x86_64 2.0.4-4.el7              base            39 k
 yum-utils                 noarch 1.1.31-34.el7            base           113 k

Transaction Summary
================================================================================
Install  2 Packages (+350 Dependent packages)

Total download size: 1.1 G
Installed size: 1.3 G

Warning!

I have been experiencing a number of warnings due to key retrieval failures. For example, oVirts! Simplest method to remedy the problem is browse their yum repo for a public folder and identify the key file(s) and import using rpm.

# rpm --import http://resources.ovirt.org/pub/keys/RPM-GPG-ovirt

oVirt Deploy

Time to deploy oVirt and oVirt Engine Appliance on the first Compute host. The minimum requirements for the appliance are 2 CPU cores and 4 GB RAM and recommended requirements are 4 CPU cores and 16 GB RAM as described at http://wiki.ovirt.org/documentation/quickstart/quickstart-guide/. I will be using 4 CPU cores and 8 GB RAM.

If using SSH and not using screen or tmux the deployment will complain and advise to use screen. I prefer tmux and it can be installed using yum install tmux.

# tmux
# hosted-engine --deploy

After responding to a number of questions, a summary will be displayed before installation and configuration. My summary is shown below, but it fails to reflect several options. I, typically, accepted the defaults but the notable exceptions are NFSv4 for the storage connection, storage location nasv.mydomain.net:/mnt/r10vol/eng, iptables which disables firewalld, spice (qxl) for remote management of the appliance, and static IP address of 192.168.101.21 for the appliance.

[ INFO  ] Stage: Setup validation

          --== CONFIGURATION PREVIEW ==--

          Bridge interface                   : enp6s0f0
          Engine FQDN                        : eng.mydomain.net
          Bridge name                        : ovirtmgmt
          Host address                       : node1.mydomain.net
          SSH daemon port                    : 22
          Firewall manager                   : iptables
          Gateway address                    : 192.168.101.254
          Host name for web application      : hosted_engine_1
          Host ID                            : 1
          Image size GB                      : 10
          GlusterFS Share Name               : hosted_engine_glusterfs
          GlusterFS Brick Provisioning       : False
          Storage connection                 : nasv.mydomain:/mnt/r10vol/eng
          Console type                       : qxl
          Memory size MB                     : 8192
          MAC address                        : 00:16:3e:45:f9:43
          Boot type                          : disk
          Number of CPUs                     : 4
          OVF archive (for disk boot)        : /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-3.6-20160301.1.el7.centos.ova
          Restart engine VM after engine-setup: True
          CPU Type                           : model_SandyBridge

          Please confirm installation settings (Yes, No)[Yes]:

ERROR

If you receive an error that NetworkManager is running. You failed to remove NetworkManager as referenced in article 7. Alternatively, you can stop and mask the NetworkManager service to meet the installation requirements.

# systemctl stop NetworkManager
# systemctl mask NetworkManager

After deploy completes, you will be back at a prompt, however, the oVirt Engine Appliance is busy in the background including rebooting. Use the hosted-engine --vm-status to review.

[root@node1 ~]# hosted-engine --vm-status


--== Host 1 status ==--

Status up-to-date                  : True
Hostname                           : node1.intranet.harmonson.net
Host ID                            : 1
Engine status                      : {"health": "good", "vm": "up", "detail": "up"}
Score                              : 3400
stopped                            : False
Local maintenance                  : False
crc32                              : 7ca0e241
Host timestamp                     : 2120

Once it is up, do not be alarmed if it takes five to ten minutes to respond with a prompt for credentials. It will be a matter seconds once it up and running completely.

Connect using your browser, select "Administration Portal, then authenticate using "admin" and the password you set during the installation. You should be rewarded with this page displaying:

ovirtmanager

Adding 2nd Compute Host

Adding an additional Compute host is pretty simple, however, there are a couple gotchas.

First, you may remember seeing the following if not using an external DNS host but /etc/hosts from the deployment of the first Compute host.

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.

What is not clearly stated is that you must, also, add to the appliance's /etc/hosts any additional Compute hosts you add. If you do not, you will be presented with this error when executing hosted-engine --deploy.

[ ERROR ] Cannot automatically add the host to cluster Default: Cannot add Host. Connecting to host via SSH has failed, verify that the host is reachable (IP address, routable address etc.) You may refer to the engine.log file for further details.

Pretty damn ambiguous, but connecting via SSH to the appliance and updating /etc/hosts resolves the error in our scenario.

[root@eng ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.101.11 node1.mydomain.net
192.168.101.12 node2.mydomain.net
192.168.101.21 eng.mydomain.net

Also, you will be prompted for a configuration file.

[WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host. The answer file may be fetched from an active HE host using scp. If you do not want to download it automatically you can abort the setup answering no to the following question. Do you want to scp the answer file from another HE host? (Yes, No)[Yes]:

When prompted for the host name or IP address, use the first Compute host's not the oVirt Engine Appliance.

Now execute the commands below to install, execute, and complete the installation.

[root@node2 ~]# yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
[root@node2 ~]# yum install -y ovirt-hosted-engine-setup
[root@node2 ~]# tmux
[root@node2 ~]# hosted-engine --deploy

Results with

[ INFO  ] Stage: Setup validation

          --== CONFIGURATION PREVIEW ==--

          Engine FQDN                        : eng.mydomain.net
          Bridge name                        : ovirtmgmt
          Host address                       : node2.mydomain.net
          SSH daemon port                    : 22
          Firewall manager                   : iptables
          Gateway address                    : 192.168.101.254
          Host name for web application      : hosted_engine_2
          Host ID                            : 2
          Image size GB                      : 10
          GlusterFS Share Name               : hosted_engine_glusterfs
          GlusterFS Brick Provisioning       : False
          Storage connection                 : nasv.mydomain.net:/mnt/r10vol/eng
          Console type                       : qxl
          Memory size MB                     : 8192
          MAC address                        : 00:16:3e:45:f9:43
          Boot type                          : disk
          Number of CPUs                     : 4
          Restart engine VM after engine-setup: True
          CPU Type                           : model_SandyBridge

If everything goes well, the deployment script with end displaying:

[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ INFO  ] Waiting for the host to become operational in the engine. This may take several minutes...
[ INFO  ] The VDSM Host is now operational
[ INFO  ] Enabling and starting HA services
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160403213745.conf'
[ INFO  ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Hosted Engine successfully set up

When connecting to the Administration Portal on the oVirt Management Appliance, both Compute hosts are displayed.

osvdc-2ndcomphost

NFS Testing

If you ran into problems with storage during the initial deploy, test your storage connectivity. oVirt's website provides a brief and excellent guide found here:

The basic process is to su to user vdsm, mount the NFS export, then create a file to verify access and ownership. The deploy script creates user vdsm and group kvm with uid and gid of 36.

[root@node1 ~]# mkdir /tmp/tmpmnt
[root@node1 ~]# su - vdsm -s /bin/bash
Last login: Tue Mar 22 23:36:03 PDT 2016 on pts/2
-bash-4.2$ sudo -n /bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6,nfsvers=4 192.168.101.10:/mnt/r10vol/data /tmp/tmpmnt
-bash-4.2$ touch /tmp/tmpmnt/test
-bash-4.2$ ll /tmp/tmpmnt/test
-rw-r--r--. 1 vdsm kvm 0 Mar 22 21:47 /tmp/tmpmnt/test
-bash-4.2$ rm /tmp/tmpmnt/test
-bash-4.2$ exit
[root@node1 ~]# rmdir /tmp/tmpmnt

oVirt Removal

references:

In the process of designing the cluster and authoring this document, it was invaluable to be able to remove oVirt and take, yet, another run at the installation. Depending on how far you get into the installation, resuming the deployment may not be plausible. Below is an example of the cleanup process.

# hosted-engine --set-maintenance --mode=global
# hosted-engine --vm-poweroff

Copy the bash script below then vi ovirtcleanup.sh, insert, and paste.

#!/bin/bash

echo "stopping services"
service vdsmd stop 2>/dev/null
service supervdsmd stop 2>/dev/null
initctl stop libvirtd 2>/dev/null

echo "removing packages"
yum remove \*ovirt\* \*vdsm\* \*libvirt\*

rm -fR /etc/*ovirt* /etc/*vdsm* /etc/*libvirt* /etc/pki/vdsm

FILES=" /etc/init/libvirtd.conf"
FILES+=" /etc/libvirt/nwfilter/vdsm-no-mac-spoofing.xml"
FILES+=" /etc/ovirt-hosted-engine/answers.conf"
FILES+=" etc/vdsm/vdsm.conf"
FILES+=" etc/pki/vdsm/*/*.pem"
FILES+=" etc/pki/CA/cacert.pem"
FILES+=" etc/pki/libvirt/*.pem"
FILES+=" etc/pki/libvirt/private/*.pem"
for f in $FILES
do
   [ ! -e $f ] && echo "? $f already missing" && continue
   echo "- removing $f"
   rm -f $f && continue
   echo "! error removing $f"
   exit 1
done

DIRS="/etc/ovirt-hosted-engine /var/lib/libvirt/ /var/lib/vdsm/ /var/lib/ovirt-hosted-engine-* /var/log/ovirt-hosted-engine-setup/ /var/cache/libvirt/"
for d in $DIRS
do
   [ ! -d $f ] && echo "? $d already missing" && continue
   echo "- removing $d"
   rm -fR $d && continue
   echo "! error removing $d"
   exit 1
done

Set the file to be executable via chmod 700 ovirtcleanup.sh then ./ovirtcleanup.sh. The result is the removal of packages and cleanup of local file system.

The last step is to clean up the NFS Data storage. In my case, I connect to FreeNAS via SSH and execute rm -fr /mnt/r10vol/data/*.


admin@local password reset

SSH to the oVirt Engine and execute:

ovirt-aaa-jdbc-tool user password-reset admin --password-valid-to="2025-08-15 10:30:00Z"

Promiscuous

If a virtual machines requires running interfaces in promiscuous mode, review the link below.

https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-Secure-Remote-Access-with-SoftEther-VPN-Server-and-Client-4.2#ovirt--promiscuous-mode

oVirt Hosted Engine Backup

  1. SSH to Compute node and execute hosted-engine -–set-maintenance -–mode=global
  2. SSH to oVirt Hosted Engine
  3. Execute systemctl stop ovirt-engine
  4. Execute engine-backup -–mode=backup -–file=backup2016Aug14 -–log=backup2016Aug14.log
  5. Execute systemctl start ovirt-engine
  6. Return to the Compute node and execute hosted-engine -–set-maintenance -–mode=none
  7. SCP resulting files to a safe location

Reference: http://www.ovirt.org/documentation/admin-guide/hosted-engine-backup-and-restore/

References

Reporting

Next

Next article in the series is oVirt 3.6 Cluster Shutdown and Startup.