summaryrefslogtreecommitdiff
path: root/ctdb/doc
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2017-02-22 18:55:56 +1100
committerMartin Schwenke <martins@samba.org>2017-02-24 07:47:11 +0100
commit4fa9026bbd9f67348d3203e0205c59ff4fb51d2d (patch)
tree84b22180e3a4de309c19f91fee25f3c79334cbc4 /ctdb/doc
parent1c8a3988eed5f35462fbd438b5d2e0637117ad4e (diff)
downloadsamba-4fa9026bbd9f67348d3203e0205c59ff4fb51d2d.tar.gz
ctdb-doc: Fix monitoring bug in example NFS Ganesha call-out
There is no "check" method. This was an error in the original example. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rwxr-xr-xctdb/doc/examples/nfs-ganesha-callout6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/doc/examples/nfs-ganesha-callout b/ctdb/doc/examples/nfs-ganesha-callout
index 283f20482ae..4660a1cc5fa 100755
--- a/ctdb/doc/examples/nfs-ganesha-callout
+++ b/ctdb/doc/examples/nfs-ganesha-callout
@@ -324,7 +324,7 @@ shutdown
startup
stop
start
-check
+monitor-pre
releaseip
takeip
monitor-list-shares
@@ -341,12 +341,12 @@ shutdown) nfs_shutdown ;;
startup) nfs_startup ;;
stop) service_stop "$1" ;;
start) service_start "$1" ;;
-check) service_check "$1" ;;
+monitor-pre) service_check "$1" ;;
releaseip) nfs_releaseip "$@" ;;
takeip) nfs_takeip "$@" ;;
monitor-list-shares) nfs_monitor_list_shares ;;
register) nfs_register ;;
-monitor-pre|monitor-post|releaseip-pre|takeip-pre)
+monitor-post|releaseip-pre|takeip-pre)
# Not required/implemented
:
;;