OCF_PACEMAKER_DUMMY(7)
π
OCF_PACEMAKER_DUMMY β a.k.a. the ocf_pacemaker_Dummy page, from the Pacemaker Configuration manual π
okay bestie, buckle up, because today we're reading the manual page for ocf_pacemaker_Dummy(7) and honestly? it's a whole vibe. it's the girl who shows up to the group project, does absolutely nothing, but still gets an A because she knows exactly how to appear productive. πβ¨
β¨ NAME β¨
ocf_pacemaker_Dummy β literally the example stateless resource agent. that's it. that's the job. π«Ά
πΈ SYNOPSIS πΈ
here's how you summon her, parameters first (all optional, all strings, all vibes):
[OCF_RESKEY_state=string] [OCF_RESKEY_passwd=string]
[OCF_RESKEY_fake=string] [OCF_RESKEY_op_sleep=string]
[OCF_RESKEY_fail_start_on=string] [OCF_RESKEY_envfile=string]
and then the actions themselves:
Dummy [start | stop | monitor | reload | reload-agent | migrate_to |
migrate_from | validate-all | meta-data]
periodt. π
π¦ DESCRIPTION π¦
so. this is a dummy OCF resource agent. and when we say dummy we mean it: it does absolutely nothing except keep track of whether it is running or not. that's the entire personality. iconic behavior, no notes. π
but like β and this is the good part β she's configurable, so you can make her actions fail or make them take a long time. she's basically a drama generator on demand. π
her purpose is primarily for testing, and she also serves as a template for resource agent writers. so if you're out here writing your own agent and you need a reference, she's your girl. π§
π SUPPORTED PARAMETERS π
every single one of these, bestie. no skips, no cuts, we stan a complete list:
OCF_RESKEY_state= string [/Dummy-.state] β the state file. this is the location where the resource state gets stored. she keeps her diary here. πOCF_RESKEY_passwd= string [] β password. it's a fake password field. totally fake. don't put your real secrets in here, i'm begging. πOCF_RESKEY_fake= string [dummy] β the fake attribute that can be changed to cause an agent reload. that's the whole description and honestly it bears repeating: fake attribute that can be changed to cause an agent reload. it's giving "change me and see what happens." π₯OCF_RESKEY_op_sleep= string [0] β operation sleep duration in seconds. this is the number of seconds to sleep during operations. use it to test how the cluster reacts to operation timeouts. queen of the nap arc. π΄OCF_RESKEY_fail_start_on= string [] β report bogus start failure on the specified host. so when you set this, thestart,migrate_from, andreload-agentactions will return failure if they're running on the host specified here β but the resource will run successfully anyway (future monitor calls will find it running). the whole point is testingon-fail=ignore. she's failing on purpose, it's a bit. πOCF_RESKEY_envfile= string [] β environment dump file. if this is set, the environment will be dumped to this file for every call. every. single. call. ποΈ
heads up bestie: that fail_start_on one is deliberately lying to you. the failure is bogus by design, the resource actually runs fine, and that's the test. don't @ me, @ the cluster. β οΈ
π AUTHOR π
Andrew Beekhof <andrew@beekhof.net> β author. π
and that's the whole page, bestie! short, chaotic, does nothing, changes everything. π
signing off from the Pacemaker Configuration edition, dated 09/17/2026 β see you in the next OCF_PACEMAKER_DUMMY(7), mwah π
π¦ where this page comes from
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms