[pve-devel] feature request : batch migration of multiple vm

Dietmar Maurer dietmar at proxmox.com
Tue Mar 27 09:34:28 CEST 2012


> maybe is it possible to implement some kind of tasks queue ? (or maybe is it
> already possible?).
> 
> 
> 1)# qm migrate vmid1 targetx
> 2)# qm migrate vmid2 targetx
> 3)# qm migrate vmid3 targetx
> 4)# qm migrate vmid4 targetx
> 
> then launch each command when the other is finished ?

You talk about shell scripts ;-)

for vmid in 1,2,3,4 do; qm migrate $vmid targetx; done

I guess any API is more complex than this.

- Dietmar


More information about the pve-devel mailing list