Configuring the CTDB recovery lock
Configure CTDB to use a recovery lock to avoid a "split-brain" situation.
- Setting up a cluster filesystem (by default - see below)
The recovery lock, configured via the
recovery lock option in the
cluster section, provides important split-brain prevention and is usually configured to point to a lock file in the cluster filesystem. See the RECOVERY LOCK section in ctdb(7) for more details.
[cluster] recovery lock = /clusterfs/.ctdb/reclock
Samba ≤ 4.8
ctdbd.conf option is
CTDB_RECOVERY_LOCK. For example: