Configuring the CTDB recovery lock
From SambaWiki
Revision as of 05:52, 29 January 2017 by MartinSchwenke (talk | contribs) (Created page with "= Goal = Configure CTDB to use a recovery lock to avoid a "split-brain" situation. = Prerequisites = * Setting up a cluster filesystem (by default - see below) = CTDB...")
Goal
Configure CTDB to use a recovery lock to avoid a "split-brain" situation.
Prerequisites
- Setting up a cluster filesystem (by default - see below)
CTDB configuration
The recovery lock, configured via CTDB_RECOVERY_LOCK
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.
For example:
CTDB_RECOVERY_LOCK=/clusterfs/.ctdb/reclock