Tried to do the 2nd step, for the cluster -Upfront question, why?
So to answer your question we have do differ between to cases:
*) Single node - no cluster configured: no, here we give back 0 as there is simply no reason to another value. If you do not want to change the code then no, there is no possibility.
*) Cluster:
The node id is used and given by corosync, so yes you can change it in a cluster, simply edit the /etc/pve/corosync.conf file and change the respective nodeid.
Maybe do a reboot of said node after that and then your done.
But it does not give you any features or anything and I don't know if it has bad side effects (I suppose not but never really thought about it)
systemctl stop pve-cluster corosync.service
## Edited and changed Cluster's Node ID
vi /etc/corosync/corosync.conf
pmxcfs -l
## Edited and changed Cluster's Node ID
vi /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster.service corosync.service
But then come's the following error - "hostname lookup 'pve4' failed - failed to get address info for: pve4: Temporary failure in name resolution (500)"
Edit: I have did the same thing on the host and the node itself, then the issue got fixed!
We use essential cookies to make this site work, and optional cookies to enhance your experience.