[ClusterLabs] how to active Clustered Logical Volume Manager with CRM
Travis Bean
tbean74 at gmail.com
Tue Jul 29 14:47:03 UTC 2025
On Mon, Jul 28, 2025 at 9:49 AM Travis Bean <tbean74 at gmail.com> wrote:
>
> In the past, I always used the following to activate the Distributed
> Lock Manager (DLM) and Clustered Logical Volume Manager (CLVM):
>
> crm<<EOF.base
> configure
> property no-quorum-policy="ignore"
> rsc_defaults resource-stickiness="100"
> primitive controld ocf:pacemaker:controld \
> op monitor interval="60s" timeout="30s" \
> op start interval="0" timeout="90s" \
> op stop interval="0" timeout="100s"
> primitive clvmd ocf:lvm2:clvmd \
> op monitor interval="60s" timeout="30s" \
> op start interval="0" timeout="90s" \
> op stop interval="0" timeout="100s"
> group gr_base controld clvmd
> clone cl_base gr_base \
> meta interleave="true"
> commit
> EOF.base
>
> Now I get an error when attempting to use this code. The error is as follows:
>
> ERROR: ocf:lvm2:clvmd: got no meta-data, does this RA exist?
> ERROR: ocf:lvm2:clvmd: no such resource agent
Is the following a suitable replacement for the above-mentioned
deprecated code, or am I missing something?:
crm<<EOF.base
configure
property no-quorum-policy="ignore"
rsc_defaults resource-stickiness="100"
primitive lvmlockd lvmlockd \
op monitor interval="60s" timeout="30s" \
op start interval="0" timeout="90s" \
op stop interval="0" timeout="100s"
primitive rsc-LVM LVM-activate \
params vgname=vg_system vg_access_mode=lvmlockd \
op monitor interval="60s" timeout="30s" \
op start interval="0" timeout="90s" \
op stop interval="0" timeout="100s"
group gr_base lvmlockd rsc-LVM
clone cl_base gr_base \
meta interleave="true"
commit
EOF.base
More information about the Users
mailing list