1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/config
Martin Schwenke 3c73949317 initscript: The wrapper script should export CTDB_SOCKET
This ensures that any invocation of the ctdb tool (within the wrapper)
gets the desired value.  This at least ensures that ctdbd will be
started.

If a non-standard value is set for CTDB_SOCKET then command-line users
will still need the variable in their environment.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 37ccc7c6cc43a80aaa92291aea7a438f4225488a)
2013-07-29 15:58:51 +10:00
..
events.d eventscripts: A missing interface should cause monitoring to fail 2013-07-19 15:35:41 +10:00
nfs-rpc-checks.d eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services 2013-05-07 12:55:09 +10: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 initscript: Simpify initscript and control CTDB via new ctdbd_wrapper 2013-07-10 15:19:27 +10:00
ctdb.service packaging: Add systemd support 2013-07-10 18:14:33 +10:00
ctdb.sudoers statd-callout: Make sure statd callout script always runs as root 2013-04-08 11:14:28 +10:00
ctdb.sysconfig eventscripts: New configuration varable $CTDB_NFS_DUMP_STUCK_THREADS 2013-06-14 15:15:06 +10:00
ctdbd_wrapper initscript: The wrapper script should export CTDB_SOCKET 2013-07-29 15:58:51 +10:00
debug_locks.sh scripts: Add an example debug_locks.sh script to debug locking issue 2013-07-10 14:33:18 +10:00
debug-hung-script.sh scripts: Run scriptstatus for hung event 2013-07-29 14:02:13 +10:00
functions eventscripts: kill_tcp_connections() should send connections to stdin 2013-07-29 15:53:06 +10:00
gcore_trace.sh common: Debug ctdb_addr_to_str() using new function ctdb_external_trace() 2012-10-18 20:05:42 +11:00
gdb_backtrace lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01: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 statd-callout: Make sure statd callout script always runs as root 2013-04-08 11:14:28 +10: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.