ctdb-scripts: Remove 60.ganesha, replace with callout for 60.nfs
authorMartin Schwenke <martin@meltin.net>
Wed, 1 Jul 2015 08:32:35 +0000 (18:32 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 14 Jul 2015 07:57:18 +0000 (09:57 +0200)
commit6586651508a17eea0da7bf32af4b41163924eca9
treeaa947bdb058961e04051ccbd50d9af74c99002e9
parent713ec217507d2f0d5f516efc45c8cd8773fccc14
ctdb-scripts: Remove 60.ganesha, replace with callout for 60.nfs

This isn't a straightforward move of code from 60.ganesha to the
callout.  Simplifications have been made to allow better
interoperation with the new NFS checking logic.

The following configuration variables have been removed:

  CTDB_GANESHA_REC_SUBDIR

    Edit NFS ganesha callout to change this location

  CTDB_NFS_SERVER_MODE, NFS_SERVER_MODE

    Use CTDB_NFS_CALLOUT instead

  CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK, CTDB_SKIP_GANESHA_NFSD_CHECK

    Disable the corresponding .check file instead

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
12 files changed:
ctdb/config/events.d/60.ganesha [deleted file]
ctdb/config/events.d/60.nfs
ctdb/config/functions
ctdb/config/nfs-checks.d/20.nfs_ganesha.disabled [new file with mode: 0644]
ctdb/config/nfs-ganesha-callout [new file with mode: 0755]
ctdb/config/statd-callout
ctdb/doc/ctdbd.conf.5.xml
ctdb/packaging/RPM/ctdb.spec.in
ctdb/tests/eventscripts/60.ganesha.monitor.101.sh [deleted file]
ctdb/tests/eventscripts/60.ganesha.monitor.131.sh [deleted file]
ctdb/tests/eventscripts/60.ganesha.monitor.141.sh [deleted file]
ctdb/tests/eventscripts/scripts/local.sh