eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services
commit434f9e8594c24eafe82b02be1e1396f48484bb47
authorMartin Schwenke <martin@meltin.net>
Tue, 23 Apr 2013 02:17:31 +0000 (23 12:17 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 7 May 2013 02:55:09 +0000 (7 12:55 +1000)
treedaa11e6e6797ea61cdbe1530147d9b843957d29f
parent05b2edeec215ada64a0cea50c350f545b334939e
eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services

* New directory nfs-rpc-checks.d/ replaces hardcoded rules in 60.nfs

* Installation and packaging additions to handle nfs-rpc-checks.d/

* Unit test updates, including deleting 1 test that sanity checked
  test infrastructure

* Test infrastructure changes to use nfs-rpc-checks.d/

Note that this removes support for $CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK in
60.nfs.  To get the equivalent behaviour, edit 20.nfsd.check and
remove/comment all lines.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 7e792d6768d9ca420ce3713cb122e63afd594b15)
14 files changed:
ctdb/Makefile.in
ctdb/config/events.d/60.nfs
ctdb/config/nfs-rpc-checks.d/10.statd.check [new file with mode: 0644]
ctdb/config/nfs-rpc-checks.d/20.nfsd.check [new file with mode: 0644]
ctdb/config/nfs-rpc-checks.d/30.lockd.check [new file with mode: 0644]
ctdb/config/nfs-rpc-checks.d/40.mountd.check [new file with mode: 0644]
ctdb/config/nfs-rpc-checks.d/50.rquotad.check [new file with mode: 0644]
ctdb/packaging/RPM/ctdb.spec.in
ctdb/tests/INSTALL
ctdb/tests/eventscripts/60.nfs.monitor.100.sh [deleted file]
ctdb/tests/eventscripts/60.nfs.monitor.112.sh
ctdb/tests/eventscripts/etc-ctdb/nfs-rpc-checks.d [new symlink]
ctdb/tests/eventscripts/etc-ctdb/rc.local.nfs.monitor.get-limits [deleted file]
ctdb/tests/eventscripts/scripts/local.sh