1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/config
Ronnie Sahlberg 81fb334cff when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 the daemon
(This used to be ctdb commit d8b400d76665f37ffd9de302eedcff9f23807225)
2012-02-21 19:02:36 +11:00
..
events.d Eventscripts - add facility to 10.interface to delete unmanaged IPs 2011-11-17 16:47:00 +11:00
ctdb-crash-cleanup.sh Fix ctdb-crash-cleanup sysconfig handling 2011-12-06 11:55:46 +11:00
ctdb.init when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 the daemon 2012-02-21 19:02:36 +11:00
ctdb.sysconfig Eventscripts: New configuration variable CTDB_SERVICE_AUTOSTARTSTOP. 2011-08-30 09:33:47 +10:00
functions config/functions: CTDB_VARDIR is /var/lib/ctdb on Debian-like systems 2011-11-08 16:31:03 +11:00
gdb_backtrace lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
interface_modify.sh Scripts: remove absolute paths from interface_modify.sh. 2011-08-08 15:50:10 +10:00
notify.sh server: add "setup" event 2010-02-23 10:38:49 +01:00
README Scripts: add note about not using absolute command paths to README. 2011-08-09 16:36:37 +10:00
statd-callout Eventscripts: remove unnecessary absolute paths from external commands. 2011-08-03 17:19:15 +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.

  interface_modify.sh

    Script to support add/remove IPs and other funky stuff.  Not sure
    why this is separate... but it certainly allows easy wrapping by
    flock.

  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.