[one-users] [SOLVED] Re: OpenNebula and XCP

Javier Fontan jfontan at opennebula.org
Mon Apr 22 04:10:08 PDT 2013

To make xen 4.1 work with OpenNebula 3.8 there are some configuration changes.

* In /var/lib/one/remotes/vmm/xen/xenrc:

    export XM_CREDITS="sudo $XM_PATH sched-credit"

* In /etc/one/vmm_exec/vmm_exec_xen.conf:

    DISK   = [ driver = "tap2:tapdisk:aio:" ]

* In /var/lib/one/remotes/vmm/xen/attach_disk, change the line:


Make sure you execute "onehost sync" so the remote files are updated
in the nodes.

These changes are already addressed in the new 4.0 code base. Now
there are two drivers (one for 3.x and other for 4.x) so it will be
easier to setup.

Moreover we will be participating in the Xen Hackaton next month [1]
where we will work to make the xen 4 drivers use the new APIs that
come with that version.


[1] http://wiki.xen.org/wiki/Hackathon/May2013

On Sun, Apr 21, 2013 at 11:59 AM, Alberto Zuin - Liste
<liste at albertozuin.eu> wrote:
> Reply myself in list just if someone has the same problem.
> Just installed a Debian Wheezy server with Xen Hypervisor with command:
> aptitude install xen-linux-system-amd64 xen-tools xen-utils-4.1
> xen-hypervisor-4.1-amd64 blktap-dkms blktap-dev blktap-utils
> blktab modules isn't in stock default kernel, then I have to use the dkms
> package that builds that.
> Then I followed all the instruction on OpenNebula Documentation but the
> driver that I have to use is "tap2:tapdisk:aio:" and not "tap:aio:": you can
> change it in template or globally in /etc/one/vmm_exec/vmm_exec_xen.conf
> Bye,
> Alberto
> Il 21/04/2013 10:07, Alberto Zuin - Liste ha scritto:
> Il 21/04/2013 09:44, Alberto Zuin - Liste ha scritto:
> Hello all,
> please let me known if OpenNebula 3.8 (or the next 4.0) is compatible with
> XCP (Xen Cloud Platform): I known there is an old driver for 2.2 version but
> I don't understand if the driver is "dead" or if this feature is now
> "out-of-the-box".
> If XCP isn't compatible, what is the best way to have OpenNebuka with an
> updated xen HyperVisors (4.0-4.1)? CentOS include XEN virtualization only in
> 5.X releases (XEN 3), Debian has a problem with blktap driver and I have to
> use the (unsuggested) file. OpenSUSE?
> Thanks,
> Alberto
> Ok, just found an old message where Tino Vazquez said XCP driver isn't
> tested with OpenNebula 3.4: I guess that isn't tested in new versions and is
> a dead project.
> Please answer to second question: what is the best way to have a Xen
> complete and updated HyperVisor (without compiling kernel, xen and
> xen-tools)?
> Thanks,
> Alberto
> --
> AZ Network Specialist
> via Mare, 36A
> 36030 Lugo di Vicenza (VI)
> P.I. IT04310790284
> http://www.azns.it
> Tel +39.3286268626
> Fax +39.0492106654
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula

More information about the Users mailing list