1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/config
Martin Schwenke 99b8ef5121 ctdb-scripts: Only use /proc/meminfo for memory checks, not "free"
No need to use 2 different sources of information for similar checks.
Also, output of free has been changed, whereas /proc/meminfo is a
kernel API, which will not change.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2015-08-29 17:06:25 +02:00
..
events.d ctdb-scripts: Only use /proc/meminfo for memory checks, not "free" 2015-08-29 17:06:25 +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 statd-callout: Make sure statd callout script always runs as root 2013-04-08 11:14:28 +10: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: Add new configuration variable CTDB_MAX_OPEN_FILES 2015-04-30 06:45:26 +02:00
debug_locks.sh ctdb-scripts: Fix the regular expresssion for parsing /proc/locks 2014-09-25 07:19:59 +02:00
debug-hung-script.sh ctdb-scripts: Fix stack dumping when debugging hung scripts 2014-11-18 06:37:44 +01:00
functions ctdb-scripts: Move NFS support functions to 60.nfs 2015-07-14 09:57:18 +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: Implement registration in nfs-linux-kernel-callout 2015-07-14 09:57:18 +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-scripts: Remove 60.ganesha, replace with callout for 60.nfs 2015-07-14 09:57:18 +02: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.