Migration between Clusters on different network

Taledo

Active Member
Nov 20, 2020
79
9
28
54
Hi All,

Happy new year! Best wishes to everyone.

I have been trying PDM to see how it could fit our proxmox deployments. So far, I have 3 VMs, two PVE and one PDM.

Everything seems to be working fine, but it appears nodes need to be able to talk to each other to migrate VMs.

Is there a proxy feature planned where the VM would be migrated from PVE A on the PDM and then from the PDM to PVE B? Sure, It'll be slower, but would mean you can migrate between two clusters that cannot talk to each other.

Best Regards,
 
The "qm remote-migrate" command can already do this, so I would imagine this will eventually be possible.

You can run the command below from the source node pointed at the destination node on a different cluster today:

qm remote-migrate [Source ID] [Destination ID] 'apitoken=PVEAPIToken=[API Token]=[API Secret],host=[Remote Server Address]' --target-bridge "[remote network bridge name]" --target-storage "[remote data store name]"

E.x.

qm remote-migrate 100 101 'apitoken=PVEAPIToken=root@pam!Temp=ABCD1234-1234-ABCD-1234-ABCD1234,host=remotehost.company.tld' --target-bridge "vmbr0" --target-storage "data"
 
I've been testing migration between clusters.
It blew me away when I saw that it worked at all.
And then i was amazed that it worked because migration was on a different vlan.
And then i set it up at home and VMs were able to hop between clusters on two different subnets.

I fully expect to run into issues eventually. It's alpha software. It can't be this smart.
So, I would really like the down and dirty details of how the plumbing needs to be configured in order to make cluster-to-cluster migration work.

Couple questions for the staff ...
What are the requirements for PDM cluster-to-cluster migration?
Can I restrict it to a specific subnet?
Got any more specs or info? Maybe I should click that Documentation button ... :]
 

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!