'\" t
.\" Title: ocf_heartbeat_iSCSITarget
.\" Author: Linux-HA contributors (see the resource agent source for information about individual authors)
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: 03/09/2014
.\" Manual: OCF resource agents
.\" Source: resource-agents UNKNOWN
.\" Language: English
.\"
.TH "OCF_HEARTBEAT_ISCSIT" "7" "03/09/2014" "resource-agents UNKNOWN" "OCF resource agents"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ocf_heartbeat_iSCSITarget \- iSCSI target export agent
.SH "SYNOPSIS"
.HP \w'\fBiSCSITarget\fR\ 'u
\fBiSCSITarget\fR [start | stop | monitor | meta\-data | validate\-all]
.SH "DESCRIPTION"
.PP
Manages iSCSI targets\&. An iSCSI target is a collection of SCSI Logical Units (LUs) exported via a daemon that speaks the iSCSI protocol\&.
.SH "SUPPORTED PARAMETERS"
.PP
\fBimplementation\fR
.RS 4
The iSCSI target daemon implementation\&. Must be one of "iet", "tgt", or "lio"\&. If unspecified, an implementation is selected based on the availability of management utilities, with "iet" being tried first, then "tgt", then "lio"\&.
(optional, string, no default)
.RE
.PP
\fBiqn\fR
.RS 4
The target iSCSI Qualified Name (IQN)\&. Should follow the conventional "iqn\&.yyyy\-mm\&.[:identifier]" syntax\&.
(unique, required, string, no default)
.RE
.PP
\fBtid\fR
.RS 4
The iSCSI target ID\&. Required for tgt\&.
(unique, optional, integer, no default)
.RE
.PP
\fBportals\fR
.RS 4
iSCSI network portal addresses\&. Not supported by all implementations\&. If unset, the default is to create one portal that listens on \&.
(optional, string, default
0\&.0\&.0\&.0:3260)
.RE
.PP
\fBallowed_initiators\fR
.RS 4
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)
.RE
.PP
\fBincoming_username\fR
.RS 4
A username used for incoming initiator authentication\&. If unspecified, allowed initiators will be able to log in without authentication\&. This is a unique parameter, as it not allowed to re\-use a single username across multiple target instances\&.
(unique, optional, string, no default)
.RE
.PP
\fBincoming_password\fR
.RS 4
A password used for incoming initiator authentication\&.
(optional, string, no default)
.RE
.PP
\fBadditional_parameters\fR
.RS 4
Additional target parameters\&. A space\-separated list of "name=value" pairs which will be passed through to the iSCSI daemon\*(Aqs management interface\&. The supported parameters are implementation dependent\&. Neither the name nor the value may contain whitespace\&.
(optional, string, no default)
.RE
.SH "SUPPORTED ACTIONS"
.PP
This resource agent supports the following actions (operations):
.PP
\fBstart\fR
.RS 4
Starts the resource\&. Suggested minimum timeout: 10\&.
.RE
.PP
\fBstop\fR
.RS 4
Stops the resource\&. Suggested minimum timeout: 10\&.
.RE
.PP
\fBstatus \fR
.RS 4
Suggested minimum timeout: 10\&. Suggested interval: 10\&.
.RE
.PP
\fBmonitor\fR
.RS 4
Performs a detailed status check\&. Suggested minimum timeout: 10\&. Suggested interval: 10\&.
.RE
.PP
\fBmeta\-data\fR
.RS 4
Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5\&.
.RE
.PP
\fBvalidate\-all\fR
.RS 4
Performs a validation of the resource configuration\&. Suggested minimum timeout: 10\&.
.RE
.SH "EXAMPLE"
.PP
The following is an example configuration for a iSCSITarget resource using the
\fBcrm\fR(8)
shell:
.sp
.if n \{\
.RS 4
.\}
.nf
primitive p_iSCSITarget ocf:heartbeat:iSCSITarget \e
params \e
iqn=\fIstring\fR \e
op monitor timeout="10" interval="10" depth="0"
.fi
.if n \{\
.RE
.\}
.SH "SEE ALSO"
.PP
\m[blue]\fB\%http://www.linux-ha.org/wiki/iSCSITarget_(resource_agent)\fR\m[]
.SH "AUTHOR"
.PP
\fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR