Skip to main content

Changing IP address of nodes in cluster

1) On Node to have IP address changed edit /etc/pve/corosync.conf

2) Update IP for node to be changed and increment config_version
Once saved this will sync to all other nodes in cluster

3) Edit /etc/network/interfaces and update new IP address

4) Edit /etc/hosts and update new IP address

5) either run

ifdown vmbr0; ifup vmbr0

Then

systemctl restart corosync
systemctl restart pve-cluster

Or simply restart node

6) On EVERY OTHER NODE IN THE CLUSTER run.

systemctl restart corosync

7) Confirm all changes with

pvecm status