OCF_HEARTBEAT_DELAY(7)
π OCF_HEARTBEAT_DELAY(7) β like, the Delay resource agent, bestie
okay so this page lives in the OCF resource agents manual section, and it's literally about a resource agent whose whole personality is waiting. yes. that's the job. she waits. and honestly? iconic.
β¨ NAME β¨
ocf_heartbeat_Delay β literally just waits for a defined timespan π°οΈβ¨
π SYNOPSIS π
Delay [start | stop | status | monitor | meta-data | validate-all]
that's it. that's the whole vibe. pick an action, she'll get to it. eventually. that's the point π«Ά
πΈ DESCRIPTION πΈ
so like, this script is a resource whose entire main character energy is introducing a delay. that's it. no cap. it delays. if you need something to justβ¦ take a minute? take several minutes? she's your girl π
π SUPPORTED PARAMETERS π
startdelayβ how long, in seconds, to delay on the start operation. (optional, integer, default20)stopdelayβ how long, in seconds, to delay on the stop operation. (optional, integer, default30)mondelayβ how long, in seconds, to delay on the monitor operation. (optional, integer, default30)
no extra params, no surprises, just three little numbers controlling how long she's gonna be π
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations), and yes, she serves in all of them:
startβ starts the resource. suggested minimum timeout:30s.stopβ stops the resource. suggested minimum timeout:40s.statusβ performs a status check. suggested minimum timeout:40s. suggested interval:10s.monitorβ performs a detailed status check. suggested minimum timeout:40s. suggested interval:10s.meta-dataβ retrieves resource agent metadata (internal use only, so like, don't touch, bestie π). suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:5s.
π EXAMPLE CRM SHELL π
here's an example config for a Delay resource using the crm(8) shell. steal it, it's cute:
primitive p_Delay ocf:heartbeat:Delay \
op monitor depth="0" timeout="40s" interval="10s"
β EXAMPLE PCS β
and here's the same kinda thing for a Delay resource using pcs(8):
pcs resource create p_Delay ocf:heartbeat:Delay \
op monitor OCF_CHECK_LEVEL="0" timeout="40s" interval="10s"
(yes the monitor attribute is spelled different between the two β depth vs OCF_CHECK_LEVEL β don't ask me why, just copy it exactly fr fr π)
π¦ SEE ALSO π¦
that's the one link. go touch grass there π±
π§ AUTHOR π§
ClusterLabs contributors β and for the deets on individual authors, check the resource agent source, periodt π
a little reminder from me to you: every default, every timeout, every interval up there? keep them exactly as written. she may be chill but the config is not β¨
sign-off szn π this page is from resource-agents, version UNKNOWN (mysterious, love that for her π
), dated 10/01/2026. mwah, go forth and delay things ππ¦
π¦ 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