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 <keks...@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 <rsmont...@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 <keks...@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@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 | rsmont...@opennebula.org | @OpenNebula
>>
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to