OCF_HEARTBEAT_NFSNOT(7)
π ocf_heartbeat_nfsnotify(7) β like, the whole manual, bestie
hey bestie π«Ά so this is a page from the OCF resource agents manuals, and it's literally all about nfsnotify β the sm-notify reboot notifications situation. sit down, grab a strawberry drink π, we're getting into it.
β¨ NAME β¨
okay so, the star of the show: ocf_heartbeat_nfsnotify β and what it does is sm-notify reboot notifications. that's the vibe. π
πΈ SYNOPSIS πΈ
nfsnotify [start | stop | monitor | meta-data | validate-all]
like, those are your moves. pick one. π
π¦ DESCRIPTION π¦
so what does this agent actually do, you ask? it sends NFSv3 reboot notifications to clients β which is the polite way of informing those clients that they should reclaim their locks. it's giving "hey girl, we rebooted, come get your stuff back" energy. π
π SUPPORTED PARAMETERS π
these are the knobs you can turn. read them carefully, no cap:
source_hostβ a comma separated list of floating IP addresses or host names that clients use to access the nfs service. this bad boy is what gets used to set the source address and themon_nameof the SN_NOTIFY reboot notifications. (optional, string, no default) β¨statd_pathβ path to the directory where the statd state lives. heads up: this needs to be on shared storage, fr fr. (optional, string, default"/var/lib/nfs/statd") ποΈnotify_argsβ extra arguments to send to thesm-notifycommand. by default this agent will always setsm-notify's'-f'option. when thesource_hostoption is set, the'-v'option gets used automatically to set the proper source address. any additionalsm-notifyarguments you set with this option get used in addition to the previous default arguments. (optional, string, no default) π₯statd_pathβ okay so this one is, literally, listed again: path to the directory in which the statd state lives, and it needs to be on shared storage. (optional, string, default"/var/lib/nfs/statd"). yes bestie, it shows up twice on the page β we don't question the source, we just report it. π
β SUPPORTED ACTIONS β
this resource agent supports the following actions (operations) β main character energy only:
startβ starts the resource. suggested minimum timeout:90s. π- **
stop``** β stops the resource. suggested minimum timeout:90s`. π monitorβ performs a detailed status check. suggested minimum timeout:90s. suggested interval:30s. πreloadβ suggested minimum timeout:90s. πmeta-dataβ retrieves resource agent metadata (internal use only, iykyk). suggested minimum timeout:10s. π€«validate-allβ performs a validation of the resource configuration. suggested minimum timeout:20s. β
ngl, the timeouts are the whole personality here. respect them.
π EXAMPLE CRM SHELL π
here's an example config for a nfsnotify resource using the crm(8) shell β copy it exactly, don't freestyle:
primitive p_nfsnotify ocf:heartbeat:nfsnotify \
op monitor timeout="90s" interval="30s" depth="0"
ate. π
π§ EXAMPLE PCS π§
and here's the same kinda energy for pcs(8):
pcs resource create p_nfsnotify ocf:heartbeat:nfsnotify \
op monitor timeout="90s" interval="30s" OCF_CHECK_LEVEL="0"
two examples, two icons, both iconic. π
π SEE ALSO π
http://clusterlabs.org/β go say hi, the clusterlabs girlies live there. π
π AUTHOR π
ClusterLabs contributors β see the resource agent source for information about individual authors. credit where credit is due, always. π«Ά
okay that's the whole page, periodt. π this gorgeousness is from resource-agents, version UNKNOWN, dated 10/01/2026 β so go forth, notify those reboots, reclaim those locks, and slay. πΈπ β¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms