table of contents
- buster 1:4.2.0-2+deb10u2
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
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¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/27/2020 | resource-agents UNKNOWN |