Changed nodes hostname, now I have two nodes?

MrSprint

New Member
Aug 30, 2021
5
2
1
39
Hi All

So I followed the steps (although clearly I cocked up somewhere) to change my nodes hostname. After a reboot, I now have this?
1687617837674.png

VM 201 was never powered up, I was just checking that I'd enabled PCIe passthrough. If I select it, it behaves like its trying to reach an offline node? The VMcan be deleted. What have I dont wrong and how do I fix this without borking the whole thing? Once resolved I can add this node to my existing cluster. :)

Thanks
Sprint
 
You changed the hostname in /etc/hosts, /etc/hostname and /etc/postfix/main.cf?

Then you will most likely still have the old node name in /etc/pve/nodes where the node specific settings are stored, including guest configs. You could move that directory (/etc/pve/nodes/pve) first somewhere else before you delete it.
 
You changed the hostname in /etc/hosts, /etc/hostname and /etc/postfix/main.cf?

Then you will most likely still have the old node name in /etc/pve/nodes where the node specific settings are stored, including guest configs. You could move that directory (/etc/pve/nodes/pve) first somewhere else before you delete it.
I had changed it in all but /etc/postfix/main.cf, as the documentation said it wasn't required, and I'd not had todo it for my other 2 nodes. I just deleted the PVE folder and rebooted, and its looking good! :) I've successfully added it to the cluster and all appears well :)

Thanks for the quick fix :)

Sprint