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

Alexandre DERUMIER aderumier at odiso.com
Tue Mar 27 07:49:45 CEST 2012


Ok,
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 ?




----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 26 Mars 2012 10:52:42 
Objet: RE: [pve-devel] feature request : batch migration of multiple vm 

> What do you think about a 
> 
> qm migrate vmid,vmid,vmid,vmid,vmid targethost qm migrate ALL targethost 

That does not fit well into the current API structure. We currently use a path with unique VMIDs 

/nodes/maui/qemu/<VMID>/... 

for VM related commands. So I guess it is better to use another entry point for such bulk migration. 

- Dietmar 






-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	


More information about the pve-devel mailing list