'\" t .\" Title: ocf_heartbeat_iscsi .\" 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_ISCSI" "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_iscsi \- Manages a local iSCSI initiator and its connections to iSCSI targets .SH "SYNOPSIS" .HP \w'\fBiscsi\fR\ 'u \fBiscsi\fR [start | stop | status | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP OCF Resource Agent for iSCSI\&. Add (start) or remove (stop) iSCSI targets\&. .SH "SUPPORTED PARAMETERS" .PP \fBportal\fR .RS 4 The iSCSI portal address in the form: {ip_address|hostname}[":"port] (required, string, no default) .RE .PP \fBtarget\fR .RS 4 The iSCSI target IQN\&. (unique, required, string, no default) .RE .PP \fBdiscovery_type\fR .RS 4 Target discovery type\&. Check the open\-iscsi documentation for supported discovery types\&. (optional, string, default sendtargets) .RE .PP \fBiscsiadm\fR .RS 4 open\-iscsi administration utility binary\&. (optional, string, default iscsiadm) .RE .PP \fBudev\fR .RS 4 If the next resource depends on the udev creating a device then we wait until it is finished\&. On a normally loaded host this should be done quickly, but you may be unlucky\&. If you are not using udev set this to "no", otherwise we will spin in a loop until a timeout occurs\&. (optional, string, default yes) .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 120\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 120\&. .RE .PP \fBstatus\fR .RS 4 Performs a status check\&. Suggested minimum timeout: 30\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 30\&. Suggested interval: 120\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 5\&. .RE .PP \fBmethods\fR .RS 4 Suggested minimum timeout: 5\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5\&. .RE .SH "EXAMPLE" .PP The following is an example configuration for a iscsi resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_iscsi ocf:heartbeat:iscsi \e params \e portal=\fIstring\fR \e target=\fIstring\fR \e op monitor depth="0" timeout="30" interval="120" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://www.linux-ha.org/wiki/iscsi_(resource_agent)\fR\m[] .SH "AUTHOR" .PP \fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR