OCF_HEARTBEAT_SERVER(7)
π OCF_HEARTBEAT_SERVER(7) β ok bestie, let's talk ServeRAID π
ocf_heartbeat_ServeRAID β the resource agent that turns shared ServeRAID merge groups on and off. Yes, that's the whole vibe. It's giving "small but mighty." β¨
β¨ SYNOPSIS β¨
ServeRAID [start | stop | status | monitor | meta-data | validate-all]
That's it. That's the whole call. Pick an action, bestie, and go. π
πΈ DESCRIPTION πΈ
Okay so, this is a resource script for ServeRAID. What does it do? It enables and disables shared ServeRAID merge groups. That's literally it. No secret extra lore. No cap. π«Ά
π SUPPORTED PARAMETERS π
These are the two things you HAVE to tell it. There is no default for either of them, so like... don't skip them? π
serveraidβ the adapter number of the ServeRAID adapter. That's the one you're working with, girl. (required, integer, no default)mergegroupβ the logical drive under consideration. The one in question. The main character, if you will. π (required, integer, no default)
π¦ SUPPORTED ACTIONS π¦
This resource agent supports the following actions (operations). Every single one, listed, no skips, periodt:
startβ starts the resource. Suggested minimum timeout:40s. βstopβ stops the resource. Suggested minimum timeout:40s. πstatusβ performs a status check. Suggested minimum timeout:20s. Suggested interval:10s. πmonitorβ performs a detailed status check. Suggested minimum timeout:20s. Suggested interval:10s. πvalidate-allβ performs a validation of the resource configuration. Suggested minimum timeout:5s. βmeta-dataβ retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s. π€«methodsβ no description given, just vibes. Suggested minimum timeout:5s. π
π EXAMPLE CRM SHELL π
Here's what a ServeRAID resource looks like when you set it up with the crm(8) shell. Copy it exactly, bestie, don't freestyle:
primitive p_ServeRAID ocf:heartbeat:ServeRAID \
params \
serveraid=integer \
mergegroup=integer \
op monitor depth="0" timeout="20s" interval="10s"
π EXAMPLE PCS π
And here's the same energy but with pcs(8). Notice the monitor line is a little different β OCF_CHECK_LEVEL="0" instead of depth="0". Yes, that's intentional. iykyk. π
pcs resource create p_ServeRAID ocf:heartbeat:ServeRAID \
serveraid=integer \
mergegroup=integer \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
π SEE ALSO π
π§ AUTHOR π§
ClusterLabs contributors (see the resource agent source for information about individual authors). They ate and left no crumbs, fr fr. π
Friendly reminder from your girl: those two params have no default, so if you leave them out, it's not gonna be cute. Set them. Always. π«Ά
And that's the whole page, bestie! This one's from resource-agents version UNKNOWN, dated 04/08/2026 β yeah the version is literally just "UNKNOWN," iconic mystery behavior, we don't question it. πβ¨ Byeee! π
π¦ 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