1OCF_HEARTBEAT_SCSI2R(7)       OCF resource agents      OCF_HEARTBEAT_SCSI2R(7)
2
3
4

NAME

6       ocf_heartbeat_scsi2reservation - scsi-2 reservation
7

SYNOPSIS

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

DESCRIPTION

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

SUPPORTED PARAMETERS

18       scsi_reserve
19           The scsi_reserve is a command from scsires package. It helps to
20           issue SCSI-2 reservation on SCSI devices.  (optional, string,
21           default /usr/sbin/scsi_reserve)
22
23       sharedisk
24           The shared disk that can be reserved.  (optional, string, default
25           /dev/sdb)
26
27       start_loop
28           We are going to try several times before giving up. Start_loop
29           indicates how many times we are going to re-try.  (optional,
30           string, default 10)
31

SUPPORTED ACTIONS

33       This resource agent supports the following actions (operations):
34
35       start
36           Starts the resource. Suggested minimum timeout: 300.
37
38       stop
39           Stops the resource. Suggested minimum timeout: 100.
40
41       monitor
42           Performs a detailed status check. Suggested minimum timeout: 20.
43           Suggested interval: 20.
44
45       meta-data
46           Retrieves resource agent metadata (internal use only). Suggested
47           minimum timeout: 5.
48
49       validate-all
50           Performs a validation of the resource configuration. Suggested
51           minimum timeout: 30.
52

EXAMPLE

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

SEE ALSO

61       http://www.linux-ha.org/wiki/scsi2reservation_(resource_agent)
62

AUTHOR

64       Linux-HA contributors (see the resource agent source for information
65       about individual authors)
66
67
68
69resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_SCSI2R(7)
Impressum