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 "RESOURCE_ID")
scsi_sn
(unique, optional, string, default "b3a49b7f")
emulate_tpu
(optional, integer, no default)
emulate_3pc
(optional, integer, no default)
emulate_caw
(optional, integer, no default)
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_bsopts
(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 CRM SHELL¶
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="10s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a iSCSILogicalUnit resource using pcs(8)
pcs resource create p_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit \
target_iqn=string \
lun=integer \
path=string \
op monitor timeout="10s" interval="10s" depth="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |