Remove nodes from cluster - reinstall with same hostname and IP?

Apr 29, 2021
35
6
13
47
Hi.
I'm about to remove two nodes from my 13 node cluster, to form a new cluster (with a q device). The new cluster will be handled by multiportal, to see if it works out for us.

Can I just remove them (per documentation), reinstall them and reuse IP address and nodenames, or will this cause any issues?

How about re-adding them to the cluster, if multiportal doesn't work out for us? Do I need to change nodename/IP then?

I'm aware that the ssh key won't be the same.

TIA
/Markus
 
Last edited:
Can I just remove them (per documentation), reinstall them and reuse IP address and nodenames, or will this cause any issues?

There are literally millions of IP addresses available for you to use. (See RFC1918.) I really do not understand why so many people want to re-use them, just take the next free address.

The same for the name. Take a new one!

That said...: yes, you can do that. But it is cumbersome, error prone, not well documented and not necessary.

(( The reason is that you will find remaining data fragments in /etc/pve of the cluster, e.g. host-keys and fingerprints belonging to the old instances. It is not really trivial to clean this up, but it is absolutely possible. ))

Good luck :-)
 
Thanks for elaborating. I really don't see it as reasonable to render a used ip unuseful after It's been on a host once, either. That subnet is a dedicated pve management net.

Well, I guess I can get a new ip address within the subnet, but the nodename shows which bladechassies position the node is in, and which type of server it is. Naming conventions you know - yeah, not the best naming convention, I know, but that's what I have to work with.
Thanks again!
 
  • Like
Reactions: Slash/