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       pidfile
29           pid file
30
31           (optional, string, default "/run/lvmlockd.pid")
32
33       socket_path
34           Set the socket path to listen on.
35
36           (optional, string, default "/run/lvm/lvmlockd.socket")
37
38       syslog_priority
39           Write log messages from this level up to syslog.
40
41           (optional, string, default "warning")
42
43       adopt
44           Adopt locks from a previous instance of lvmlockd.
45
46           (optional, integer, default 1)
47

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

70       The following is an example configuration for a lvmlockd resource using
71       the crm(8) shell:
72
73           primitive p_lvmlockd ocf:heartbeat:lvmlockd \
74             op monitor timeout="90s" interval="30s" depth="0"
75

EXAMPLE PCS

77       The following is an example configuration for a lvmlockd resource using
78       pcs(8)
79
80           pcs resource create p_lvmlockd ocf:heartbeat:lvmlockd \
81             op monitor timeout="90s" interval="30s" OCF_CHECK_LEVEL="0"
82

SEE ALSO

84       http://clusterlabs.org/
85

AUTHOR

87       ClusterLabs contributors (see the resource agent source for information
88       about individual authors)
89
90
91
92resource-agents UNKNOWN           04/06/2022           OCF_HEARTBEAT_LVMLOC(7)
Impressum