Skip to content

Commit

Permalink
ctdb-doc: Put NFS in grace on startipreallocate
Browse files Browse the repository at this point in the history
Signed-off-by: Vinit Agnihotri <[email protected]>
Reviewed-by: Martin Schwenke <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
  • Loading branch information
vagnihotri-ddn authored and vlendec committed Mar 6, 2024
1 parent 34c76ff commit e3294e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ctdb/doc/examples/nfs-ganesha-callout
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ grace_period()
fi
}

nfs_startipreallocate()
{
grace_period "0:"
}

nfs_releaseip()
{
_ip="$2"
Expand Down Expand Up @@ -329,6 +334,7 @@ startup
stop
start
check
startipreallocate
releaseip
takeip
monitor-list-shares
Expand All @@ -346,11 +352,12 @@ startup) nfs_startup ;;
stop) service_stop "$1" ;;
start) service_start "$1" ;;
check) service_check "$1" ;;
startipreallocate) nfs_startipreallocate ;;
releaseip) nfs_releaseip "$@" ;;
takeip) nfs_takeip "$@" ;;
monitor-list-shares) nfs_monitor_list_shares ;;
register) nfs_register ;;
monitor-pre|monitor-post|releaseip-pre|takeip-pre|startipreallocate)
monitor-pre|monitor-post|releaseip-pre|takeip-pre)
# Not required/implemented
:
;;
Expand Down

0 comments on commit e3294e5

Please sign in to comment.