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.  (required, string, no default)
24
25       ignore_deprecation
26           If set to true, suppresses the deprecation warning for this agent.
27           (optional, boolean, default false)
28

SUPPORTED ACTIONS

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

EXAMPLE

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

SEE ALSO

67       http://www.linux-ha.org/wiki/LinuxSCSI_(resource_agent)
68

AUTHOR

70       Linux-HA contributors (see the resource agent source for information
71       about individual authors)
72
73
74
75resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_LINUXS(7)
Impressum