OCF_HEARTBEAT_MANAGE(7)

✨ ocf_heartbeat_ManageRAID β€” the OCF_HEARTBEAT_MANAGE(7) page but make it make sense ✨

okay bestie, pull up a chair, grab a strawberry πŸ“, because today we're talking about ManageRAID, the resource agent that babysits your RAID devices. yes, that one. no cap, it's lowkey iconic. πŸ’…


πŸŽ€ NAME πŸŽ€

ocf_heartbeat_ManageRAID β€” manages RAID devices. that's it. that's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

ManageRAID [start | stop | status | monitor | meta-data | validate-all]

six actions, pick your fighter. πŸ’–


🌸 DESCRIPTION 🌸

okay so here's the tea, bestie. This agent handles the starting, stopping and monitoring of RAID devices β€” but only the ones you already preconfigured in /etc/conf.d/HB-ManageRAID. it's giving "I'm not gonna set that up for you, I'm just gonna run it." πŸ™ˆ


πŸ’œ SUPPORTED PARAMETERS πŸ’œ

there is literally one. one singular parameter. she's low maintenance, we stan. πŸ‘‘

  • raidname β€” the name (and yes it's case sensitive, don't play with her) of the RAID you want to manage. she has to be preconfigured in /etc/conf.d/HB-ManageRAID or she simply does not exist to us. ✨
required, string, no default. so like… you HAVE to give her a name. no default, no backup plan, no plan B. 🫢

πŸ”₯ SUPPORTED ACTIONS πŸ”₯

This resource agent supports the following actions (operations) β€” aka the six things she can do, and the timeouts you should be giving her so she doesn't get rushed. main character energy only. πŸ’…

  • start β€” Starts the resource. Suggested minimum timeout: 75s. give her time, she's doing the most. ⏳
  • stop β€” Stops the resource. Suggested minimum timeout: 75s. same energy, same 75 seconds, we do not rush the queen. πŸ’–
  • status β€” Performs a status check. Suggested minimum timeout: 10s. Suggested interval: 10s. lil vibe check, nothing crazy. 🌈
  • monitor β€” Performs a detailed status check. Suggested minimum timeout: 10s. Suggested interval: 10s. it's the status check but she read the whole book instead of the summary. πŸ“–
  • validate-all β€” Performs a validation of the resource configuration. Suggested minimum timeout: 5s. she's just making sure you didn't do anything weird. 🧚
  • meta-data β€” Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s. don't touch this one unless you know, iykyk. 🀫

πŸ’– EXAMPLE CRM SHELL πŸ’–

here's what it looks like as a ManageRAID resource using the crm(8) shell. copy it exactly, bestie, character for character, no freestyling:

primitive p_ManageRAID ocf:heartbeat:ManageRAID \
  params \
    raidname=string \
  op monitor depth="0" timeout="10s" interval="10s"

ate. no crumbs. 🍽️✨


🫢 EXAMPLE PCS 🫢

and here she is again, this time with pcs(8) β€” same resource, different tool, equally slay:

pcs resource create p_ManageRAID ocf:heartbeat:ManageRAID \
  raidname=string \
  op monitor OCF_CHECK_LEVEL="0" timeout="10s" interval="10s"
πŸ‘€ notice the monitor op: crm wants depth="0", pcs wants OCF_CHECK_LEVEL="0". same idea, different spelling. don't mix them up, that's the plot twist nobody asked for. πŸ’€

⭐ SEE ALSO ⭐


πŸ‘‘ AUTHOR πŸ‘‘

ClusterLabs contributors (see the resource agent source for information about individual authors). group project, everyone ate, nobody gets left out. πŸ’œ


and that's the whole page bestie!! 🌸 this one came from resource-agents version UNKNOWN, dated 04/08/2026 β€” so when you cite her, cite her right. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from