1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/config
Martin Schwenke 82e7f38214 ctdb-config: Change example recovery lock setting to one that fails
ctdbd will start without a recovery lock configured.  It will log a
message saying that this is not optimal.  However, a careless user may
overlook both this message and the importance of setting a recovery
lock.  If the existing example configuration is uncommented then the
directory containing it will be created (by 01.reclock.script) and the
failure (i.e. multiple nodes able to take the lock) will be confusing.

Instead, change the example setting to one that will result in banned
nodes, encouraging users to consciously configure (or deconfigure) the
recovery lock.  Tweak the corresponding comment.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13790

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-02-25 02:12:16 +01:00
..
events ctdb-scripts: date "+%N" is non-portable 2018-07-28 03:50:11 +02:00
nfs-checks.d ctdb-scripts: Move 60.nfs Ganesha callout to doc/examples/ 2015-07-21 07:54:09 +02:00
ctdb-crash-cleanup.sh ctdb-scripts: Use load_script_options() in miscellaneous scripts 2018-05-12 06:11:17 +02:00
ctdb.conf ctdb-config: Change example recovery lock setting to one that fails 2019-02-25 02:12:16 +01:00
ctdb.init ctdb-scripts: Split CTDB configuration loading 2018-03-28 02:57:20 +02:00
ctdb.service ctdb-config: Add default ctdb.sysconfig file, update ctdb.service 2018-05-12 06:11:17 +02:00
ctdb.sudoers ctdb-scripts: Update important installed files to use build-time defaults 2015-09-15 08:56:21 +02:00
ctdb.sysconfig ctdb-config: Add default ctdb.sysconfig file, update ctdb.service 2018-05-12 06:11:17 +02:00
ctdb.tunables ctdb-scripts: Tunables are now loaded from ctdb.tunables 2018-03-28 02:57:21 +02:00
ctdbd_wrapper ctdb: Drop configuration file ctdbd.conf 2018-05-17 07:03:04 +02:00
debug_locks.sh ctdb-scripts: Provide a gstack function if gstack is not available 2018-07-11 14:47:21 +02:00
debug-hung-script.sh ctdb-scripts: Use load_script_options() in miscellaneous scripts 2018-05-12 06:11:17 +02:00
functions ctdb-tests: Replace md5sum with posix cksum 2018-07-28 03:50:11 +02:00
nfs-linux-kernel-callout ctdb-scripts: Avoid shellcheck warning SC2039 (test -nt operator) 2016-07-21 02:24:26 +02:00
notification.README ctdb-scripts: Change directory for notifications to events/notification 2018-06-05 17:47:26 +02:00
notify.sh ctdb-scripts: Change directory for notifications to events/notification 2018-06-05 17:47:26 +02:00
README ctdb-scripts: Move event scripts to events/legacy/ directory 2018-06-05 17:47:26 +02:00
script.options ctdb-scripts: Drop event script CTDB_MANAGED_<service> variables 2018-07-11 11:48:39 +02:00
statd-callout ctdb-scripts: Don't load CTDB configuration in statd-callout 2018-05-12 06:11:17 +02:00

This directory contains run-time support scripts for CTDB.

Selected highlights:

  ctdb.init

    An initscript for starting ctdbd at boot time.

  events/

    Eventscripts.  See events/README for more details.

  functions

    Support functions, sourced by eventscripts and other scripts.

  statd-callout

    rpc.statd high-availability callout to support lock migration on
    failover.

Notes:

* All of these scripts are written in POSIX Bourne shell.  Please
  avoid bash-isms, including the use of "local" variables (which are
  not available in POSIX shell).

* Do not use absolute paths for commands.  Unit tests attempt to
  replace many commands with stubs and can not do this if commands are
  specified with absolute paths.  The functions file controls $PATH so
  absolute paths should not be required.