summaryrefslogtreecommitdiffstats
path: root/ctdb/config/ctdb-crash-cleanup.sh
Commit message (Collapse)AuthorAgeFilesLines
* scripts: drop_all_public_ips() now prints messages to stdout, not logMartin Schwenke2013-06-201-1/+1
| | | | | | | | Change all callers to maintain current behaviour. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 0b67397ef5419c781a35916575151da7b7e7cc27)
* scripts: Ensure even external scripts get tagged in logs as "ctdbd"Martin Schwenke2013-04-221-2/+2
| | | | | | | | | Our practice is to search logs for "ctdbd:". We want to make sure we find everything. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5940a2494e9e43a83f2bca098bd04dfc1a8f2e93)
* scripts: Ensure service command is in $PATH in ctdb-crash-cleanup.shMartin Schwenke2013-04-191-5/+5
| | | | | | | | | Move the use of the service command below inclusion of functions file, which sets $PATH. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit d254d03f69cbdc3e473202b759af6e1392cbb59c)
* scripts: ctdb-crash-cleanup.sh uses initscript to see if ctdbd is runningMartin Schwenke2013-04-181-1/+1
| | | | | | | | | | | "ctdb ping" can time out. How many times should we try? Instead, depend on the initscript to implement something sane. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit 90cb337e5ccf397b69a64298559a428ff508f196)
* scripts: Rework ctdb-crash-cleanup.sh so that it uses existing functionsMartin Schwenke2013-01-081-32/+17
| | | | | | | | This improves maintainability. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit e2aaa64925cca359c71520e01a18fc9461b0da4d)
* Fix ctdb-crash-cleanup sysconfig handlingMathieu Parent2011-12-061-2/+11
| | | | (This used to be ctdb commit 667b174d605646b53f4855e9aaf5f8ce4fdde532)
* config can be in /etc/default/ instead of /etc/sysconfig/Mathieu Parent2011-11-081-1/+1
| | | | | | | | ... on Debian system and derivated. (ctdb_diagnostics still hardcodes /etc/sysconfig/) (This used to be ctdb commit 1341329f6125d491b82c873f793af819e677f714)
* In the example script to remove all ip addresses after a ctdb crash,Ronnie Sahlberg2010-04-231-1/+1
| | | | | | | add the NATGW address as one to be removed in addition to the public addresses. (This used to be ctdb commit 234b86fb19aae7a43f1dd2c0f69b03164fe5aaca)
* add an example script that can be called from crontab to cleanupRonnie Sahlberg2010-04-221-0/+35
and release public ip addresses if ctdbd is no longer running (This used to be ctdb commit 1cdaaa0a3f53d1b075340a33dfdc42b534e99187)