1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/config
Amitay Isaacs d6f760f78a ctdb-scripts: Add explicit check for service reconfiguration
This will help get rid of implicit ctdb_service_check_reconfigure.

We still need to keep "reconfigure" event in 13.per_ip_routing, so that
the per ip routing can be refreshed if the configuration has changed.
The correct fix for this is to add caching of configuration and checking
of configuration changes in "ipreallocated" event.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-12-16 08:42:32 +01:00
..
events.d ctdb-scripts: Add explicit check for service reconfiguration 2016-12-16 08:42:32 +01: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: Fix calculation of CTDB_BASE 2016-11-03 10:10:31 +01:00
ctdb.init ctdb-scripts: Avoid shellcheck warning SC2039 (echo -n) 2016-07-21 02:24:26 +02:00
ctdb.service ctdb-packaging: Fix systemd network dependency 2016-09-14 08:39:28 +02:00
ctdb.sudoers ctdb-scripts: Update important installed files to use build-time defaults 2015-09-15 08:56:21 +02:00
ctdbd_wrapper ctdb-scripts: Strengthen check to see if ctdbd is running 2016-10-14 11:54:40 +02:00
ctdbd.conf ctdb-packaging: Move ctdb configuration to ctdbd.conf 2016-07-28 05:00:18 +02:00
debug_locks.sh ctdb-scripts: Fix calculation of CTDB_BASE 2016-11-03 10:10:31 +01:00
debug-hung-script.sh ctdb-scripts: Fix calculation of CTDB_BASE 2016-11-03 10:10:31 +01:00
functions ctdb-scripts: Update CTDB_SCRIPT_DEBUGLEVEL to be symbolic 2016-12-05 08:09:22 +01: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: Avoid shellcheck warning SC2039 (test -nt operator) 2016-07-21 02:24:26 +02:00
notify.d.README scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
notify.sh ctdb-scripts: Quote some variable expansions 2016-07-06 08:15:49 +02:00
README Eventscript support - Remove unused interface_modify.sh 2012-03-22 15:30:27 +11:00
statd-callout ctdb-scripts: Fix calculation of CTDB_BASE 2016-11-03 10:10:31 +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.