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 one to
20           issue SCSI-2 reservation on SCSI devices.
21
22           (optional, string, default "/usr/sbin/scsi_reserve")
23
24       sharedisk
25           The shared disk that can be reserved.
26
27           (optional, string, default "/dev/sdb")
28
29       start_loop
30           We are going to try several times before giving up. Start_loop
31           indicates how many times we are going to re-try.
32
33           (optional, string, default "10")
34

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

64       The following is an example configuration for a scsi2reservation
65       resource using pcs(8)
66
67           pcs resource create p_scsi2reservation ocf:heartbeat:scsi2reservation \
68             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s"
69

SEE ALSO

71       http://clusterlabs.org/
72

AUTHOR

74       ClusterLabs contributors (see the resource agent source for information
75       about individual authors)
76
77
78
79resource-agents UNKNOWN           01/25/2023           OCF_HEARTBEAT_SCSI2R(7)
Impressum