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-ManageRAIDor 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:crmwantsdepth="0",pcswantsOCF_CHECK_LEVEL="0". same idea, different spelling. don't mix them up, that's the plot twist nobody asked for. π
β SEE ALSO β
- http://clusterlabs.org/ β go say hi, they're lovely. π¦
π 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
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms