OCF_PACEMAKER_STATEF(7)
π OCF_PACEMAKER_STATEF(7) β like, the Stateful girlie of the Pacemaker Configuration manual, section 7, bestie β¨
okay so picture this: you're deep in the Pacemaker Configuration section 7 of your man pages, and this little icon shows up. That's her. That's ocf_pacemaker_Stateful. She's an example resource agent, she's got range (two whole roles!), and she's about to explain herself. π
πΈ NAME πΈ
ocf_pacemaker_Stateful β literally the example stateful resource agent. that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
here's how you summon her, parameters first:
[OCF_RESKEY_state=string] [OCF_RESKEY_envfile=string]
[OCF_RESKEY_notify_delay=string]
and here's the actual command with all her actions:
Stateful [start | stop | monitor | monitor | promote | demote | notify |
meta-data | reload-agent | validate-all]
yes bestie, monitor is in there twice. i did not stutter and neither did the man page. π copy it exactly like that, iykyk.
π¦ DESCRIPTION π¦
she's an example resource agent that implements Promoted and Unpromoted roles. that's it, that's the main character energy. two roles, one icon, periodt. π
π§ SUPPORTED PARAMETERS π§
okay this is the part where we go through her settings one by one, and i'm gonna be so real with you, there's only three, so we're gonna slay this in like thirty seconds:
OCF_RESKEY_state= string [/Stateful-.state] β the State file. this is the spot where the resource state gets stored. that's the default path right there, with the dash and the dot and everything, don't go "fixing" it. βOCF_RESKEY_envfile= string []β the Environment dump file. if you set this, the environment gets dumped into this file on every single call. every one. she's thorough like that. π
heads up: the default is empty, that's why it's just [] sitting there looking all lonely. if you leave it unset, no dumping happens. π«Ά
OCF_RESKEY_notify_delay= string []β the Notify delay in seconds. thenotifyaction will sleep for this many seconds before returning, and the whole point is to simulate a long-running notify. yes, it's a fake-out for testing. no, that doesn't make it any less iconic. π₯
π AUTHOR π
Andrew Beekhof <andrew@beekhof.net> β author. credit where credit is due, and we stan. π
that's the whole page bestie, you read it, you get it, you're basically a Pacemaker girlie now π
Pacemaker Configuration β dated 09/17/2026 β this has been your OCF_PACEMAKER_STATEF(7) moment, 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