[one-users] one and xen block configuration
Neil Mooney
neil.mooney at sara.nl
Mon Sep 13 06:53:46 PDT 2010
Perhaps this demonstrates that these arguments/options are better
configured in the IM_driver, than hard wired into the code.
At least then they are changeable without recompiling...
Just a thought.
Neil
On 09/13/2010 02:59 PM, Stefan Freitag wrote:
> Hi Javier,
>
> I agree with you that tap:aio should be used instead of file:, but
> sometimes it is not possible :-(
> In Dortmund we had SLES 10 in place as OS for the physical machines and
> this rejected to work properly with tap:aio.
>
> SLES, as it is an enterprise server edition of SUSE, does not include the
> latest/ bug-fixed versions of e.g. XEN and libvirt :-(
>
> Cheers
> Stefan
>
> Javier Fontan schrieb:
>
>> 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
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> --
> Dipl.-Inform. Stefan Freitag
> Institut für Roboterforschung - Abteilung Informationstechnik
> Universitaet Dortmund | phone: +49 (0)231-755-7009
> Otto-Hahn-Str. 8 | mobile: +49 (0)176-23900074
> 44221 Dortmund, Germany | fax: +49 (0)231-755-3251
> www.irf.uni-dortmund.de | email: stefan.freitag at udo.edu
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
More information about the Users
mailing list