[pve-devel] Live storage migration v5
Alexandre DERUMIER
aderumier at odiso.com
Tue Oct 25 17:16:56 CEST 2016
>>this will be a bit complicated, as we are traversing node boundaries
>>here. with "move disk", we can simply add the source disk as "unused
>>disk". with this proposed live-migration for local disks, the source
>>disk is not just unused, but also orphaned (the VM it belongs to does
>>not exist on the same node anymore!).
>>not sure how we should/could handle this in a sane way (for offline
>>migration, we also don't offer this option btw - if the migration fails,
>>we clean up on the target node, if it succeeds, the local source disks
>>are gone).
Maybe could we reuse the snapshot feature, will a special snapshot name
[SNAPSTORAGEMIGRATE-OLDNODE]
virtio0:...
virtio1:
Rollbacking, simply move the config to old node and restart vm.
(and we have the original config of the vm when it was running on old server)
Delete the snapshot delete the drives on the old server.
?
----- Mail original -----
De: "Fabian Grünbichler" <f.gruenbichler at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Cc: "aderumier" <aderumier at odiso.com>
Envoyé: Mardi 25 Octobre 2016 13:46:42
Objet: Re: [pve-devel] Live storage migration v5
On Tue, Oct 25, 2016 at 01:30:57PM +0200, Wolfgang Bumiller wrote:
> And the old disks don't get deleted yet (which is useful during testing
> but should probably not be the default. But it might even be useful to
> make this optional (similar to how we have a delete flag in move_disk).
this will be a bit complicated, as we are traversing node boundaries
here. with "move disk", we can simply add the source disk as "unused
disk". with this proposed live-migration for local disks, the source
disk is not just unused, but also orphaned (the VM it belongs to does
not exist on the same node anymore!).
not sure how we should/could handle this in a sane way (for offline
migration, we also don't offer this option btw - if the migration fails,
we clean up on the target node, if it succeeds, the local source disks
are gone).
More information about the pve-devel
mailing list