diff --git a/ctdb/doc/examples/21.nfs.check b/ctdb/doc/examples/21.nfs.check new file mode 100644 index 00000000000..0a230e7886a --- /dev/null +++ b/ctdb/doc/examples/21.nfs.check @@ -0,0 +1,7 @@ +# nfs_ganesha RPC +restart_every=6 +unhealthy_after=2 +service_stop_cmd="$CTDB_NFS_CALLOUT stop nfs" +service_start_cmd="$CTDB_NFS_CALLOUT start nfs" +service_stats_cmd="$CTDB_NFS_CALLOUT stats nfs" +service_debug_cmd="program_stack_traces ganesha.nfsd" diff --git a/ctdb/doc/examples/README b/ctdb/doc/examples/README index a4ea2228b50..02f552aee32 100644 --- a/ctdb/doc/examples/README +++ b/ctdb/doc/examples/README @@ -7,9 +7,10 @@ Sample CTDB configuration files: o 91.lvs.options - Options for the 91.lvs event script Sample 60.nfs configuration for NFS ganesha - callout script and -.check file +.check files o nfs-ganesha-callout o 20.nfs_ganesha.check + o 21.nfs.check See the comment at the top of nfs-ganesha-callout for instructions. diff --git a/ctdb/doc/examples/nfs-ganesha-callout b/ctdb/doc/examples/nfs-ganesha-callout index d57a659da11..74c3ad5c1f9 100755 --- a/ctdb/doc/examples/nfs-ganesha-callout +++ b/ctdb/doc/examples/nfs-ganesha-callout @@ -15,9 +15,9 @@ # copy of) this script, making sure it is executable. # # * Create a new directory alongside the nfs-checks.d directory, for -# example nfs-checks-ganesha.d. Install 20.nfs-ganesha.check in -# this directory. Symlink to any other check files from -# nfs-checks.d that should still be used, such as +# example nfs-checks-ganesha.d. Install 20.nfs_ganesha.check and +# 21.nfs.check in this directory. Symlink to any other check files +# from nfs-checks.d that should still be used, such as # 00.portmapper.check. Set CTDB_NFS_CHECKS_DIR to point to this new # directory of check files. #