'\" t .\" Title: ocf_heartbeat_LVM .\" Author: ClusterLabs contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 06/07/2017 .\" Manual: OCF resource agents .\" Source: resource-agents 4.0.0~rc1-4~bpo8+1 .\" Language: English .\" .TH "OCF_HEARTBEAT_LVM" "7" "06/07/2017" "resource-agents 4.0.0~rc1-4~bp" "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_LVM \- Controls the availability of an LVM Volume Group .SH "SYNOPSIS" .HP \w'\fBLVM\fR\ 'u \fBLVM\fR [start | stop | status | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Resource script for LVM\&. It manages an Linux Volume Manager volume (LVM) as an HA resource\&. .SH "SUPPORTED PARAMETERS" .PP \fBvolgrpname\fR .RS 4 The name of volume group\&. .sp (unique, required, string, no default) .RE .PP \fBexclusive\fR .RS 4 If set, the volume group will be activated exclusively\&. This option works one of two ways\&. If the volume group has the cluster attribute set, then the volume group will be activated exclusively using clvmd across the cluster\&. If the cluster attribute is not set, the volume group will be activated exclusively using a tag and the volume_list filter\&. When the tag option is in use, the volume_list in lvm\&.con must be initialized\&. This can be as simple as setting \*(Aqvolume_list = []\*(Aq depending on your setup\&. .sp (optional, boolean, default false) .RE .PP \fBtag\fR .RS 4 If "exclusive" is set on a non clustered volume group, this overrides the tag to be used\&. .sp (optional, string, default "pacemaker") .RE .PP \fBpartial_activation\fR .RS 4 If set, the volume group will be activated partially even with some physical volumes missing\&. It helps to set to true when using mirrored logical volumes\&. .sp (optional, string, default "false") .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 30\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 30\&. .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: 10\&. .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 .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 5\&. .RE .SH "EXAMPLE CRM SHELL" .PP The following is an example configuration for a LVM resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_LVM ocf:heartbeat:LVM \e params \e volgrpname=\fIstring\fR \e op monitor depth="0" timeout="30" interval="10" .fi .if n \{\ .RE .\} .SH "EXAMPLE PCS" .PP The following is an example configuration for a LVM resource using \fBpcs\fR(8) .sp .if n \{\ .RS 4 .\} .nf pcs resource create p_LVM ocf:heartbeat:LVM \e volgrpname=\fIstring\fR \e op monitor depth="0" timeout="30" interval="10" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://clusterlabs.org/\fR\m[] .SH "AUTHOR" .PP \fBClusterLabs contributors (see the resource agent source for information about individual authors)\fR