[one-users] Opennebula disk throttling.
Ruben S. Montero
rsmontero at opennebula.org
Tue Oct 7 06:10:13 PDT 2014
There are a couple of issues to ease the edition of VM instances to allow
for example adding new parameters to VM virtual hw, or virtual disks in
"not-running" states...
You can always edit the database, of course. Just stop oned, look for
active VMs (VM STATE 3) and update the body column. It is a XML document so
it should be fairly easy to add the attribute to the DISK entities.
After that you need to power-off powe-on the VMs; so the deployment file
with the new attributes are generated.
Cheers
On Mon, Oct 6, 2014 at 9:40 AM, Leszek Master <keksior at gmail.com> wrote:
> So you're telling me that if I deploy for example 1000 VM's and i want to
> add to them io throttling in iops i should do it manually and one more time
> after reboot of every VM?
>
> That's not even funny :)
>
> There must be a way to change the deploytment file in the opennebula, for
> example in the database?. Any one tried to "add io throttling iops and
> mbytes for all existing VM's at his cloud"?
>
>
>
> 2014-10-02 13:18 GMT+02:00 Ruben S. Montero <rsmontero at opennebula.org>:
>
>> Hi,
>>
>> I'm afraid that currently this is not supported. The template of the VM
>> is used to re-generate the xml file, and it cannot be added to the template
>> of the running VM.
>>
>> If you need to added to the VM, I'd suggest to:
>>
>> 1.- power-off the VM using ***virsh***
>> 2- Update the xml file
>> 3.- deploy the VM using ***virsh***
>>
>> You can do it in 4.6 without stopping oned. In 4.8 it is safer to stop
>> oned first.
>>
>> Cheers
>>
>> On Tue, Sep 30, 2014 at 12:03 PM, Leszek Master <keksior at gmail.com>
>> wrote:
>>
>>> How can i set disk throttling iops and MB/s to my existing VM's without
>>> redeploying ? If i add it to a xml file after rebooting my VM it disappear.
>>>
>>> Please help me solving it out.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>
>
>
--
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141007/5d3e64b7/attachment.htm>
More information about the Users
mailing list