OCF_HEARTBEAT_ISCSIT(7)
π NAME π
Hiii bestie π welcome to OCF_HEARTBEAT_ISCSIT(7) from the OCF resource agents crew. This is the page for ocf_heartbeat_iSCSITarget β iSCSI target export agent.
β¨ SYNOPSIS β¨
iSCSITarget [start | stop | status | monitor | meta-data | validate-all]
π« DESCRIPTION π«
Okay so this one manages iSCSI targets. An iSCSI target is a collection of SCSI Logical Units (LUs) exported via a daemon that speaks the iSCSI protocol. That's the whole vibe.
πΈ SUPPORTED PARAMETERS πΈ
Here are all the knobs, no skips:
implementationβ the iSCSI target daemon implementation. Must be one of"iet","tgt","lio","lio-t", or"scst". If itβs unspecified, an implementation gets selected based on the availability of management utilities, with"iet"being tried first, then"tgt", then"lio", then"lio-t", then"scst". (optional, string, no default)iqnβ the target iSCSI Qualified Name (IQN). Should follow the conventional"iqn.yyyy-mm.<reversed domain name>[:identifier]"syntax. (unique, required, string, no default)tidβ the iSCSI target ID. Required fortgt. (unique, optional, integer, no default)portalsβ iSCSI network portal addresses. Not supported by all implementations. If itβs unset, the default is to create one portal that listens on . (optional, string, default"0.0.0.0:3260")iser_portalsβ iSCSI iSER network portal addresses. Not supported by all implementations. (optional, string, no default)allowed_initiatorsβ allowed initiators. A space-separated list of initiators allowed to connect to this target. Initiators may be listed in any syntax the target implementation allows. If this parameter is empty or not set, access to this target will be allowed from any initiator. (optional, string, no default)incoming_usernameβ a username used for incoming initiator authentication. If itβs unspecified, allowed initiators will be able to log in without authentication. This one is unique β youβre not allowed to re-use a single username across multiple target instances. (unique, optional, string, no default)incoming_passwordβ a password used for incoming initiator authentication. (optional, string, no default)additional_parametersβ additional target parameters. A space-separated list of"name=value"pairs which will be passed through to the iSCSI daemon's management interface. The supported parameters are implementation dependent. Neither the name nor the value may contain whitespace. (optional, string, no default)
π SUPPORTED ACTIONS π
This resource agent supports the following actions (operations):
startβ starts the resource. Suggested minimum timeout:10s.stopβ stops the resource. Suggested minimum timeout:10s.statusβ performs a status check. Suggested minimum timeout:10s. Suggested interval:10s.monitorβ performs a detailed status check. Suggested minimum timeout:10s. Suggested interval:10s.meta-dataβ retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. Suggested minimum timeout:10s.
π EXAMPLE CRM SHELL π
Hereβs an example config for an iSCSITarget resource using the crm(8) shell:
primitive p_iSCSITarget ocf:heartbeat:iSCSITarget \
params \
iqn=string \
op monitor timeout="10s" interval="10s" depth="0"
π EXAMPLE PCS π
Same energy, but with pcs(8):
pcs resource create p_iSCSITarget ocf:heartbeat:iSCSITarget \
iqn=string \
op monitor timeout="10s" interval="10s" OCF_CHECK_LEVEL="0"
π SEE ALSO π
The one and only link, bestie: http://clusterlabs.org/
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors).
source/version: resource-agents UNKNOWN Β· date: 10/01/2026 β k bye bestie, go slay those iSCSI targets π«Άπ
β¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms