]> git.proxmox.com Git - pve-cluster.git/commit
corosync: allow to set link priorities
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 28 May 2019 16:13:22 +0000 (18:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jun 2019 08:21:30 +0000 (10:21 +0200)
commite7f9c8cc7f9986c1c30d309ad2826a6f33b14b3f
tree3cda436e8925a55d5fba454c793c8bd5783f4a4f
parent046173ce24fb5ac6a7c19677b24603b98ce75494
corosync: allow to set link priorities

For now in passive mode, a link with a higher value has a lower
priority. If the current active link fails the one with the next
higher priority will take over. Use 255 as maximum, as internally
kronosnet uses an uin8_t variable for this, and while there can be
"only" 8 links currently it may be still nice to use different values
that ]0..1[ for them, e.g., when re-shuffling link priorities it's
useful to have space between them.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm
data/PVE/Corosync.pm