table of contents
OCF_HEARTBEAT_LVM(7) | OCF resource agents | OCF_HEARTBEAT_LVM(7) |
NAME¶
ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group
SYNOPSIS¶
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¶
volgrpname
(unique, required, string, no default)
exclusive
(optional, boolean, default false)
tag
(optional, string, default "pacemaker")
partial_activation
(optional, string, default "false")
volume_group_check_only
WARNING: ONLY USE IF YOU HAVE ISSUES WITH TIMEOUTS!
(optional, string, default "false")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
methods
meta-data
validate-all
EXAMPLE CRM SHELL¶
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="30s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a LVM resource using pcs(8)
pcs resource create p_LVM ocf:heartbeat:LVM \
volgrpname=string \
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |