Changing IP address for all nodes in Proxmox Cluster
Steps
- Change IP in all nodes in following files /etc/network/interfaces and /etc/hosts
- Change all IP address in /etc/pve/corosync.conf
- Reboot all nodes.
Troubleshooting
If above failed during the synchronization, use following commands to fix it.
- Stop cluster services on the node that wasn't synchronized
systemctl stop corosync.service
systemctl stop pve-cluster
- Update the
corosync.conf
file manually
vi /etc/corosync/corosync.conf
- Restart cluster services
systemctl start corosync.service
systemctl start pve-cluster
Verify configuration file again and cluster status
cat /etc/corosync/corosync.conf
pvecm status