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

S J

New Member
Mar 23, 2016
1
0
1
53
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