table of contents
other versions
- jessie 1:3.9.3+git20121009-3.1
- jessie-backports 1:4.0.0~rc1-4~bpo8+1
- stretch 1:4.0.0~rc1-4
- testing 1:4.2.0-1
- unstable 1:4.2.0-2
OCF_HEARTBEAT_LVM(7) | OCF resource agents | OCF_HEARTBEAT_LVM(7) |
NAME¶
ocf_heartbeat_LVM - Controls the availability of an LVM Volume GroupSYNOPSIS¶
LVM [start | stop | status | monitor | meta-data |
validate-all]
DESCRIPTION¶
Resource script for LVM. It manages an Linux Volume Manager volume (LVM) as an HA resource.SUPPORTED PARAMETERS¶
volgrpnameThe name of volume group.
(required, string, no default)
exclusive
If set, the volume group will be activated exclusively.
(optional, boolean, default false)
partial_activation
If set, the volume group will be activated even only
partial of the physical volumes available. It helps one to set to true, when
you are using mirroring logical volumes.
(optional, string, default "false")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations): startStarts the resource. Suggested minimum timeout: 30.
stop
Stops the resource. Suggested minimum timeout: 30.
status
Performs a status check. Suggested minimum timeout:
30.
monitor
Performs a detailed status check. Suggested minimum
timeout: 30. Suggested interval: 10.
methods
Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only).
Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration.
Suggested minimum timeout: 5.
EXAMPLE¶
The following is an example configuration for a LVM resource using the crm(8) shell:primitive p_LVM ocf:heartbeat:LVM \ params \ volgrpname= string \ op monitor depth="0" timeout="30" interval="10"
SEE ALSO¶
http://www.linux-ha.org/wiki/LVM_(resource_agent)AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)02/21/2014 | resource-agents UNKNOWN |