logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ocf_heartbeat_scsi2reservation - scsi-2 reservation

Author

ClusterLabscontributors(seetheresourceagentsourceforinformationaboutindividualauthors) resource-agents 4.16.0-3ubuntu 06/25/2025 OCF_HEARTBEAT_SCSI2R(7)

Description

The scsi-2-reserve resource agent is a place holder for SCSI-2 reservation. A healthy instance of scsi-2-reserve resource, indicates the own of the specified SCSI device. This resource agent depends on the scsi_reserve from scsires package, which is Linux specific.

Example Crm Shell

The following is an example configuration for a scsi2reservation resource using the crm(8) shell: primitive p_scsi2reservation ocf:heartbeat:scsi2reservation \ op monitor depth="0" timeout="20s" interval="20s"

Example Pcs

The following is an example configuration 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"

Name

ocf_heartbeat_scsi2reservation - scsi-2 reservation

See Also

Supported Actions

This resource agent supports the following actions (operations): 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). Suggested minimum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 30s.

Supported Parameters

scsi_reserve The scsi_reserve is a command from scsires package. It helps one to 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 are going to try several times before giving up. Start_loop indicates how many times we are going to re-try. (optional, string, default "10")

Synopsis

scsi2reservation [start | stop | monitor | meta-data | validate-all]

See Also