This is an old revision of the document!


Upgrade LIBVIRT to 1.0.0 compiled (experimental)

Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-23-generic x86_64)
libvirt 0.9.8 (from package)
ovs_version: “1.4.0+build0” (from package)

  • Download souce code
# wget http://libvirt.org/sources/libvirt-1.0.0.tar.gz
# tar -xvzf libvirt-1.0.0.tar.gz
  • Install extra packages
# apt-get install libxml2-dev libgnutls-dev libyajl-dev libnl-dev pkg-config libdevmapper-dev python-dev
  • Compile
# ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-esx=no
# make
# make install
  • Edit libvirtd config
# diff /etc/libvirt/libvirtd.conf /etc/libvirt/libvirtd.conf.ORI

< unix_sock_group = "libvirtd"
---
> #unix_sock_group = "libvirt"

< unix_sock_rw_perms = "0770"
---
> #unix_sock_rw_perms = "0770"

< auth_unix_ro = "none"
---
> #auth_unix_ro = "none"

< auth_unix_rw = "none"
---
> #auth_unix_rw = "none"
  • Edit OpenvSwitch conf
# nano -w /etc/default/openvswitch-switch
     BRCOMPAT=no
  • Edit OVS bridges

Leave only main bridge

# ovs-vsctl del-br br2
# ovs-vsctl del-br br3
  • Configure KVM network
  • VM network example

x ⇒

 
 
hypervisor/exp1.1352981681.txt.gz · Last modified: 2012/11/15 13:14 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki