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

NAME

6       ocf_heartbeat_lvmlockd - This agent manages the lvmlockd daemon
7

SYNOPSIS

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

DESCRIPTION

12       This agent manages the lvmlockd daemon. "lvmlockd" is like "clvmd".
13       Both are used by LVM commands to coordinate access to shared storage,
14       but with different design and implementations. "lvmlockd" can use two
15       lock managers: dlm and sanlock. This agent only supports "dlm +
16       lvmlockd". If dlm (or corosync) are already being used by other cluster
17       software, you are advised to select dlm, then configure "controld"
18       resource agent for dlm and this agent for "lvmlockd". Otherwise,
19       consider sanlock for "lvmlockd" if dlm/corosync is not required.
20
21       Using lvmlockd requires the settings in LVM configuration file
22       (/etc/lvm/lvm.conf): "locking_type = 1" and "use_lvmlockd = 1". This RA
23       will change the settings respectively if needed.
24
25       For more information, refer to manpage lvmlockd.8.
26

SUPPORTED PARAMETERS

28       with_cmirrord
29           Start with cmirrord (cluster mirror log daemon).
30
31           (optional, boolean, default false)
32
33       pidfile
34           pid file
35
36           (optional, string, default "/run/lvmlockd.pid")
37
38       socket_path
39           Set the socket path to listen on.
40
41           (optional, string, default "/run/lvm/lvmlockd.socket")
42
43       syslog_priority
44           Write log messages from this level up to syslog.
45
46           (optional, string, default "warning")
47
48       adopt
49           Adopt locks from a previous instance of lvmlockd.
50
51           (optional, integer, default 1)
52

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

75       The following is an example configuration for a lvmlockd resource using
76       the crm(8) shell:
77
78           primitive p_lvmlockd ocf:heartbeat:lvmlockd \
79             op monitor timeout="90s" interval="30s" depth="0"
80

EXAMPLE PCS

82       The following is an example configuration for a lvmlockd resource using
83       pcs(8)
84
85           pcs resource create p_lvmlockd ocf:heartbeat:lvmlockd \
86             op monitor timeout="90s" interval="30s" depth="0"
87

SEE ALSO

89       http://clusterlabs.org/
90

AUTHOR

92       ClusterLabs contributors (see the resource agent source for information
93       about individual authors)
94
95
96
97resource-agents UNKNOWN           10/24/2018           OCF_HEARTBEAT_LVMLOC(7)
Impressum