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