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

NAME

6       ocf_heartbeat_iSCSILogicalUnit - Manages iSCSI Logical Units (LUs)
7

SYNOPSIS

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

DESCRIPTION

13       Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of
14       an SCSI Target, exported via a daemon that speaks the iSCSI protocol.
15

SUPPORTED PARAMETERS

17       implementation
18           The iSCSI target daemon implementation. Must be one of "iet",
19           "tgt", or "lio". If unspecified, an implementation is selected
20           based on the availability of management utilities, with "iet" being
21           tried first, then "tgt", then "lio".  (optional, string, no
22           default)
23
24       target_iqn
25           The iSCSI Qualified Name (IQN) that this Logical Unit belongs to.
26           (required, string, no default)
27
28       lun
29           The Logical Unit number (LUN) exposed to initiators.  (required,
30           integer, no default)
31
32       path
33           The path to the block device exposed. Some implementations allow
34           this to be a regular file, too.  (required, string, no default)
35
36       scsi_id
37           The SCSI ID to be configured for this Logical Unit. The default is
38           the resource name, truncated to 24 bytes.  (unique, optional,
39           string, default default)
40
41       scsi_sn
42           The SCSI serial number to be configured for this Logical Unit. The
43           default is a hash of the resource name, truncated to 8 bytes.
44           (unique, optional, string, default (stdin)=)
45
46       vendor_id
47           The SCSI vendor ID to be configured for this Logical Unit.
48           (optional, string, no default)
49
50       product_id
51           The SCSI product ID to be configured for this Logical Unit.
52           (optional, string, no default)
53
54       additional_parameters
55           Additional LU parameters. A space-separated list of "name=value"
56           pairs which will be passed through to the iSCSI daemon's management
57           interface. The supported parameters are implementation dependent.
58           Neither the name nor the value may contain whitespace.  (optional,
59           string, no default)
60

SUPPORTED ACTIONS

62       This resource agent supports the following actions (operations):
63
64       start
65           Starts the resource. Suggested minimum timeout: 10.
66
67       stop
68           Stops the resource. Suggested minimum timeout: 10.
69
70       status
71           Performs a status check. Suggested minimum timeout: 10. Suggested
72           interval: 10.
73
74       monitor
75           Performs a detailed status check. Suggested minimum timeout: 10.
76           Suggested interval: 10.
77
78       meta-data
79           Retrieves resource agent metadata (internal use only). Suggested
80           minimum timeout: 5.
81
82       validate-all
83           Performs a validation of the resource configuration. Suggested
84           minimum timeout: 10.
85

EXAMPLE

87       The following is an example configuration for a iSCSILogicalUnit
88       resource using the crm(8) shell:
89
90           primitive p_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit \
91             params \
92               target_iqn=string \
93               lun=integer \
94               path=string \
95             op monitor timeout="10" interval="10" depth="0"
96

SEE ALSO

98       http://www.linux-ha.org/wiki/iSCSILogicalUnit_(resource_agent)
99

AUTHOR

101       Linux-HA contributors (see the resource agent source for information
102       about individual authors)
103
104
105
106resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_ISCSIL(7)
Impressum