Live migration between local storage without a cluster

virtRoo

Member
Jan 27, 2019
27
4
23
Hi all,

Is it possible to do live migration from one standalone Proxmox host with local storage to another one without joining both to a cluster if the destination host has the same or higher minor version?

I know this is possible on generic CentOS 7 with qemu-kvm-ev, but it seems Proxmox still requires a cluster to achieve this?

Thanks.
 
No, no update yet.
 
No, no update yet.

Thanks mira. It'd be great if this can be implemented as requiring a cluster setup would be an overkill if one simply wants to live migrate VMs between standalone hosts with local storage, or from one cluster to another cluster.
 
Thanks mira. It'd be great if this can be implemented as requiring a cluster setup would be an overkill if one simply wants to live migrate VMs between standalone hosts with local storage, or from one cluster to another cluster.

We are working on this already, as mentioned above.
 
As far as I know nobody is currently actively working on it, but it's still on the TODO list. I'll try to take a look again once I get a chance. Perhaps there's not much to change to get it up and running again. And if I remember correctly there were still some things to discuss.
From looking through the mailing list, it seems v7 is the latest version?
 
Last edited:
it's on my TODO list, but I ordered API tokens first since I want to leverage them to make cross-/inter-cluster access easy to revoke. I see two more building blocks:

- an encrypted tunnel via the API to forward local unix sockets (avoid SSH keys, not strictly necessary for PoC/experimental feature)
- definition of remote clusters/nodes in a config file, so that we can give permissions on them, reference them as targets in API calls, ... (also not strictly necessary for PoC/experimental feature)

that would need to land first to allow proper integration. I haven't decided yet whether I'll rebase your patch first, and then work on the "proper" version as non-experimental feature, or just concentrate on the latter.
 
it's on my TODO list, but I ordered API tokens first since I want to leverage them to make cross-/inter-cluster access easy to revoke. I see two more building blocks:

- an encrypted tunnel via the API to forward local unix sockets (avoid SSH keys, not strictly necessary for PoC/experimental feature)
- definition of remote clusters/nodes in a config file, so that we can give permissions on them, reference them as targets in API calls, ... (also not strictly necessary for PoC/experimental feature)

that would need to land first to allow proper integration. I haven't decided yet whether I'll rebase your patch first, and then work on the "proper" version as non-experimental feature, or just concentrate on the latter.
That's sound great :) (I'm dreaming of a multi-cluster gui ;)

Also, the drive mirror is still not encrypted if I remember. I think it's possible to do it directly with qemu through tls. (not sure about ssh tunnel performance, as it's limited to 1core)
 
That's sound great :) (I'm dreaming of a multi-cluster gui ;)

Also, the drive mirror is still not encrypted if I remember. I think it's possible to do it directly with qemu through tls. (not sure about ssh tunnel performance, as it's limited to 1core)

@mira is looking at the drive-mirror already.
 
Just stumbled upon this thread when I was looking for something similar to virsh migrate for Proxmox. Is there any update on this by any chance?
 
did some initial ground work last year and a now severely outdated proof of concept for the migration part - but it's high on my TODO list again for the next months!
 
  • Like
Reactions: SagnikS
Hi,
did you had time to have a deeper look on this feature?
It would be a mandatory feature for a current planning of a deployment.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!