Running ctdb with a designated master

Steve French smfrench at gmail.com
Tue Jun 21 08:16:37 UTC 2016


I tried some experiments with forcing only one node (a cluster file
system's metadata server e.g.) to be ctdb master by putting the line

CTDB_CAPABILITY_RECMASTER=no

in the ctdb config file of all other ctdb nodes, and removing the line

CTDB_RECOVERY_LOCK

from those systems as well and specifying

CTDB_RECOVERY_LOCK=/var/lock/.recoverylock

only on the master.

I was wondering if it is safe to remove the CTDB_RECOVERY_LOCK file
from the config of the non-master nodes - it seemed to work, but there
are various warnings about never running without a CTDB_RECOVERY_LOCK
line.


-- 
Thanks,

Steve



More information about the samba-technical mailing list