'\" t .\" Title: ocf_heartbeat_iSCSILogicalUnit .\" 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_ISCSIL" "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_iSCSILogicalUnit \- Manages iSCSI Logical Units (LUs) .SH "SYNOPSIS" .HP \w'\fBiSCSILogicalUnit\fR\ 'u \fBiSCSILogicalUnit\fR [start | stop | status | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Manages iSCSI Logical Unit\&. An iSCSI Logical unit is a subdivision of an SCSI Target, 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 \fBtarget_iqn\fR .RS 4 The iSCSI Qualified Name (IQN) that this Logical Unit belongs to\&. (required, string, no default) .RE .PP \fBlun\fR .RS 4 The Logical Unit number (LUN) exposed to initiators\&. (required, integer, no default) .RE .PP \fBpath\fR .RS 4 The path to the block device exposed\&. Some implementations allow this to be a regular file, too\&. (required, string, no default) .RE .PP \fBscsi_id\fR .RS 4 The SCSI ID to be configured for this Logical Unit\&. The default is the resource name, truncated to 24 bytes\&. (unique, optional, string, default default) .RE .PP \fBscsi_sn\fR .RS 4 The SCSI serial number to be configured for this Logical Unit\&. The default is a hash of the resource name, truncated to 8 bytes\&. (unique, optional, string, no default) .RE .PP \fBvendor_id\fR .RS 4 The SCSI vendor ID to be configured for this Logical Unit\&. (optional, string, no default) .RE .PP \fBproduct_id\fR .RS 4 The SCSI product ID to be configured for this Logical Unit\&. (optional, string, no default) .RE .PP \fBadditional_parameters\fR .RS 4 Additional LU 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 Performs a status check\&. 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 iSCSILogicalUnit resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit \e params \e target_iqn=\fIstring\fR \e lun=\fIinteger\fR \e path=\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/iSCSILogicalUnit_(resource_agent)\fR\m[] .SH "AUTHOR" .PP \fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR