Switching two PVE instances.

Leopold31

New Member
Jul 23, 2024
3
0
1
Situation: I have a three node PVE cluster at my SMB and they are named pve1, pve2, and pve3. And I have a single PVE node at home named pveq. All nodes use local ZFS storage. I'd really like to switch pve1 and pveq due to pveq having better hardware that I really don't need at home. I'm trying to make sure I have a well-thought out plan. I believe I want to:

  1. Backup all VMs and containers on PVEQ to our PBS instance.
  2. Move all VMs and containers on PVE1 to PVE2.
  3. Remove replication jobs between PVE1 and PVE2.
  4. Run from shell of PVE2 or PVE3: pvecm delnode pve1.
  5. Power off pve1 (and pveq).
Now I believe the next step is to REINSTALL Proxmox on each node, but naming what was pveq to pve1 when we install it. And naming what was pve1 to pveq when we install it. And then to join the new pve1 to our cluster. And of course, to finish setting up pveq for the homelab. Re-establish replication, HA status, restore VMs to their natural resting place, etc.

Does this sound about right? Am I missing anything that would cause disaster?
 
Removing a node from a cluster is slightly more involved than simply issuing the command `pvecm delnode pve1`, you especially have to make sure that pve1 is powered off and won't come back online on the same network. For details please see https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_remove_a_cluster_node

After that you can reinstall pve on both pve1 and pveq and choose new names, you should then be able to join the other server to the cluster.
If you choose pve1 for your old pveq node it might be that you have to perform some additional steps on all existing cluster nodes if it was created with a version < 8.1