Changing IP subnet for cluster/corosync

Jon morby

New Member
Mar 1, 2018
22
0
1
52
Is there a recommended way to change the subnet which CoroSync/Proxmox uses for it's "primary" interface, without breaking the cluster or experiencing excessive downtime?


For technical/design reasons, I need (want) to move the corosync traffic to a a different vlan and renumber the admin interfaces from a public network to a private / non routed network for security and to split the multicast traffic away from a shared customer network
 
In the section "Separate After Cluster Creation", since there is only a single ring0_addr, does it mean that there is a single network interface? Don't we also need to change the IP address of each node, on top of modifying corosync.conf?

Thanks!
 
In the section "Separate After Cluster Creation", since there is only a single ring0_addr, does it mean that there is a single network interface? Don't we also need to change the IP address of each node, on top of modifying corosync.conf?
When the entry was deleted from corosync.conf, then it is just another node in the same subnet.
 
When the entry was deleted from corosync.conf, then it is just another node in the same subnet.
Thanks,

but if there is a single subnet (network interface) then we have to change the system IP address at the same time as corosync.conf? On all nodes?
 
Yes, I did. Everything points to needing a second network interface, though. What is the process, however, of changing subnet (and mask) with a single network interface?
Best use a second ring then you can switch it more easily. It is also recommend for redundancy. Otherwise you will need to restart all corosync instances to get quorum on the new subnet. Else change IPs in corosync.conf and restart corosync. HA should be disabled.
 

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!