OCF_HEARTBEAT_DUMMYP(7)
π OCF_HEARTBEAT_DUMMYP(7) π
okay bestie, so this is the manual page for ocf_heartbeat_dummypy β literally the most low-stakes resource agent in the whole cluster, and I'm obsessed with her for it π
β¨ NAME β¨
ocf_heartbeat_dummypy β an example stateless resource agent, no cap π«Ά
πΈ SYNOPSIS πΈ
dummypy [start | stop | monitor | migrate_to | migrate_from | meta-data
| validate-all]
π¦ DESCRIPTION π¦
okay so picture this: this is a Dummy Resource Agent. She does absolutely nothing except keep track of whether she's running or not π and honestly? iconic. Her whole purpose in life is testing stuff and being a template for RA writers to copy from. main character energy for a file that's basically a vibe check.
NB: pls pay attention to the timeouts specified in the actions section below, bestie. fr fr. They should be meaningful for the kind of resource the agent manages. They should be the minimum advised timeouts, but they shouldn't/cannot cover _all_ possible resource instances. So try to be neither overly generous nor too stingy β be moderate, slay. And the minimum timeouts should never be below 10 seconds. never. periodt. π
This resource agent may be configured for native migration if that's available in the cluster manager π For Pacemaker, the allow-migrate="true" meta attribute enables native migration. iykyk.
π§ SUPPORTED PARAMETERS π§
stateβ where you wanna store the resource state, bestie. π (unique, optional, string, no default)fakeβ a fake attribute that you can change to cause a reload. yes, fake. yes, on purpose. π (optional, string, no default)
π₯ SUPPORTED ACTIONS π₯
This resource agent supports the following actions (operations), and each one has a lil suggested minimum timeout so you don't leave her hanging:
startβ starts the resource. suggested minimum timeout:20s. βstopβ stops the resource. suggested minimum timeout:20s. πmonitorβ performs a detailed status check. suggested minimum timeout:20s. suggested interval:10s. πreloadβ suggested minimum timeout:20s. πmigrate_toβ executes the steps necessary for migrating the resource to the node. suggested minimum timeout:20s. π¦migrate_fromβ executes the steps necessary for migrating the resource away from the node. suggested minimum timeout:20s. πvalidate-allβ performs a validation of the resource configuration. suggested minimum timeout:20s. βmeta-dataβ retrieves resource agent metadata (internal use only, bestie, don't touch π). suggested minimum timeout:10s. π
π EXAMPLE CRM SHELL π
here's an example config for a dummypy resource using the crm(8) shell β copy her, she's cute:
primitive p_dummypy ocf:heartbeat:dummypy \
meta allow-migrate="true" \
op monitor timeout="20s" interval="10s" depth="0"
π EXAMPLE PCS π
and here's the same vibe for a dummypy resource using pcs(8) β¨
pcs resource create p_dummypy ocf:heartbeat:dummypy \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
β SEE ALSO β
- http://clusterlabs.org/ β go be nosy, bestie π«Ά
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). literal legends, every single one π
okay that's the whole page, you ate that π β¨ mwah π
cute lil sign-off: this is resource-agents UNKNOWN, dated 10/01/2026, and it's page OCF_HEARTBEAT_DUMMYP(7) β screenshot it, memorise it, live it πΈπ¦
π¦ 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