Scroll to navigation

OCF_HEARTBEAT_NFSNOT(7) OCF resource agents OCF_HEARTBEAT_NFSNOT(7)

NAME

ocf_heartbeat_nfsnotify - sm-notify reboot notifications

SYNOPSIS

nfsnotify [start | stop | monitor | meta-data | validate-all]

DESCRIPTION

This agent sends NFSv3 reboot notifications to clients which informs clients to reclaim locks.

SUPPORTED PARAMETERS

source_host
Comma separated list of floating IP addresses or host names that clients use to access the nfs service. This will be used to set the source address and mon_name of the SN_NOTIFY reboot notifications.
(optional, string, no default)
notify_args
Additional arguments to send to the sm-notify command. By default this agent will always set sm-notify's '-f' option. When the source_host option is set, the '-v' option will be used automatically to set the proper source address. Any additional sm-notify arguments set with this option will be used in addition to the previous default arguments.
(optional, string, default "false")

SUPPORTED ACTIONS

This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 90.
stop
Stops the resource. Suggested minimum timeout: 90.
monitor
Performs a detailed status check. Suggested minimum timeout: 90. Suggested interval: 30.
reload
Suggested minimum timeout: 90.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 10.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20.

EXAMPLE CRM SHELL

The following is an example configuration for a nfsnotify resource using the crm(8) shell:
primitive p_nfsnotify ocf:heartbeat:nfsnotify \
  op monitor timeout="90" interval="30" depth="0" 

EXAMPLE PCS

The following is an example configuration for a nfsnotify resource using pcs(8)
pcs resource create p_nfsnotify ocf:heartbeat:nfsnotify \
  op monitor timeout="90" interval="30" depth="0" 

SEE ALSO

http://clusterlabs.org/

AUTHOR

ClusterLabs contributors (see the resource agent source for information about individual authors)
06/07/2017 resource-agents 4.0.0~rc1-4~bp