ctdb failover problem
martin at meltin.net
Fri Feb 14 09:56:00 UTC 2020
On Thu, 13 Feb 2020 11:32:55 -0500, Wyllys Ingersoll via
samba-technical <samba-technical at lists.samba.org> wrote:
> Running 4.10.13 with ctdb and 2 nodes behind haproxy.
> The ctdb configuration does NOT use public addresses (since these are
> managed by haproxy).
> Both nodes come up and join together successfully, and one of them is
> joined to the AD domain. The problem is that if the node that is joined to
> AD fails, the 2nd node doesn't rejoin the domain and so even though new
> requests are routed to it (via haproxy), since it is not explicitly joined
> to the domain, clients fail to authenticate and cannot access the shares or
Do you have the Samba "netbios name" parameter set to the same value on
> What is the trick to make ctdb automatically join the domain when a
> secondary node becomes the primary?
Note that Clustered Samba is usually set up as active-active. That is,
smbd can accept connections on all nodes, so there doesn't have to be a
primary and a secondary.
peace & happiness,
More information about the samba-technical