Un-cluster after migration old to new hardware?

pyellowbird

Active Member
Apr 23, 2021
3
0
41
56
To migrate all VMs to a new machine I've joined both the old an new machine to a cluster, as suggested in the documentation (no Ceph, just local harddisks, no replication set up).
That worked like a charm. After the successful migration I've shut down the old machine.

But now I cannot start any VM as the cluster is marked as degraded.

There is are some pretty old forum post like https://forum.proxmox.com/threads/remove-or-reset-cluster-configuration.114260/ on how to do this.
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pvecm_separate_node_without_reinstall is prefixed with "This is not the recommended method". A quick pre-check tells me some files mentioned do not exist on my machine, so I'm somewhat worried the documentation might be out of date.

Since this is a production environment and I have only one shot I'd like to know the correct way for current Proxmox version.

$
pveversion
pve-manager/9.2.21/4f6e0ac86f9e8c7f (running kernel: 6.2.16-3-pve)

$ pvecm nodes
Membership information
Nodeid Votes Name
1 1 s1 <--- old, to be removed
2 1 s2 (local)

Thanks for any hints!
 
I know this is not helpful now but in the future you can also run Proxmox Datacenter Manager (in a container) to migrate between (un-clustered) Proxmox hosts. But you will need to do a backup and restore for the PDM as it cannot live migrate itself (unless maybe when installed in a VM?).
 
  • Like
Reactions: Christian Kraus
The VMs wont start because the remaining node lost quorum with the other one gone. As a quick fix you can run pvecm expected 1 on s2 and it should let you start them again. After that you can do the proper separation, just take a backup of /etc/pve and your VMs first.
 
  • Like
Reactions: Johannes S