# Copyright (C) 2015 Kristoffer Gronlund # # License: GNU General Public License (GPL) version: 2.2 category: File System shortdesc: Cluster-aware LVM (lvmlockd) longdesc: | Configure a cloned lvmlockd resource. NB: Only one lvmlockd resource is necessary, regardless of how many volume groups are managed as resources. To monitor volume groups after configuring lvmlockd, the wizard for activating volume groups can be used. Refer to manpage of lvmlockd for more information. parameters: - name: install type: boolean shortdesc: Install packages for lvmlockd value: false actions: - install: - lvm2-lockd shortdesc: Install the lvm2-lockd package when: install - cib: | primitive dlm ocf:pacemaker:controld op start timeout=90s op stop timeout=100s primitive lvmlockd ocf:heartbeat:lvmlockd op start timeout=90s op stop timeout=100s group g-clvm dlm lvmlockd clone c-clvm g-clvm meta interleave=true ordered=true