Replace proxmox host in a cluster

p-user

New Member
Jan 26, 2024
13
2
3
I want to replace one of the hosts in my (very modest) proxmox cluster. I want to keep the old name (i.e. pve1).

Are there any steps/procedures I need to keep looking out for? Pitfalls?

Thanks in advance,
Albert
 
Last edited:
Pitfalls?
Maybe.

There are reasons that this is not recommended/documented (as far as I know).

You need to follow both https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_remove_a_cluster_node and possibly https://pve.proxmox.com/wiki/Renaming_a_PVE_node and cleanup /etc/pve manually of any leftovers from the old removed node - before installing the new instance.

Probably it is easier to name the new node "pve<n+1>" ;-)

That said... I have done that and it worked - after said work "under the hood". My personal pitfall was that I had not started all cluster members before these changes. To re-add the node that was turned-off was an additional challenge, but not a real problem.
 
  • Like
Reactions: p-user
Ok, done. Worked as expected:

pvecm delnode pve1
rm -rf /etc/pve/nodes/pve1

Then shutdown the node, Install a new one with the same name and IP nr.

When I added that one to the cluster I noticed that my SDN network had a state of pending for this node. So I needed to apply the SDN configuration again. Then the status cleared.

Thanks for all the help guys,
Albert
 
  • Like
Reactions: UdoB