OCF_HEARTBEAT_ISCSI(7) | OCF resource agents | OCF_HEARTBEAT_ISCSI(7) |
ocf_heartbeat_iscsi - Manages a local iSCSI initiator and its connections to iSCSI targets
iscsi [start | stop | status | monitor | meta-data | validate-all]
OCF Resource Agent for iSCSI. Add (start) or remove (stop) iSCSI targets.
portal
(required, string, no default)
target
(unique, required, string, no default)
discovery_type
(optional, string, default "sendtargets")
iscsiadm
(optional, string, default "iscsiadm")
udev
(optional, string, default "yes")
try_recovery
(optional, boolean, default false)
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
methods
meta-data
The following is an example configuration for a iscsi resource using the crm(8) shell:
primitive p_iscsi ocf:heartbeat:iscsi \
params \
portal=string \
target=string \
op monitor depth="0" timeout="30s" interval="120s"
The following is an example configuration for a iscsi resource using pcs(8)
pcs resource create p_iscsi ocf:heartbeat:iscsi \
portal=string \
target=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="120s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |