1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

ctdb-scripts: Fail monitoring after 1 x NFS-Ganesha not running

If ganesha.nfsd is gone then a node can't provide an NFS service, so
should be marked unhealthy.  A later restart may bring it back to
health.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2024-05-24 11:55:59 +10:00 committed by Martin Schwenke
parent 4766d4568b
commit 707e0ef55b

View File

@ -1,6 +1,6 @@
# nfs_ganesha
restart_every=2
unhealthy_after=6
unhealthy_after=1
service_stop_cmd="$CTDB_NFS_CALLOUT stop nfs"
service_start_cmd="$CTDB_NFS_CALLOUT start nfs"
service_check_cmd="$CTDB_NFS_CALLOUT check nfs"