OCF_HEARTBEAT_ISCSIL(7) | OCF resource agents | OCF_HEARTBEAT_ISCSIL(7) |
ocf_heartbeat_iSCSILogicalUnit - Manages iSCSI Logical Units (LUs)
iSCSILogicalUnit [start | stop | status | monitor | meta-data | validate-all]
Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of an SCSI Target, exported via a daemon that speaks the iSCSI protocol.
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)
liot_bstype
(optional, string, default "block")
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
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"
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" OCF_CHECK_LEVEL="0"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |