OCF_PACEMAKER_ATTRIB(7)
π ocf_pacemaker_attribute β the manual page, but make it a vibe β¨
okay so bestie, this is OCF_PACEMAKER_ATTRIB(7) from the Pacemaker Configuration section of the manual, and it's literally all about one little resource agent called attribute π
πΈ NAME πΈ
ocf_pacemaker_attribute β it manages a node attribute. that's it, that's the whole job, and it ate π
β¨ SYNOPSIS β¨
[OCF_RESKEY_state=string] [OCF_RESKEY_name=string]
[OCF_RESKEY_active_value=string] [OCF_RESKEY_inactive_value=string]
attribute [start | stop | monitor | reload | migrate_to | migrate_from |
validate-all | meta-data]
so you can pass in those four env-var-ish parameters (all optional, defaults below, no cap), and then the agent itself takes one of those actions. iconic lineup honestly π
π DESCRIPTION π
this resource agent controls a node attribute for the node it's running on. the way it works is so clean: it sets the attribute one way when started, and another way when stopped, and which values it uses is entirely up to your configuration parameters π¦
like, it's giving "tiny agent, big responsibility". it's just flicking an attribute on and off for you. main character energy for something so small fr fr.
π SUPPORTED PARAMETERS π
OCF_RESKEY_state= string [/var/run/opa-RESOURCENAME.state] β State file π the full path of a temporary file where the resource state gets stored. yes, full path. yes, it matters. don't be weird about it.OCF_RESKEY_name= string [opa-RESOURCENAME] β Attribute name β the name of the node attribute you want to manage. pick a good one bestie, it's your label now.OCF_RESKEY_active_value= string [1] β Attribute value when active π₯ the value to use for the node attribute when the resource becomes active. and listen β an empty string here is discouraged, becausemonitorliterally cannot tell it apart from a query error π so don't do that to yourself.OCF_RESKEY_inactive_value= string [0] β Attribute value when inactive π the value to use for the node attribute when the resource becomes inactive. that's it. that's the one.
π«Ά AUTHOR π«Ά
Andrew Beekhof <andrew@beekhof.net> β author. king behavior, we stan π
π cute lil sign-off π
this page comes from the Pacemaker Configuration manual, dated 09/17/2026, and it's filed under OCF_PACEMAKER_ATTRIB(7) in the classic manpage format. go forth and set your attributes, bestie β slay ππ§ββοΈ
π¦ 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