Could anyone explain why do corosync (KNET) choose best link with the highest priority instead of the lowest one (as written in PVE wiki)?
Very confused with corosync3 indeed...
Very confused with corosync3 indeed...
Code:
quorum {
provider: corosync_votequorum
}
totem {
cluster_name: amarao-cluster
config_version: 20
interface {
bindnetaddr: 172.16.253.101
ringnumber: 0
linknumber: 0
knet_link_priority: 10
}
interface {
bindnetaddr: 172.16.252.101
ringnumber: 1
linknumber: 1
knet_link_priority: 1
}
ip_version: ipv4
rrp_mode: passive
secauth: on
version: 2
token: 5000
}
Code:
Sep 14 11:19:09 pve-node1 pmxcfs[2871]: [dcdb] notice: wrote new corosync config '/etc/corosync/corosync.conf' (version = 20)
Sep 14 11:19:09 pve-node1 corosync[3056]: [CFG ] Config reload requested by node 2
Sep 14 11:19:09 pve-node1 corosync[3056]: [TOTEM ] Configuring link 0
Sep 14 11:19:09 pve-node1 corosync[3056]: [TOTEM ] Configured link number 0: local addr: 172.16.253.101, port=5405
Sep 14 11:19:09 pve-node1 corosync[3056]: [TOTEM ] Configuring link 1
Sep 14 11:19:09 pve-node1 corosync[3056]: [TOTEM ] Configured link number 1: local addr: 172.16.252.101, port=5406
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 6 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 6 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 8 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 8 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 7 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 7 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 5 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 5 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 4 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 4 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 3 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 3 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 2 (passive) best link: 0 (pri: 10)
Sep 14 11:19:09 pve-node1 corosync[3056]: [KNET ] host: host: 2 (passive) best link: 0 (pri: 10)
...