Proxmox Cluster change IP of a node

Proxmox Cluster change IP of a node

Changing the IP address of a Proxmox cluster node is similar to changing the IP on a Linux machine, but it involves additional steps.

Step 1

Update the new IP on these files

/etc/network/interfaces

/etc/hosts

Step 2

Stop the corosync and cluster services

systemctl stop corosync.service pve-cluster.service

Step 3

Force local mode (ignore corosync.conf, force quorum) to edit the corosync files

pmxcfs -l

Step 4

Change IP for the node in /etc/corosync/corosync.conf ; increase config_version parameter by one, so that the configuration file would not replaced by previous one.

Step 5

Restart the services and kill pmxcfs

killall pmxcfs
systemctl restart pve-cluster.service corosync.service