change host ip in pve cluster: No route to host(595)

johnhk

New Member
Aug 22, 2022
7
1
3

there is a 3 nodes pve cluster, and I want to change the ip of one node:​


before:

pve2:10.0.0.31
pve-s:10.0.0.32
pve4:10.0.0.34


after:

pve2:10.0.0.31
pve-s:10.0.0.33 (changed)
pve4:10.0.0.34


firstly, I edited /etc/corosync/corosync.conf , change the ring0_addr of node pve-s from 10.0.0.32 to 10.0.0.33,

then I changed the related ip address in /etc/network/interface on host pve-s

finally, I restart corosync.service on every nodes:

systemctl restart corosync.service
now, the pve cluster runs normally, but I can't visit the host pve-s from web gui, and the Datacenter' summary still showed the old ip address of the pve-s host.

1661737549362.png


1661737583565.png


1661737610976.png


why, and how to resolve it?
 
and /etc/pve/.members still shows the old ip "10.0.0.32":



Code:
# cat /etc/pve/.members
{
"nodename": "pve4",
"version": 7,
"cluster": { "name": "pve-cluster", "version": 6, "nodes": 3, "quorate": 1 },
"nodelist": {
  "pve-s": { "id": 1, "online": 1, "ip": "10.0.0.32"},
  "pve2": { "id": 2, "online": 1, "ip": "10.0.0.31"},
  "pve4": { "id": 4, "online": 1, "ip": "10.0.0.34"}
  }
}