What's the proper way to specify a multicast address in 4.1?

S J

New Member
Mar 23, 2016
1
0
1
52
Hi,

TL;DR: What's the correct way to specify a multicast address in v4.1 in a way that proxmox is aware of it and won't overwrite it in the future?

Longer version:
Just installing 4.1. My network admin has specified a multicast address which I must use.

In a one-node config, I figured out how to remove the "cluster_name" directive and add "mcastaddr" to /etc/corosync/corosync.conf (and restart the service).

When joining a 2nd node, it stalled at "waiting for quorum". I noticed that corosync.conf on the FIRST node had been re-written, destroying my changes.

Restarting corosync on the first node allowed the 2nd node to join, but it's using a multicast address derived from the cluster name, not the one my network admins insist I use.

It looks like some of the corosync config may be hard-coded in pvecm.pm, but I figure that specifying a specific multicast address must be a common need. So I thought I'd ask here:

What's the correct way to specify a multicast address in v4.1 in a way that proxmox is aware of it and won't overwrite it in the future?
 
In a one-node config, I figured out how to remove the "cluster_name" directive and add "mcastaddr" to /etc/corosync/corosync.conf (and restart the service).

Changes for corysync have to be done in

/etc/pve/corosync.conf
 

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!