table of contents
other versions
- jessie 1:3.9.3+git20121009-3.1
- jessie-backports 1:4.0.0~rc1-4~bpo8+1
- stretch 1:4.0.0~rc1-4
- testing 1:4.2.0-1
- unstable 1:4.2.0-2
OCF_HEARTBEAT_SCSI2R(7) | OCF resource agents | OCF_HEARTBEAT_SCSI2R(7) |
NAME¶
ocf_heartbeat_scsi2reservation - scsi-2 reservationSYNOPSIS¶
scsi2reservation [start | stop | monitor | meta-data |
validate-all]
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.SUPPORTED PARAMETERS¶
scsi_reserveThe 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")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations): startStarts 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 p_scsi2reservation ocf:heartbeat:scsi2reservation \ op monitor depth="0" timeout="20" interval="20"
SEE ALSO¶
http://www.linux-ha.org/wiki/scsi2reservation_(resource_agent)AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)02/21/2014 | resource-agents UNKNOWN |