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

NAME

6       ocf_heartbeat_LinuxSCSI - Enables and disables SCSI devices through the
7       kernel SCSI hot-plug subsystem (deprecated)
8

SYNOPSIS

10       LinuxSCSI [start | stop | status | monitor | meta-data | validate-all]
11

DESCRIPTION

13       Deprecation warning: This agent makes use of Linux SCSI hot-plug
14       functionality which has been superseded by SCSI reservations. It is
15       deprecated and may be removed from a future release. See the
16       scsi2reservation and sfex agents for alternatives. -- This is a
17       resource agent for LinuxSCSI. It manages the availability of a SCSI
18       device from the point of view of the linux kernel. It make Linux
19       believe the device has gone away, and it can make it come back again.
20

SUPPORTED PARAMETERS

22       scsi
23           The SCSI instance to be managed.
24
25           (required, string, no default)
26
27       ignore_deprecation
28           If set to true, suppresses the deprecation warning for this agent.
29
30           (optional, boolean, default false)
31

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

61       The following is an example configuration for a LinuxSCSI resource
62       using the crm(8) shell:
63
64           primitive p_LinuxSCSI ocf:heartbeat:LinuxSCSI \
65             params \
66               scsi=string \
67             op monitor depth="0" timeout="20s" interval="10s"
68

EXAMPLE PCS

70       The following is an example configuration for a LinuxSCSI resource
71       using pcs(8)
72
73           pcs resource create p_LinuxSCSI ocf:heartbeat:LinuxSCSI \
74             scsi=string \
75             op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
76

SEE ALSO

78       http://clusterlabs.org/
79

AUTHOR

81       ClusterLabs contributors (see the resource agent source for information
82       about individual authors)
83
84
85
86resource-agents UNKNOWN           10/11/2023           OCF_HEARTBEAT_LINUXS(7)
Impressum