OCF_PACEMAKER_PING(7)

πŸ’– OCF_PACEMAKER_PING(7) πŸ’–

okay so real talk, this is a page from the Pacemaker Configuration manual set, and bestie, it's literally the whole ocf_pacemaker_ping node-connectivity situation. let's get into it ✨


πŸŽ€ NAME πŸŽ€

ocf_pacemaker_ping β€” node connectivity, that's the whole vibe. it's giving "how many friends can this node even reach rn" πŸ¦‹


🌸 SYNOPSIS 🌸

[OCF_RESKEY_pidfile=string] [OCF_RESKEY_dampen=integer]
[OCF_RESKEY_name=string] [OCF_RESKEY_multiplier=integer]
[OCF_RESKEY_host_list=string] [OCF_RESKEY_attempts=integer]
[OCF_RESKEY_timeout=integer] [OCF_RESKEY_options=string]
[OCF_RESKEY_failure_score=integer] [OCF_RESKEY_use_fping=boolean]
[OCF_RESKEY_debug=string]

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

no cap, that second line is the actual command and the actions it takes, copy it exactly bestie πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

every single time the monitor action runs, this resource agent records β€” in the CIB β€” the current number of nodes the host can connect to using the system fping (preferred, obvs πŸ‘‘) or the ping tool.

so yeah, it's literally out here counting your node's connections and writing it down. main character energy fr fr πŸ’€


✨ SUPPORTED PARAMETERS ✨

  • OCF_RESKEY_pidfile = string [/ping-] β€” PID file, the classic little file that holds the PID. πŸ“
  • OCF_RESKEY_dampen = integer [5s] β€” Dampening interval. this is the time to wait (dampening) before further changes occur β€” like, let it chill for a sec before reacting. πŸ™ˆ
  • OCF_RESKEY_name = string [pingd] β€” Attribute name. the name of the attributes to set, and lowkey this is the name that gets used in the constraints. iykyk. ⭐
  • OCF_RESKEY_multiplier = integer [1] β€” Value multiplier. the number by which to multiply the number of connected ping nodes by. math era πŸ’…
  • OCF_RESKEY_host_list = string [[]] β€” Host list. a space separated list of ping nodes to count. yes, space separated, don't come at me with commas. 🌈
  • OCF_RESKEY_attempts = integer [3] β€” no. of ping attempts. this is the number of ping attempts, per host, before declaring it dead. three strikes and you're out energy πŸ’€
  • OCF_RESKEY_timeout = integer [2] β€” ping timeout in seconds. how long, in seconds, to wait before declaring a ping lost. patience is a virtue but two seconds is two seconds. 🧚
  • OCF_RESKEY_options = string [[]] β€” Extra Options. a catch all for any other options that need to be passed to ping. the vibes bucket 🫢
  • OCF_RESKEY_failure_score = integer [[]] β€” failure_score. the resource is failed if the score is less than failure_score. the default is that it never fails. πŸ‘‘
  • OCF_RESKEY_use_fping = boolean [1] β€” Use fping if available. use fping rather than ping, if found. if set to 0, fping will not be used even if present. periodt. πŸ”₯
  • OCF_RESKEY_debug = string [false] β€” Verbose logging. enables you to use default attrd_updater verbose logging on every call. chatty era 😭

πŸ‘‘ AUTHOR πŸ‘‘

Andrew Beekhof <andrew@beekhof.net> β€” author. we stan. 🫢


πŸ’– reminder bestie: every flag, default, value and file path above is copied exactly as-is, so don't go editing them to "look cuter" β€” the agent will not be amused. πŸ™ˆ

and that's the whole page, bestie! 🌸 this was Pacemaker Configuration, dated 09/17/2026 β€” mwah, slay, go count some nodes πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from