mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
ctdb-doc: Add example for NFS-Ganesha RPC checking
This one does an rpcinfo check, along with statistics mitigation. It can be used in combination with the existing 20.nfs_ganesha.check. The equivalent kernel NFS file only restarts every 10 failures. This one can be a little more proactive given that false positives are less likely with the statistics mitigation. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
d96078e263
commit
4766d4568b
7
ctdb/doc/examples/21.nfs.check
Normal file
7
ctdb/doc/examples/21.nfs.check
Normal file
@ -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"
|
@ -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.
|
||||
|
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user