'\" t .\" Title: ocf_heartbeat_scsi2reservation .\" 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_SCSI2R" "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_scsi2reservation \- scsi\-2 reservation .SH "SYNOPSIS" .HP \w'\fBscsi2reservation\fR\ 'u \fBscsi2reservation\fR [start | stop | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP The scsi\-2\-reserve resource agent is a place holder for SCSI\-2 reservation\&. A healthy instance of scsi\-2\-reserve resource, indicates the own of the specified SCSI device\&. This resource agent depends on the scsi_reserve from scsires package, which is Linux specific\&. .SH "SUPPORTED PARAMETERS" .PP \fBscsi_reserve\fR .RS 4 The scsi_reserve is a command from scsires package\&. It helps one to issue SCSI\-2 reservation on SCSI devices\&. (optional, string, default /usr/sbin/scsi_reserve) .RE .PP \fBsharedisk\fR .RS 4 The shared disk that can be reserved\&. (optional, string, default /dev/sdb) .RE .PP \fBstart_loop\fR .RS 4 We are going to try several times before giving up\&. Start_loop indicates how many times we are going to re\-try\&. (optional, string, default 10) .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 300\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 100\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 20\&. Suggested interval: 20\&. .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: 30\&. .RE .SH "EXAMPLE" .PP The following is an example configuration for a scsi2reservation resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_scsi2reservation ocf:heartbeat:scsi2reservation \e op monitor depth="0" timeout="20" interval="20" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://www.linux-ha.org/wiki/scsi2reservation_(resource_agent)\fR\m[] .SH "AUTHOR" .PP \fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR