[Samba] a question about tdb record backup for ctdb failover

sun yekuan sunyekuan at outlook.com
Tue Oct 11 12:05:54 UTC 2016


now I have an opinion:

After smbd store a TDB record, smbd or ctdbd send the record to ctdbd in another node and the node also stores the record.
So there are two lastest and same records in different nodes  at the same time.
I think this is useful for failure recovery.

I am not sure if my opinion is right or whether it is necessary to add this feature .

Hope to get your advices.

thank you.
with best regards.



From: Volker Lendecke<mailto:vl at samba.org>
Date: 2016-10-11 19:46
To: sun yekuan<mailto:sunyekuan at outlook.com>
CC: Volker Lendecke<mailto:vl at samba.org>; samba<mailto:samba at lists.samba.org>; Amitay Isaacs<mailto:amitay at gmail.com>
Subject: Re: [Samba] a question about tdb record backup for ctdb failover
sun yekuan <sunyekuan at outlook.com> writes:

> ok, thank you!
>
> Except witness, what else should CTDB do for supportting transparent
> failover?

ctdb needs to develop a database model to distribute persistent handle
information across nodes. For larger clusters, this will probably also
require to introduce failover groups, you don't want to broadcast
persistent handle information everywhere. This needs to be developed
closely together with Samba, because right now Samba has no notion of
persistent handles. As you know, patches for persistent handles are
already floating around on the lists, but these need to be polished and
integrated into Samba.

Volker


More information about the samba mailing list