Tags:
create new tag
view all tags

oVirt configuration

Testbed

Based on oVirt red hat blog

  • oVirt Hosts: kvm04.lcg.cscs.ch and kvm05.lcg.cscs.ch
  • oVirt Engine: xen01.lcg.cscs.ch
  • NAS mountpoint: nas.lcg.cscs.ch:/ifs/LCG/vm/ovirt mounted on kvm04:/ovirt and kvm05:/ovirt

  • The oVirt Engine system is to be created as a VM running in HA on either of the kvm04/kvm05 hosts. All other VMs need to be configured to run on the local SSDs.
  • All systems involved, oVirt-Hosts, oVirt-Engine and oVirt-VMs are to be configured using PUPPET only. CFEngine systems will NOT be ported to this virtualisation system.

Installation

  • Puppet: Contents of kvm04.lcg.cscs.ch.yaml.
    TODO
  • YUM repositories required
    • glusterfs-epel.repo
      # cat glusterfs-epel.repo
      [glusterfs-epel]
      name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
      baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.5/EPEL.repo/epel-$releasever/$basearch/
      enabled=1
      priority=5
      gpgcheck=1
      gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.4/LATEST/EPEL.repo/pub.key
      
      [glusterfs-noarch-epel]
      name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
      baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.5/EPEL.repo/epel-$releasever/noarch
      enabled=1
      priority=5
      gpgcheck=1
      gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.4/LATEST/EPEL.repo/pub.key
      
      [glusterfs-source-epel]
      name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source
      baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.5/EPEL.repo/epel-$releasever/SRPMS
      enabled=0
      priority=5
      gpgcheck=1
      gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.4/LATEST/EPEL.repo/pub.key
    • ovirt-3.4.repo
      # cat ovirt-3.4.repo
      [ovirt-3.4-stable]
      name=Latest oVirt 3.4 Release
      #baseurl=http://resources.ovirt.org/pub/ovirt-3.4/rpm/el$releasever/
      mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-3.4-el$releasever
      enabled=1
      skip_if_unavailable=1
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt
    • ovirt-3.4-dependencies.repo
      # cat ovirt-3.4-dependencies.repo
      [ovirt-3.4-epel]
      name=Extra Packages for Enterprise Linux 6 - $basearch
      #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
      mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
      failovermethod=priority
      enabled=1
      includepkgs=epel-release,python-uinput,puppet,python-lockfile,python-cpopen,python-ordereddict,python-pthreading,python-inotify,python-argparse,novnc,python-ply,python-kitchen,python-daemon,python-websockify,livecd-tools,spice-html5,mom
      gpgcheck=1
      gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
      
      [ovirt-3.4-jpackage-6.0-generic]
      name=JPackage 6.0, for generic
      mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=6.0
      enabled=1
      gpgcheck=1
      includepkgs=dom4j,isorelax,jaxen,jdom,msv,msv-xsdlib,relaxngDatatype,servicemix-specs,tomcat5-servlet-2.4-api,ws-jaxme,xalan-j2,xml-commons,xml-commons-jaxp-1.2-apis,xml-commons-resolver11,xom,xpp2,xpp3
      gpgkey=http://www.jpackage.org/jpackage.asc
      
      [ovirt-3.4-glusterfs-epel]
      name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
      baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
      
      [ovirt-3.4-glusterfs-noarch-epel]
      name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
      baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
  • Command line:
    [root@kvm04 ~]# yum install ovirt-hosted-engine-setup screen
    # mkdir /ovirt/vm
    # chown vdsm /ovirt/vm
    # sevice puppet stop # otherwise it will overwrite iptables and sudo configuration
    # hosted-engine --deploy
    [...]
              --== CONFIGURATION PREVIEW ==--
    
              Bridge interface                   : eth0
              Engine FQDN                        : xen01.lcg.cscs.ch
              Bridge name                        : ovirtmgmt
              SSH daemon port                    : 22
              Firewall manager                   : iptables
              Gateway address                    : 148.187.64.2
              Host name for web application      : xen01
              Host ID                            : 1
              Image size GB                      : 25
              Storage connection                 : nas.lcg.cscs.ch:/ifs/LCG/vm/ovirt/vm
              Console type                       : vnc
              Memory size MB                     : 8192
              MAC address                        : 00:10:3E:67:01:11
              Boot type                          : pxe
              Number of CPUs                     : 2
              CPU Type                           : model_Westmere
    

-- MiguelGila - 2014-09-05

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2014-09-08 - MiguelGila
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback