1OCF_HEARTBEAT_LVM(7) OCF resource agents OCF_HEARTBEAT_LVM(7)
2
3
4
6 ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group
7
9 LVM [start | stop | status | monitor | meta-data | validate-all]
10
12 Resource script for LVM. It manages an Linux Volume Manager volume
13 (LVM) as an HA resource.
14
16 volgrpname
17 The name of volume group. (required, string, no default)
18
19 exclusive
20 If set, the volume group will be activated exclusively. (optional,
21 string, default false)
22
23 partial_activation
24 If set, the volume group will be activated even only partial of the
25 physical volumes available. It helps to set to true, when you are
26 using mirroring logical volumes. (optional, string, default false)
27
29 This resource agent supports the following actions (operations):
30
31 start
32 Starts the resource. Suggested minimum timeout: 30.
33
34 stop
35 Stops the resource. Suggested minimum timeout: 30.
36
37 status
38 Performs a status check. Suggested minimum timeout: 30.
39
40 monitor
41 Performs a detailed status check. Suggested minimum timeout: 30.
42 Suggested interval: 10.
43
44 methods
45 Suggested minimum timeout: 5.
46
47 meta-data
48 Retrieves resource agent metadata (internal use only). Suggested
49 minimum timeout: 5.
50
51 validate-all
52 Performs a validation of the resource configuration. Suggested
53 minimum timeout: 5.
54
56 The following is an example configuration for a LVM resource using the
57 crm(8) shell:
58
59 primitive p_LVM ocf:heartbeat:LVM \
60 params \
61 volgrpname=string \
62 op monitor depth="0" timeout="30" interval="10"
63
65 http://www.linux-ha.org/wiki/LVM_(resource_agent)
66
68 Linux-HA contributors (see the resource agent source for information
69 about individual authors)
70
71
72
73resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_LVM(7)