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. the notify action 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