ocf_heartbeat_scsi2reservation (7) - Linux Manuals
ocf_heartbeat_scsi2reservation: scsi-2 reservation
NAME
ocf_heartbeat_scsi2reservation - scsi-2 reservation
SYNOPSIS
- scsi2reservation [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
SUPPORTED PARAMETERS
scsi_reserve
- The scsi_reserve is a command from scsires package. It helps 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)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
- Starts the resource. Suggested minimum timeout: 300.
stop
- Stops the resource. Suggested minimum timeout: 100.
monitor
- Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 20.
meta-data
- Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
- Performs a validation of the resource configuration. Suggested minimum timeout: 30.
EXAMPLE
The following is an example configuration for a scsi2reservation resource using the crm(8) shell:
-
primitive example_scsi2reservation ocf:heartbeat:scsi2reservation \ op monitor depth="0" timeout="20" interval="20"
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)