Changes between Initial Version and Version 1 of Documentation/Manuals/ovirt


Ignore:
Timestamp:
Apr 1, 2016 1:46:27 AM (9 years ago)
Author:
Olexander Boretsky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Manuals/ovirt

    v1 v1  
     1For vLabs oVirt was installed self-hosted engine.
     2
     3== setup virtualization host ==
     4
     5In order to setup self-hosted next steps must be done
     6
     7 - install {{{ovirt-hosted-engine-setup}}} package
     8 - run setup, it require run in screen. It good idea because it quite long.
     9 - set where self-hosted engine will be installed. By default it require 25 GB partition and overhead for about 5.1GB so for it was used 31 separate LUN. It cannot be placed on common storage because after adding such storage in ovirt it cannot be used for storing other images.
     10 - any configuration of cluster name, data-center name and storage pool name at this point will take no effect to ovirt.
     11
     12== Installing OS to VM ==
     13
     14 - configure initial boot of vm for OS installation. for installation vLabs oVirt PXE boot was choosed. After booting self-hosted setup will provide console socket for connection and password. It can be accessed only local so must be used ssh with X-forwarding. Notice: reboot of vm will cause it shutdown.
     15 - After installing OS successful installation must be approved and vm booted in normal mode.
     16
     17== Installing oVirt ==
     18
     19 - normal setup and configuration of ovirt:
     20 - install Lets Encrypt certs:
     21   * apache
     22     {{{/etc/pki/ovirt-engine/apache-ca.pem -> /etc/pki/ovirt-engine/ca-letsencrypt.pem}}}
     23     {{{/etc/pki/ovirt-engine/certs/apache.cer}}}
     24   * websocket
     25     {{{/etc/pki/ovirt-engine/certs/websocket-proxy.cer -> apache.cer}}}
     26 - '''WARNING!!!!''' Any changes must be done before proceeding with self-hosted setup because it will connect to ovirt-engine and once read configuration. If some problem will occur installation must be done from very beginning.
     27
     28== Adding first host ==
     29
     30 - proceed with self-hosted setup. It will connect to ovirt-engine and add host to cluster.
     31
     32== Adding Hosts ==
     33
     34 - install {{{ovirt-hosted-engine-setup}}} package
     35 - run self-hosted setup
     36 - chose LUN with ovirt-engine
     37 - chose installation of additional host
     38 - it will connect to existing virtualization host via ssh and copy answer-file. Path to answer-file on can be also provided as option.
     39
     40== Managing Engine ==
     41
     42if you need to reboot ovirt-engine you must set it to global maintenance mode. It will stop monitoring engine aliveness. If you set local maintenance ha-agent wont run on this host.
     43
     44Start, stop, get console access and setting any maintenance can be done via {{{hosted-engine}}}
     45
     46== Balloon hook ==
     47
     48By default self-hosted vm doesn't get enabled memory balloon device. To enable it you need to
     49 - copy 1GB partition without normal name by dd to file.
     50 - untar it as simple tar archive
     51 - modify vm.conf and add {{{devices={device:memballoon,specParams:{model:none},type:balloon}}}}
     52 - create tar archive back
     53 - copy by dd it to partition
     54
     55== CPU Hook ==
     56
     57Modern Windows OS require cpu type core2duo. By default ovirt hasn`t it`s cpu type. For adding this CPU type you need to modify engine db
     58
     59{{{public.vdc_options.pk_vdc_options
     60
     61option_id 570
     62option_value ServerCPUList
     63
     64option_value
     652:Intel Core 2 Duo Family:vmx,nx,model_Core2duo:Core2duo:x86_64; 3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 9:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;
     66
     67
     68version 3.6
     69}}}
     70
     71== native client console ==