1OCF_HEARTBEAT_LVM(7)          OCF resource agents         OCF_HEARTBEAT_LVM(7)
2
3
4

NAME

6       ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group
7

SYNOPSIS

9       LVM [start | stop | status | monitor | meta-data | validate-all]
10

DESCRIPTION

12       Resource script for LVM. It manages an Linux Volume Manager volume
13       (LVM) as an HA resource.
14

SUPPORTED PARAMETERS

16       volgrpname
17           The name of volume group.
18
19           (unique, required, string, no default)
20
21       exclusive
22           If set, the volume group will be activated exclusively. This option
23           works one of two ways. If the volume group has the cluster
24           attribute set, then the volume group will be activated exclusively
25           using clvmd across the cluster. If the cluster attribute is not
26           set, the volume group will be activated exclusively using a tag and
27           the volume_list filter. When the tag option is in use, the
28           volume_list in lvm.con must be initialized. This can be as simple
29           as setting 'volume_list = []' depending on your setup.
30
31           (optional, boolean, default false)
32
33       tag
34           If "exclusive" is set on a non clustered volume group, this
35           overrides the tag to be used.
36
37           (optional, string, default "pacemaker")
38
39       partial_activation
40           If set, the volume group will be activated partially even with some
41           physical volumes missing. It helps to set to true when using
42           mirrored logical volumes.
43
44           (optional, string, default "false")
45

SUPPORTED ACTIONS

47       This resource agent supports the following actions (operations):
48
49       start
50           Starts the resource. Suggested minimum timeout: 30s.
51
52       stop
53           Stops the resource. Suggested minimum timeout: 30s.
54
55       status
56           Performs a status check. Suggested minimum timeout: 30s.
57
58       monitor
59           Performs a detailed status check. Suggested minimum timeout: 30s.
60           Suggested interval: 10s.
61
62       methods
63           Suggested minimum timeout: 5s.
64
65       meta-data
66           Retrieves resource agent metadata (internal use only). Suggested
67           minimum timeout: 5s.
68
69       validate-all
70           Performs a validation of the resource configuration. Suggested
71           minimum timeout: 5s.
72

EXAMPLE CRM SHELL

74       The following is an example configuration for a LVM resource using the
75       crm(8) shell:
76
77           primitive p_LVM ocf:heartbeat:LVM \
78             params \
79               volgrpname=string \
80             op monitor depth="0" timeout="30s" interval="10s"
81

EXAMPLE PCS

83       The following is an example configuration for a LVM resource using
84       pcs(8)
85
86           pcs resource create p_LVM ocf:heartbeat:LVM \
87             volgrpname=string \
88             op monitor depth="0" timeout="30s" interval="10s"
89

SEE ALSO

91       http://clusterlabs.org/
92

AUTHOR

94       ClusterLabs contributors (see the resource agent source for information
95       about individual authors)
96
97
98
99resource-agents UNKNOWN           03/09/2020              OCF_HEARTBEAT_LVM(7)
Impressum