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
46       volume_group_check_only
47           If set, only the volume group will be checked during monitoring.
48
49           WARNING: ONLY USE IF YOU HAVE ISSUES WITH TIMEOUTS!
50
51           (optional, string, default "false")
52

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

81       The following is an example configuration for a LVM resource using the
82       crm(8) shell:
83
84           primitive p_LVM ocf:heartbeat:LVM \
85             params \
86               volgrpname=string \
87             op monitor depth="0" timeout="30s" interval="10s"
88

EXAMPLE PCS

90       The following is an example configuration for a LVM resource using
91       pcs(8)
92
93           pcs resource create p_LVM ocf:heartbeat:LVM \
94             volgrpname=string \
95             op monitor depth="0" timeout="30s" interval="10s"
96

SEE ALSO

98       http://clusterlabs.org/
99

AUTHOR

101       ClusterLabs contributors (see the resource agent source for information
102       about individual authors)
103
104
105
106resource-agents UNKNOWN           03/14/2019              OCF_HEARTBEAT_LVM(7)
Impressum