eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services
authorMartin Schwenke <martin@meltin.net>
Tue, 23 Apr 2013 02:17:31 +0000 (12:17 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 7 May 2013 02:55:09 +0000 (12:55 +1000)
commit7e792d6768d9ca420ce3713cb122e63afd594b15
tree302121b93367ece40240a6b8c742e58025347e17
parentd9775fcbd6e30eef8382bea68e2f9bad2309f2c1
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>
14 files changed:
Makefile.in
config/events.d/60.nfs
config/nfs-rpc-checks.d/10.statd.check [new file with mode: 0644]
config/nfs-rpc-checks.d/20.nfsd.check [new file with mode: 0644]
config/nfs-rpc-checks.d/30.lockd.check [new file with mode: 0644]
config/nfs-rpc-checks.d/40.mountd.check [new file with mode: 0644]
config/nfs-rpc-checks.d/50.rquotad.check [new file with mode: 0644]
packaging/RPM/ctdb.spec.in
tests/INSTALL
tests/eventscripts/60.nfs.monitor.100.sh [deleted file]
tests/eventscripts/60.nfs.monitor.112.sh
tests/eventscripts/etc-ctdb/nfs-rpc-checks.d [new symlink]
tests/eventscripts/etc-ctdb/rc.local.nfs.monitor.get-limits [deleted file]
tests/eventscripts/scripts/local.sh