[pve-devel] [PATCH 1/3] add live storage migration with vm migration

Alexandre DERUMIER aderumier at odiso.com
Wed Oct 19 14:09:15 CEST 2016


>>Something like that - not sure if that is possible?

I can confirm that it's working !


1) start remote vm + nbd share
2) start disks mirroring to nbd
4) monitor jobs, and wait until all drives are ready (100% mirror) but does not complete
3) start live migration
4) monitor jobs again, if they are all ready do the complete, do the block-job-complete
5) stop the source vm
6) resume source vm


I'll polish my patches and try to send them tomorrow for review.

----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "Wolfgang Bumiller" <w.bumiller at proxmox.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 19 Octobre 2016 10:18:41
Objet: Re: [pve-devel] [PATCH 1/3] add live storage migration with vm migration

> On October 19, 2016 at 9:26 AM Alexandre DERUMIER <aderumier at odiso.com> wrote: 
> 
> 
> >>What about the suggestion from Wolfgang: "make drive-mirror write to both 
> >>disks" 
> >>(local and remote) 
> >> 
> >>I guess that would solve the whole problem? 
> 
> Do you mean, keep the drive-mirror running (no block-job-complete), then do 
> the vm live migration, 
> 
> and after vm live migration (just before unpause target, and stop sourvm), do 
> the block-job-complete on source vm ? 

Something like that - not sure if that is possible? 




More information about the pve-devel mailing list