Replacement Server - best practice/method?

hotwired007

Member
Sep 19, 2011
533
7
16
UK
I am replacing two of my servers with much faster 16 core AMD systems (previously 4 core Intel), whats the best method to do this? I have 5 nodes currently and will be replacing two and removing 1 from the cluster. i need to reassign the current IP addresses to the existing servers.

Whats the best practice to remove the nodes? and rebuild the servers - will it matter if the servers have different names?
 
remove/poweroff the old one, then install the new server (use same hostname and IP) and join with the --force flag.
 
if you provide a new hostname the old will not replaced (you add a new node), therefore you need to delete the old/removed node manually.
 
if you provide a new hostname the old will not replaced (you add a new node), therefore you need to delete the old/removed node manually.

And move the old VM config files to the correct directory in /etc/pve/nodes/<nodename>
 
So walk me through the procedure. I plan on removing Node2 for example:

Node2: migrate all VMs to Node1

Shut down Node2

On Node1: (whats the command to remove the node?)
 
use pvecm, see:

Code:
man pvecm