OCF_HEARTBEAT_SCSI2R(7)
π OCF_HEARTBEAT_SCSI2R(7) π
okay so real talk, this page lives in the OCF resource agents manual, and bestie, it's a whole mood. it's all about ocf_heartbeat_scsi2reservation β aka the scsi-2 reservation situation. let's get into it β¨
πΈ NAME πΈ
ocf_heartbeat_scsi2reservation β scsi-2 reservation, no cap π
β¨ SYNOPSIS β¨
scsi2reservation [start | stop | monitor | meta-data | validate-all]
π¦ DESCRIPTION π¦
so the scsi-2-reserve resource agent is literally a place holder for SCSI-2 reservation. that's it, that's the vibe. a healthy instance of the scsi-2-reserve resource means you're the owner of the specified SCSI device β it's giving main character energy, but for a disk π«Ά
one thing tho: this resource agent depends on the scsi_reserve from the scsires package, and that package is Linux specific. so if you're on something else, this is not the moment, sorry bestie π
π SUPPORTED PARAMETERS π
scsi_reserveβ this is thescsi_reservecommand from the scsires package. it's the little helper that lets you issue SCSI-2 reservation on SCSI devices. (optional, string, default"/usr/sbin/scsi_reserve")sharediskβ the shared disk that can be reserved. (optional, string, default"/dev/sdb")start_loopβ we're gonna try several times before we give up, periodt.start_looptells you how many times we re-try. (optional, string, default"10")
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations), and honestly, iconic lineup:
startβ starts the resource. suggested minimum timeout: 300s.stopβ stops the resource. suggested minimum timeout: 100s.monitorβ performs a detailed status check. suggested minimum timeout: 20s. suggested interval: 20s.meta-dataβ retrieves resource agent metadata (internal use only, so don't touch, iykyk). suggested minimum timeout: 5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout: 30s.
π EXAMPLE CRM SHELL π
here's an example config for a scsi2reservation resource using the crm(8) shell, and it ate:
primitive p_scsi2reservation ocf:heartbeat:scsi2reservation \
op monitor depth="0" timeout="20s" interval="20s"
π EXAMPLE PCS π
and here's the same energy for a scsi2reservation resource using pcs(8):
pcs resource create p_scsi2reservation ocf:heartbeat:scsi2reservation \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s"
β SEE ALSO β
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors) β shoutout to the whole squad π«Ά
fr fr, that's the whole page. go forth and reserve your SCSI devices responsibly π
and that's a wrap, bestie π§ this was resource-agents version UNKNOWN, dated 04/08/2026 β mwah, slay, bye ππ
π¦ 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