table of contents
OCF_HEARTBEAT_ISCSIL(7) | OCF resource agents | OCF_HEARTBEAT_ISCSIL(7) |
NAME¶
ocf_heartbeat_iSCSILogicalUnit - Manages iSCSI Logical Units (LUs)
SYNOPSIS¶
iSCSILogicalUnit [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of an SCSI Target, exported via a daemon that speaks the iSCSI protocol.
SUPPORTED PARAMETERS¶
implementation
(optional, string, no default)
target_iqn
(required, string, no default)
lun
(required, integer, no default)
path
(required, string, no default)
scsi_id
(unique, optional, string, default "default")
scsi_sn
(unique, optional, string, default "c21f969b")
vendor_id
(optional, string, no default)
product_id
(optional, string, no default)
tgt_bstype
(optional, string, no default)
tgt_bsoflags
(optional, string, no default)
tgt_device_type
(optional, string, no default)
additional_parameters
(optional, string, no default)
allowed_initiators
This parameter is only necessary when using LIO.
(optional, string, no default)
lio_iblock
Using distinct values here avoids a warning in LIO "LEGACY: SHARED HBA"; and it is necessary when using multiple LUNs started at the same time (eg. on node failover) to prevent a race condition in tcm_core on mkdir() in /sys/kernel/config/target/core/.
(optional, integer, default 0)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE¶
The following is an example configuration for a iSCSILogicalUnit resource using the crm(8) shell:
primitive p_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit \
params \
target_iqn=string \
lun=integer \
path=string \
op monitor timeout="10" interval="10" depth="0"
SEE ALSO¶
http://www.linux-ha.org/wiki/iSCSILogicalUnit_(resource_agent)
AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)
03/22/2017 | resource-agents 3.9.2 |