need to Change hostname for nodes in proxmox cluster

powersupport

Active Member
Jan 18, 2020
249
2
38
29
Hi,

Can anyone advise on how to change the hostname of nodes in a proxmox cluster? We have tried to change it by editing the below files but it is not working.
  • /etc/hosts
  • /etc/hostname



 
  • Like
Reactions: Xaviero
  • Like
Reactions: Stoiko Ivanov
Can anyone advise on how to change the hostname of nodes in a proxmox cluster?
Dont. just dont.

What you can do, if you REALLY must, is to evict nodes one by one, reinstall (do NOT skip this part), and read. see https://pve.proxmox.com/wiki/Cluster_Manager#_remove_a_cluster_node

yes, you can follow the link in that link but even they don't recommend doing it. screwing up here can lead to data corruption.
 
yes, you can follow the link in that link but even they don't recommend doing it. screwing up here can lead to data corruption.
I've done it successfully in our lab a few times. That said, if someone manages to do it incorrectly and cause some sort of cluster wide issue - it wouldnt surprise me.

PS if this was a production cluster and I had to do this, I would build a virtual cluster matching the config and try there. Perfect use for a cluster of hypervisors :)


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
  • Like
Reactions: guletz

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!