diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-05-06 10:41:22 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-05-06 10:41:22 +1000 |
commit | d86e48d5ff96d03ff2f8b8e162881c41b8397d02 (patch) | |
tree | 86655c0405ece301d68136f43766cf0976178c54 /ctdb/config/ctdb.sysconfig | |
parent | a9c45f9513a59d56a5acf695f05238778da0b414 (diff) | |
download | samba-d86e48d5ff96d03ff2f8b8e162881c41b8397d02.tar.gz |
Add ability to disable recmaster and lmaster roles through sysconfig file and
command line arguments
(This used to be ctdb commit 34b952e4adc53ee82345275a0e28231fa1b2533e)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
-rw-r--r-- | ctdb/config/ctdb.sysconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig index 9d1e4341e0e..58edbff9d9a 100644 --- a/ctdb/config/ctdb.sysconfig +++ b/ctdb/config/ctdb.sysconfig @@ -91,6 +91,23 @@ # the node with "ctdb enable" # CTDB_START_AS_DISABLED="yes" +# LMASTER and RECMASTER capabilities. +# By default all nodes are capable of both being LMASTER for records and +# also for taking the RECMASTER role and perform recovery. +# These parameters can be used to disable these two roles on a node. +# Note: If there are NO available nodes left in a cluster that can perform +# the RECMASTER role, the cluster will not be able to recover from a failure +# and will remain in RECOVERY mode until an RECMASTER capable node becomes +# available. Same for LMASTER. +# These parametersd are useful for scenarios where you have one "remote" node +# in a cluster and you do not want the remote node to be fully participating +# in the cluster and slow things down. +# For that case, set both roles to "no" for the remote node on the remote site +# but leave the roles default to "yes" on the primary nodes in the central +# datacentre. +# CTDB_CAPABILITY_RECMASTER=yes +# CTDB_CAPABILITY_LMASTER=yes + # where to log messages # the default is /var/log/log.ctdb # CTDB_LOGFILE=/var/log/log.ctdb |