Ovirt

Aus xinux.net
Zur Navigation springen Zur Suche springen

installation

!we use centos 7.0

Disable

  • systemctl disable NetworkManager.service
  • systemctl disable firewalld.service
  • reboot

Importing keys Automatically

Add the official oVirt repository

Install oVirt Engine.

  • sudo yum install -y ovirt-engine

Optionally install the All-In-One plugin if you want to host VMs on your Engine Host

  • sudo yum install -y ovirt-engine-setup-plugin-allinone

Set up oVirt Engine.

  • sudo engine-setup
Important for all-in-one
  • Configure VDSM on this host? (Yes, No) [No]: Yes

Example

Config-ovirt.jpg

install host

all in one

virsh

net hacks

dummy device

  • /etc/modprobe.d/dummy.conf
alias dummy0 dummy
options dummy numdummies=1


  • /etc/sysconfig/network-skripts/ifcfg-dummy0
DEVICE=dummy0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=10.1.1.1
ARP=yes
NM_CONTROLLED="no"

patch

grep -ei.bak "s/dummy_/dummy/" /usr/lib/python2.7/site-packages/vdsm/config.py

vdsmd restart

  • systemctl restart vdsmd

weiterer wahnsinn

vdsdmd restart

  • systemctl restart vdsmd

example

sieben schritte

install