Giter Club home page Giter Club logo

ovirt-host-deploy's Introduction

ovirt-host-deploy -- oVirt host deploy tool
===========================================

A tool to deploy ovirt hypervisor. Used by ovirt-engine when a new host
is deployed, and can be used manually.

USAGE
-----

ovirt-host-deploy [variables]

FILES
-----

Configuration file

    Default: /etc/ovirt-host-deploy.conf
    System Environment: OTOPI_CONFIG

    Config files to be read:
        @configFileName@
        @[email protected]/*.conf (sorted)

vdsm hooks

    vdsm hooks available at the following directory are copied to
    host during bootstrap.

     /usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/vdsmhooks/hooks.d/

    Packages can be installed using files at:

     /usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/vdsmhooks/packages.d/

    Each file contains a package per line.

    Files are selected based on their suffix, which should match distribution name.
    Distribution name is acquired using python's platform.linux_distribution().

DEVELOPMENT AND TEST
--------------------

FAQEMU

On the host, create:

/etc/ovirt-host-deploy.conf.d/50-faqemu.conf

  [environment:enforce]
  VDSM/checkVirtHardware=bool:False
  VDSM/configOverride=bool:False
  VDSM_CONFIG/vars/fake_kvm_support=str:true
  VDSM_CONFIG/vars/fake_kvm_architecture=str:@ARCHITECTURE@

Where @ARCHITECTURE@ is the target architecture of faqemu (ppc64le or x86_64).
Either install hooks manually on the host:

  yum -y install vdsm-hook-faqemu

Or on the engine create:

/usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/vdsmhooks/packages.d/faqemu.@DISTRIBUTION@

  vdsm-hook-faqemu

@DISTRIBUTION@ should be replaced with output of:

    python -c "import platform; print(platform.linux_distribution(full_distribution_name=0)[0])"

FAKEVMSTATS

On the host, create:

/etc/ovirt-host-deploy.conf.d/50-fakevmstats.conf

  [environment:enforce]
  VDSM/configOverride=bool:False
  VDSM_CONFIG/vars/fake_vmstats_enable=str:true

Either install hooks manually on the host:

  yum -y install vdsm-hook-fakevmstats

Or on the engine create:

/usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/vdsmhooks/packages.d/fakevmstats.@DISTRIBUTION@

  vdsm-hook-fakevmstats



OFFLINE

In order to avoid to try to use the package manager to install or update
packages on the host, create:
/etc/ovirt-host-deploy.conf.d/50-offline-packager.conf

  [environment:init]
  ODEPLOY/offlinePackager=bool:True
  PACKAGER/yumpackagerEnabled=bool:False



DEVELOPMENT

In order to avoid override of vdsm.conf, create:

/etc/ovirt-host-deploy.conf.d/50-development.conf
 [environment:enforce]
 VDSM/configOverride=bool:False

ovirt-host-deploy's People

Contributors

alonbl avatar aravindavk avatar bennyz avatar cristifalcas avatar danielerez avatar dankenigsberg avatar didib avatar dominikholler avatar dougsland avatar edwardbadboy avatar emesika avatar irosenzw avatar jniederm avatar jtokar avatar leongold avatar mkolesnik avatar mpolednik avatar mwperina avatar ndarshan avatar nirs avatar sabose avatar sandrobonazzola avatar sradco avatar tiraboschi avatar wesleymorais avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.