OCF_HEARTBEAT_WINPOP(7)
β¨ ocf_heartbeat_WinPopup π
okay bestie, so this is OCF_HEARTBEAT_WINPOP(7) from the OCF resource agents collection β yes the manpage name is giving shouty uppercase but it's literally just the WinPopup resource agent and she's here to slide into your sysadmin's DMs π«Ά
πΈ NAME πΈ
ocf_heartbeat_WinPopup β she sends an SMB notification message to selected hosts, no cap π
π¦ SYNOPSIS π¦
WinPopup [start | stop | status | monitor | meta-data | validate-all]
that's it, that's the whole vibe check β¨
π DESCRIPTION π
So this is the resource script for WinPopup, and her whole thing is: she sends WinPopups messages to a sysadmin's workstation whenever a takeover occurs. like, the cluster does a little switcheroo and she immediately goes "hey bestie, something happened π" straight to the workstation. iconic behaviour honestly, that's main character energy π₯
π SUPPORTED PARAMETERS π
hostfileβ the file containing the hosts to send WinPopup messages to, fr fr. She needs to know who's getting the message. It's required, it's a string, and the default is"hosts"π
π SUPPORTED ACTIONS π
This resource agent supports the following actions (operations), and yes each one has opinions about how long she's allowed to take:
startβ starts the resource. Suggested minimum timeout:30s. she's waking up, give her a sec πstopβ stops the resource. Suggested minimum timeout:30s. same energy, she does not do rushed goodbyes πstatusβ performs a status check. Suggested minimum timeout:10s. Suggested interval:10s.monitorβ performs a detailed status check. Suggested minimum timeout:10s. Suggested interval:10s. she's thorough, okay? π§validate-allβ performs a validation of the resource configuration. Suggested minimum timeout:5s.meta-dataβ retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s. not for you, bestie, that one's for the cluster π
π EXAMPLE CRM SHELL π
here's an example configuration for a WinPopup resource using the crm(8) shell β copy it exactly, don't get creative with the quotes, I'm begging:
primitive p_WinPopup ocf:heartbeat:WinPopup \
params \
hostfile="hosts" \
op monitor depth="0" timeout="10s" interval="10s"
look at her. so neat. so demure πΈ
β EXAMPLE PCS β
and here's the same energy for pcs(8):
pcs resource create p_WinPopup ocf:heartbeat:WinPopup \
hostfile="hosts" \
op monitor OCF_CHECK_LEVEL="0" timeout="10s" interval="10s"
not me noticing the depth vs OCF_CHECK_LEVEL difference between the two examples π that's just how the tools spell it, both are correct, don't @ me π
π SEE ALSO π
http://clusterlabs.org/β go say hi, they're lovely
π«Ά AUTHOR π«Ά
ClusterLabs contributors (see the resource agent source for information about individual authors) π
β οΈ real talk: this whole page is fromresource-agentsversionUNKNOWN, dated04/08/2026, and it lives at section 7 of the manual βOCF_HEARTBEAT_WINPOP(7)π
and that's the whole page bestie, you ate it, periodt π β¨π¦
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms