Add old node to new cluster

petardimic

New Member
Nov 17, 2024
7
0
1
Hello!

I have bough 2 new servers and I have created cluster with those 2 nodes, now I wanna add old node which has al my VMs to new cluster and live migrate all VMs.

Thing is when I try to join to cluster from old node I get this error:

root@home-node-5500:~# pvecm add prox-02.domain.tld
Please enter superuser (root) password for 'prox-02.domain.tld': ********************
detected the following error(s):
* this host already contains virtual guests
Check if node may join a cluster failed!

Any idea? Can't add since I have VMs on old node...
 
Last edited:
That doesn't work this way. Your old node should be the 1. node of a new cluster and then add empty new nodes.
Dejoin your 2 new servers or maybe reinstall your 2 new nodes so that you can add them to your old host.
PS: Maybe update your old host first bevor joining to new installed with newer versions.
 
  • Like
Reactions: UdoB
That is still okay!

Can I later remove old node after I do full migration of all VMs and set let's say prox-01 as main?

Now home-node-5500 is old one and will be temp main.
 
Yes, you can remove 1 node after all machines are migrated and no storage from that node (if any on) is shared further more,
And there is no real master in a pve cluster even if it's shown in datacenter under ha quorum.