To cluster PVEs that have VM.

Jeremy69

New Member
Feb 5, 2024
7
0
1
Hello,I have 2 Proxmox VE servers, and on each of them, I have 2 virtual machines. The first one is called PVE1 and the second one is called PVE2. I want to put these 2 PVEs (PVE1 and PVE2) under the same cluster. How can I do this, and what are the solutions that could make it work?
 
Hi,
it's not possible to join a node to a cluster when there already are guests on it. You could either
  • On the first node, make backups, shut down the guests. On the second node, restore the guests, then create the cluster. On the first node, remove the guests, then join the cluster.
  • Use the experimental remote-migrate feature rather than backup+restore (see man qm or man pct). You can also try and search the forum for examples.
See also: https://pve.proxmox.com/pve-docs/chapter-pvecm.html
Existing (storage) configuration will be lost when joining a cluster: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#pvecm_join_node_to_cluster
In particular, it's highly recommended to add a QDevice, as otherwise both nodes need to be running to have quorum, i.e. a working cluster: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_corosync_external_vote_support
 
  • Like
Reactions: Jeremy69
Hello,I have 2 Proxmox VE servers, and on each of them, I have 2 virtual machines. The first one is called PVE1 and the second one is called PVE2. I want to put these 2 PVEs (PVE1 and PVE2) under the same cluster. How can I do this, and what are the solutions that could make it work?
Offline-Backup VMs of one node to external Disk. Delete all VMs on that node. Join empty node to cluster and restore the VMs....

Oh and... wrong forum... This is the Forum for E-Mail-Software PMG Clusters....
 

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!