[one-users] one and xen block configuration

Javier Fontan jfontan at gmail.com
Mon Sep 13 05:45:07 PDT 2010


Hello,

If you are using OpenNebula 1.4 you can specify disk target as
"ioemu:hda". Also "tap:aio:" method should work with current versions
of Xen, in fact it is recommended method over "file:". That is my
understanding after reading Xen documentation and mailing lists.

Anyway if you really need to use "file:" you can modify the file Neil
pointed out (./src/vmm/XenDriver.cc). Around line 262 you'll find
this:

--8<------
        else
        {
            file << "    'tap:aio:";
        }
------>8--

Change that "tap:aio:" string for "file:" and the line generated
should match the one you've provided. Compiling and copying
src/nebula/oned over your installed version in $ONE_LOCATION/bin
should do the trick without reinstalling.

Bye


On Mon, Sep 13, 2010 at 12:47 PM, Ruben Diez <rdiez at cesga.es> wrote:
> Hi:
>
> When i create a VM on xen by use the OpenNebula stuff, in the created
> "deployment.0" file the "disk" section looks like this:
>
> disk = [
>   'tap:aio:/srv/cloud/one/var//123/images/disk.0,hda,w',
> .........
>
> But i would to use a xen block device configuration like this:
>
> disk = [
>   'file:/srv/cloud/one/var//123/images/disk.0,ioemu:hda,w',
> .........
>
> How can i do this?? Perhaps by using a "raw" in the VM template file? How,
> exactly? Perhaps by tunnig the virlib configuration???
>
>
> Regards.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list