Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-22 Thread Ernest Beinrohr
Dňa 22.04.2015 o 13:09 Juan Hernández napísal(a): # Iterate the disks of the VM and for each of them move it # to the target storage domain: for disk in vm.disks.list(): # Start moving the disk. Note that this is an asynchronous # operation, so once the "move" method returns you will

Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-22 Thread Juan Hernández
On 04/22/2015 11:44 AM, Ernest Beinrohr wrote: > Dňa 21.04.2015 o 17:33 Dan Yasny napísal(a): >> Why not just script them to migrate one after the other? The CLI is >> nice and simple, and the SDK is even nicer > Well I gave it a try, but I'm quite new to python and this does not work > as expected

Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-22 Thread Ernest Beinrohr
Dňa 21.04.2015 o 17:33 Dan Yasny napísal(a): Why not just script them to migrate one after the other? The CLI is nice and simple, and the SDK is even nicer Well I gave it a try, but I'm quite new to python and this does not work as expected: for vm in vms: print vm.name for disk in vm.disk

Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-21 Thread Dan Yasny
Why not just script them to migrate one after the other? The CLI is nice and simple, and the SDK is even nicer On Tue, Apr 21, 2015 at 11:29 AM, Ernest Beinrohr < ernest.beinr...@axonpro.sk> wrote: > Ovirt uses dd and qemu-img for live migration. Is it possible to limit > the number of concurren

[ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-21 Thread Ernest Beinrohr
Ovirt uses dd and qemu-img for live migration. Is it possible to limit the number of concurrent live storage moves or limit the bandwidth used? I'd like to move about 30 disks to another storage during the night, but each takes about 30 minutes each and if more than one runs, it chokes my sto