1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/config
Martin Schwenke 46684867b1 ctdb-recovery: Recovery lock setting can now include helper command
The underlying change is to allow the cluster mutex argstring to
optionally contain a helper command.  When the argument string starts
with '!' then the first word is the helper command to run.  This is
now the standard way of changing the helper from the default.

CTDB_CLUSTER_MUTEX_HELPER show now only be used to change the location
of the default helper when testing.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2016-04-28 09:39:17 +02:00
..
events.d ctdb-recovery: Recovery lock setting can now include helper command 2016-04-28 09:39:17 +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 scripts: drop_all_public_ips() now prints messages to stdout, not log 2013-06-20 13:01:09 +10:00
ctdb.init Add missing $remote_fs LSB dependency 2013-10-24 16:54:08 +11:00
ctdb.service initscript: Update systemd configuration to put PID file in /run/ctdb 2013-10-25 12:06:07 +11: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-scripts: Add new configuration variable CTDB_MAX_OPEN_FILES 2015-04-30 06:45:26 +02:00
ctdbd_wrapper ctdb-scripts: Call out to ctdb_lvs helper from 91.lvs 2016-04-15 05:57:17 +02:00
debug_locks.sh ctdb-scripts: Lock debugging should print kernel stack for process in D state 2015-10-16 13:35:10 +02:00
debug-hung-script.sh ctdb-scripts: Move remaining state files into CTDB_SCRIPT_VARDIR 2015-09-15 08:56:21 +02:00
functions ctdb-scripts: Use ss instead of netstat for finding TCP connections 2016-04-17 13:54:13 +02:00
gcore_trace.sh common: Debug ctdb_addr_to_str() using new function ctdb_external_trace() 2012-10-18 20:05:42 +11:00
nfs-linux-kernel-callout ctdb-scripts: Missing NFS thread count file should just produce warning 2016-04-17 13:54:13 +02:00
notify.d.README scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
notify.sh scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
README Eventscript support - Remove unused interface_modify.sh 2012-03-22 15:30:27 +11:00
statd-callout ctdb: Install helpers under libexecdir 2016-02-12 09:01:14 +01:00

This directory contains run-time support scripts for CTDB.

Selected highlights:

  ctdb.init

    An initscript for starting ctdbd at boot time.

  events.d/

    Eventscripts.  See events.d/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.