ctdb failover problem

Wyllys Ingersoll wyllys.ingersoll at keepertech.com
Fri Feb 14 12:51:58 UTC 2020


On Fri, Feb 14, 2020 at 4:56 AM Martin Schwenke <martin at meltin.net> wrote:

> 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
> > services.
>
> Do you have the Samba "netbios name" parameter set to the same value on
> both nodes?
>


Shortly after posting my question, I found that this was indeed the
problem.  The netbios name was different on each host instead of being set
to a common, shared, name.

Fixed and now its all working.

Thanks!


More information about the samba-technical mailing list