Any known issues with rebuilding a host in a cluster and reusing the same hostname?

loneboat

Well-Known Member
Jan 17, 2019
37
2
48
34
I have a 4-node PVE cluster, and one of my nodes needs to be re-built from scratch (I'm re-arranging how the ZFS pool is allocated and rebuilding some of the VDEVs, including the rpool partition).

This host's hostname is embedded across various maintenance scripts which I use, so it would be very convenient to just re-install PVE using the same hostname/etc. But I recall trying that once before and facing some issues. This was several years ago, and I do not remember exactly what the issues were, but at the time I just renamed the new host and my issue went away.

Are there known issues with using a hostname which the cluster has seen prior? Or is it safe simply to re-install PVE on a host, and give it the same hostname?
 
I've reinstalled nodes and re-used the same hostname. This works as long as you've done a graceful node removal as per the docs and verified that the dead node has been removed in the corosync file before re-building

I think up to Proxmox 5 or so this wouldn't work, as metadata would be left behind on a graceful node removal
 
  • Like
Reactions: loneboat

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!