[pve-devel] [PATCH qemu-server 0/7] online vm migration to external cluster

Alexandre DERUMIER aderumier at odiso.com
Wed Nov 7 16:26:52 CET 2018


>>Tested it and it seems to overall work.
Thanks to have take time to look at this !
>>
>>One thing we're still discussing internally is the SSH tunnel, we're not 
>>sure how we want to go forward (maybe a different solution). We'll let 
>>you know once we've further discussed this.


I have time this month to work on it, keep me in touch.



----- Mail original -----
De: "David Limbeck" <d.limbeck at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 7 Novembre 2018 16:17:56
Objet: Re: [pve-devel] [PATCH qemu-server 0/7] online vm migration to external cluster

Tested it and it seems to overall work. 

One thing we're still discussing internally is the SSH tunnel, we're not 
sure how we want to go forward (maybe a different solution). We'll let 
you know once we've further discussed this. 

On 10/29/18 4:38 PM, Alexandre Derumier wrote: 
> This add support to migrate a vm online to an different external cluster. 
> (This a rework of a previous patch series sent 2years ago) 
> 
> 
> qm migrate <vmid> <targetremotenode> --migration_type external [--targetstorage monpoolceph_vm] --online 
> 
> 
> targetstorage is optional, if not defined it's used same storagename than source 
> targetremotenode is a fqdn host from another cluster. 
> (source node must be able to root ssh to target node with public key) 
> 
> source vm is not deleted currently for safety, just stopped and the migrate lock keeped to avoid 
> to restart it. 
> 
> 
> Please review and comment 
> 
> Alexandre 
> 
> Alexandre Derumier (7): 
> api2 : migrate_vm : add migration_type "external" 
> qm: add nextvmid 
> migrate : prepare : add create_vm for external migration 
> migrate : phase1 : skip sync_disk for external migration 
> migrate : phase2 : migrate external 
> migrate : phase2_cleanup : migrate_external 
> migrate : phase3_cleanup : migrate_external 
> 
> PVE/API2/Qemu.pm | 31 +++++++---- 
> PVE/CLI/qm.pm | 19 +++++++ 
> PVE/QemuMigrate.pm | 156 +++++++++++++++++++++++++++++++++++++++++++---------- 
> PVE/QemuServer.pm | 24 +++++++-- 
> 4 files changed, 188 insertions(+), 42 deletions(-) 
> 

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




More information about the pve-devel mailing list