OCF_PACEMAKER_SYSINF(7)

πŸ’– OCF_PACEMAKER_SYSINF(7) πŸ’–

okay so bestie, welcome to the Pacemaker Configuration manual, section 7 β€” this one's all about ocf_pacemaker_SysInfo, and honestly? it's kind of iconic. sit down, grab a lil snack, we're learning πŸ“


✨ NAME ✨

ocf_pacemaker_SysInfo β€” the SysInfo resource agent, no cap 🫢


✨ SYNOPSIS ✨

[OCF_RESKEY_pidfile=string] [OCF_RESKEY_delay=string]
[OCF_RESKEY_disks=string] [OCF_RESKEY_disk_unit=select]
[OCF_RESKEY_min_disk_free=string]

SysInfo [start | stop | monitor | reload-agent | meta-data |
validate-all]

✨ DESCRIPTION ✨

so this is a SysInfo Resource Agent, right? and what it does is literally record (in the CIB) a bunch of attributes about a node. it's giving "note-taking main character energy" πŸ’…

Here's the sample Linux output, verbatim, because I'm not about to paraphrase literal data:

Sample Linux output: arch: i686 os: Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R) CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total: 513 ram_free: 117 root_free: 2.4 #health_disk: red

and here's the sample Darwin output, same deal:

Sample Darwin output: arch: i386 os: Darwin-8.6.2 cpu_info: Intel Core Duo cpu_speed: 2.16 cpu_cores: 2 cpu_load: 0.18 ram_total: 2016 ram_free: 787 root_free: 13 #health_disk: green

now the units, because units matter and I refuse to let you get caught out πŸ”₯:

  • free_swap: MB
  • ram_*: MB
  • cpu_speed (Linux): bogomips
  • cpu_speed (Darwin): GHz
  • *_free: GB (or user-defined via disk_unit)

✨ SUPPORTED PARAMETERS ✨

  • OCF_RESKEY_pidfile = string [/SysInfo-] β€” the PID file πŸŽ€
  • OCF_RESKEY_delay = string [0s] β€” Dampening Delay. it's the interval to allow values to stabilize, so like... let it chill for a sec before you judge it ✨
  • OCF_RESKEY_disks = string β€” List of Filesytems/Paths to query for free disk space 🌸 Filesystems or Paths to be queried for free disk space as a SPACE separated list β€” e.g "/dev/sda1 /tmp". Results will be written to an attribute with leading slashes removed, and other slashes replaced with underscore, and the word free appended β€” e.g for /dev/sda1 it would be dev_sda1_free.
note bestie: the root filesystem / is always queried to an attribute named root_free 🫢
  • OCF_RESKEY_disk_unit = select [G] β€” Unit to report disk free space in πŸ’œ Unit to report disk free space in. Can be one of: B, K, M, G, T, P (case-insensitive). lowercase works too, we love an inclusive legend ✨
  • OCF_RESKEY_min_disk_free = string [""] β€” minimum disk free space required πŸ‘‘ The amount of free space required in monitored disks. If any of the monitored disks has less than this amount of free space, , with the node attribute #health_disk changing to red, all resources will move away from the node. Set the node-health-strategy property appropriately for this to take effect. If the unit is not specified, it defaults to disk_unit.
fr fr, do NOT skip the node-health-strategy part β€” nothing happens without it and you'll be sitting there like 😭 wondering why πŸ’€

✨ AUTHOR ✨

Andrew Beekhof <andrew@beekhof.net> β€” Author. king behavior honestly πŸ‘‘


aaaand that's the whole page, bestie 🌈 β€” brought to you by Pacemaker Configuration, dated 09/17/2026, living at OCF_PACEMAKER_SYSINF(7) forever and ever πŸ¦‹ see u in the next manpage, mwah πŸ’‹

πŸ“¦ where this page comes from