[pve-devel] best way to call storage api2 between nodes ? (for livemigration with local storage)

Alexandre DERUMIER aderumier at odiso.com
Mon Nov 17 14:09:43 CET 2014


I need to done some work with nbd server first (to migrate unused disk and also offline vm)

and I'll try to submit some patch next week.


But yes, help will be welcome :)


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

De: "Kamil Trzciński" <ayufan at ayufan.eu> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: "Dietmar Maurer" <dietmar at proxmox.com>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 17 Novembre 2014 12:29:25 
Objet: Re: [pve-devel] best way to call storage api2 between nodes ? (for livemigration with local storage) 


Maybe you need any help? :) 


On Mon, Nov 17, 2014 at 10:13 AM, Alexandre DERUMIER < aderumier at odiso.com > wrote: 


>>So, does it need to implement a new command, something like "pvestorage create...." mapped to the storage apis ? 

Oh, sorry, I never notice that we already have a "pvesm" command :) 



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

De: "Alexandre DERUMIER" < aderumier at odiso.com > 
À: "Dietmar Maurer" < dietmar at proxmox.com > 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 17 Novembre 2014 10:08:23 
Objet: [pve-devel] best way to call storage api2 between nodes ? (for livemigration with local storage) 



I'm currently looking to implement livemigration + storage migration, 

for this, 

I need to call 

API2::Storage::Content::create 

from node1 (source) to node2 (target) 
and get the created volid value. 

Currently, for live migration, we always use ssh and send a "qm ..." commands to target node. 

So, does it need to implement a new command, something like "pvestorage create...." mapped to the storage apis ? 



_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 






-- 

Kamil Trzciński 

ayufan at ayufan.eu 
www.ayufan.eu 



More information about the pve-devel mailing list