Corosync 3 fail over on proxmox 6

Apr 22, 2021
8
0
1
43
Hi!

We are currently implementing a secondary 2 link for corosync and when reading the documentation it says that the secondary ring (ring with lower priority) wont see any traffic unless all higher priorities have failed.

Code:
# cat /etc/pve/corosync.conf
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: pve-01
    nodeid: 1
    quorum_votes: 1
    ring0_addr: 10.100.0.xxx
    ring1_addr: 10.200.0.xxx
  }
  node {
    name: pve-02
    nodeid: 2
    quorum_votes: 1
    ring0_addr: 10.100.0.xxx
    ring1_addr: 10.200.0.xxx
  }
  node {
    name: pve-03
    nodeid: 3
    quorum_votes: 1
    ring0_addr: 10.100.0.xxx
    ring1_addr: 10.200.0.xxx
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: pve_cluster01
  config_version: 6
  interface {
    linknumber: 0
  }
  interface {
    linknumber: 1
  }
  ip_version: ipv4
  secauth: on
  version: 2
}

In our case we the have majority of our servers connected to one switch which is used by primary ring and I was wondering in the case that the switch goes down for maintenance, shouldn't corosync secondary link become the active link for the cluster?

Looking forward for your response.

Thanks!
 
Last edited:
We are about to test the link failover by:

# Test 1 - shutdown 2 of the links of the primary , connection should failover to secondary ring
# Test 2 - shutdown 2 of the links of the primary ring and 1 of the secondary, connection should failover to secondary ring

But when reading the official document it mentions that only when all links of the primary fail the connection will fail over.

* https://pve.proxmox.com/wiki/Cluster_Manager

Since lower priority links will not see traffic unless all higher priorities have failed
 

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!