I have created a feature request in the Proxmox bugzilla, I hope we get support for this feature:
https://bugzilla.proxmox.com/show_bug.cgi?id=1118
https://bugzilla.proxmox.com/show_bug.cgi?id=1118
Last edited:
"Live" migration without shared storage would be great
Xenserver, in example, support it .....
phase1
------
target host
-----------
create new volumes if storage != share
---------------------------------------
add a new qm command ?
phase2
------
1)target host
send qm start to target: we need start the target vm with new disks locations.
-----------------------------------------------------------------------------
How to do this ?
Currently the target vm read the vm config file.
Do we need to update the vmconfig file before mirroring ?
or pass drive parameters in qm start command ?
start nbd_server
----------------
nbd_server_start ip:port
add drives to mirror to nbd
---------------------
nbd_server_add drive-virtio0
nbd_server_add drive-virtio1
3)source host
start mirroring of the drives
------------------------------
drive-mirror target = nbd:host:port:exportname=drive-virtioX
when drive-mirror is finished, (block-job-complete),
the source vm will continue to access volume on the remote host through nbd
start vm migration
------------------
end of vm migration
-------------------
phase3
------
1)target host
resume vm
----------
nbd_server_stop
---------------
2) source vm
delete source mirrored volumes
-------------------------------
Isn't this already managed by virsh?
Hmm, how a local storage migration can start after the node is down?
And who want to migrate "several hundred gigabyte KVM guests" over 1 Gigabit network?
Sorry i don't get it.
So it's for maintenance only. For HA u need shared storage and it's usefull for maintenance also.
Gluster exist.
How do you intend to make it atomic?I'l try to look if I can make some basic implementation for next month.
Limiting to 1 local disk by vm for now. (is it enough for for need ?)
How do you intend to make it atomic?
I will suggest this as a two-step function:
1) Migrate disk
2) Migrate server
This way makes rollback a lot easier.
To follow current model migration will be done over cluster network.please ask for a transfer network