Corosync and multicast

RobFantini

Famous Member
May 24, 2012
2,041
107
133
Boston,Mass
Hello

per https://pve.proxmox.com/wiki/Multicast_notes#Using_omping this should show the multicast address on proxmox 4.X :
Code:
corosync-cmapctl -g totem.interface.0.mcastaddr

however I get this result:
Code:
# corosync-cmapctl -g totem.interface.0.mcastaddr
Can't get key totem.interface.0.mcastaddr. Error CS_ERR_NOT_EXIST

mcast related keys stored in the Corosync Cluster Configuration Map :
Code:
# corosync-cmapctl|  grep mcast
runtime.config.totem.rrp_problem_count_mcast_threshold (u32) = 100
runtime.totem.pg.mrp.srp.mcast_retx (u64) = 0
runtime.totem.pg.mrp.srp.mcast_rx (u64) = 847962
runtime.totem.pg.mrp.srp.mcast_tx (u64) = 349199

We're using a 3 node cluster .

I wonder if not having a totem.interface.0.mcastaddr key is a bug or something i set wrong?
 
I wonder if not having a totem.interface.0.mcastaddr key is a bug or something i set wrong?

On my test cluster, I see it on 1 node, but not others nodes. (cluster is working fine).

Edit:

It's working fine after upgrade to last pve-no-subscription packages. (The node where is was working was already upgraded)
 
Last edited:
Please can you post the corosync.conf file?
Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: sys4
    nodeid: 2
    quorum_votes: 1
    ring0_addr: sys4
  }

  node {
    name: sys3
    nodeid: 1
    quorum_votes: 1
    ring0_addr: sys3
  }

  node {
    name: dell1
    nodeid: 3
    quorum_votes: 1
    ring0_addr: dell1
  }

}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: cluster-v4
  config_version: 20
  ip_version: ipv4
  secauth: on
  version: 2
  interface {
    bindnetaddr: 10.1.10.181
    ringnumber: 0
  }

}
 
I use for example:
Code:
auto vmbr0
iface vmbr0 inet static
        address 10.1.xx.xx
        netmask 255.255.255.0
        gateway 10.1.xx.xx
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

That is native Linux bridges.
---
if you use OVS you have stuff like "ovs_type", "ovs_ports","ovs_bridge".
also your pveversion -v would list
openvswitch-switch: 2.3.2-2


Pretty sure you'd know if you use OVS. The reason i was asking is because OVS does not have have IGMP snooping (that is in 2.4) and you'd need such a querier on your hardware switches.

Tl;dr file this under informative but off topic :P
 

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!