OCF.RA@.SERVICE(7)

πŸ’… OCF.RA@.SERVICE(7) πŸ’…

okay so bestie, this is the manual page for ocf.ra@.service β€” the system unit template for using ocf resource agents. yes it's a mouthful, but it's giving very important ✨


🌸 NAME 🌸

ocf.ra@.service β€” the systemd unit template you use when you wanna run ocf resource agents, periodt.


πŸŽ€ SYNOPSIS πŸŽ€

ocf.ra@OCF_RESOURCE_INSTANCE.service

πŸ’– DESCRIPTION πŸ’–

so like, it could be used in other contexts, no cap, but the whole point of this icon is that the drbd-reactor promoter plugin uses it when defining simple linear service dependency chains on a specific DRBD resource. that's the main character energy here 🫢

the parameterization of the ocf resource agents happens via environment definitions in systemd drop-in configuration, and those are generated by the drbd-reactor promoter plugin. so you're not out here doing it by hand, bestie πŸ’…

under the hood? the implementation uses ocf.ra.wrapper.sh to start the ocf resource agent, then literally just keeps monitoring it every monitor_interval seconds β€” and the default there is 30s ⭐

and ooh, fun fact: you could override some settings (like the monitor_interval πŸ‘€) for "all" ocf.ra@.service instances with a drop-in for the template unit. so one drop-in, every instance gets the vibe. obsessed πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯

  • the DRBD User's Guide<sup>[1]</sup>
  • drbd-reactor(1)
  • drbd-reactor.promoter(5)

πŸ‘‘ AUTHORS πŸ‘‘

LINBIT HA Solutions GmbH https://linbit.com β€” absolute legends 🫢


🌈 NOTES 🌈

  1. the DRBD User's Guide https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/

and that's the whole page, bestie β€” no gatekeeping πŸ’œ this was drbd-utils 9.29.0, dated 2024-10-28, and the manual is OCF.RA@.SERVICE(7). go forth and monitor responsibly βœ¨πŸŽ€

πŸ“¦ where this page comes from