Adding nodes to cluster, wrong IP

  • Thread starter Thread starter eg1l
  • Start date Start date
E

eg1l

Guest
Hi.

I want to create a cluster, first with only two nodes. The first node has IP address A on vmbr0.
However, I would like to use IP address B from vlbr2002 (VLAN 2002) as node address.
When creating the cluster on the first node, "Node addresses" displays IP address A.
Trying to add the second node with an IP from the B range, gives the following error: "authentication key already exists".

How can I change the cluster node IP addresses?
 
see /etc/hosts

this IP is used for cluster communication.
 
see /etc/hosts

this IP is used for cluster communication.

Thanks, that makes sense. Are there any other services that uses the hostfile for resolving?
I don't want to break anything by changing the IP in /etc/hosts.
 
Thanks, that makes sense. Are there any other services that uses the hostfile for resolving?
I don't want to break anything by changing the IP in /etc/hosts.

Did not seem to break anything, but "pvecm status" still shows the old IP address.
Also tried restarting pve-cluster.