Hello everyone,
I'm trying to setup a cluster with two hosts:
both have two ethernet adapters all within the same subnet.
I've created resources for an adapter for each hosts.
Here is the example:
Stack: corosync
Current DC: ceha06 (version 2.0.2-1.el8-744a30d655) - partition with quorum
Last updated: Thu Oct 1 12:50:48 2020
Last change: Thu Oct 1 12:32:53 2020 by root via cibadmin on ceha05
Current DC: ceha06 (version 2.0.2-1.el8-744a30d655) - partition with quorum
Last updated: Thu Oct 1 12:50:48 2020
Last change: Thu Oct 1 12:32:53 2020 by root via cibadmin on ceha05
2 nodes configured
2 resources configured
2 resources configured
Online: [ ceha05 ceha06 ]
Active resources:
db2_ceha05_ens192 (ocf::heartbeat:db2ethmon): Started ceha05
db2_ceha06_ens192 (ocf::heartbeat:db2ethmon): Started ceha06
db2_ceha06_ens192 (ocf::heartbeat:db2ethmon): Started ceha06
I also have a qdevice setup:
# corosync-qnetd-tool -l
Cluster "hadom":
Algorithm: LMS
Tie-breaker: Node with lowest node ID
Node ID 2:
Client address: ::ffff:<ip for ens192 for host 2>:40044
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Node ID 1:
Client address: ::ffff:<ip for ens192 for host 1>:37906
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Cluster "hadom":
Algorithm: LMS
Tie-breaker: Node with lowest node ID
Node ID 2:
Client address: ::ffff:<ip for ens192 for host 2>:40044
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Node ID 1:
Client address: ::ffff:<ip for ens192 for host 1>:37906
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
When I ifconfig down ens192 for host 1, looks like qdevice changes the Client address to the other adapter and still give quorum to the lowest node ID (which is host 1 in this case) even when the network is down for host 1.
Cluster "hadom":
Algorithm: LMS
Tie-breaker: Node with lowest node ID
Node ID 2:
Client address: ::ffff:<ip for ens192 for host 2>:40044
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Node ID 1:
Client address: ::ffff:<ip for ens256 for host 1>:37906
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Algorithm: LMS
Tie-breaker: Node with lowest node ID
Node ID 2:
Client address: ::ffff:<ip for ens192 for host 2>:40044
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Node ID 1:
Client address: ::ffff:<ip for ens256 for host 1>:37906
Configured node list: 1, 2
Membership node list: 1, 2
Vote: ACK (ACK)
Is there a way we can force qdevice to only route through a specified adapter (ens192 in this case)?
Also while I'm on this topic, is multiple communication ring support with pacemaker supported or will be supported in the near future?
Thank you,
Richard
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/
