[SOLVED] change the internal nodes IP class on a cluster

piviul

Active Member
Mar 19, 2020
50
3
28
Hi all, I have configured a cluster of 2 nodes separating the internal communication network and the LAN using 2 different IP classes; now I would like to change the class of internal iface nodes of the cluster. I have stopped both corosync and pve-cluster on both nodes then changed the ip address (modifyng /etc/network/interfaces) of the internal iface nodes and the corosync cluster descriprion accordingly (modifying the /etc/corosync/corosync.conf) and then restarted corosync and pve-cluster. All seems to work except that the cluster continue to memorize the old class and restarting the server corosync get the configuration from to the cluster rewriting the /etc/corosync/corosync.conf

I think the method applied is not the right method.

Please someone can address me how to change the IP class of the internal communication network of a cluster?

Piviul
 
Hi,

/etc/corosync/corosync.conf

This is only used to bootstrap the cluster and the clustered configuration filesystem, once started the one in /etc/pve/corosync.conf will be copied over, at least if not newer config_version (IIRC).

You could edit that one on a single node, it will propagate to all others if the cluster is quorate, and then just restart corosync.service
 
Thank you very much indeed, I have changed internal communication network range successfully.

My best regards

Piviul
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!