How should I configure my RHEL Resilient Storage cluster to manage active/passive shared LVM volumes when I also need to manage active/active LVM volumes for GFS2?
Issue
- What is the recommended deployment strategy for a cluster managing both single-host active/passive logical volumes supporting single-host filesystems such as
ext3
,ext4
, etc and multi-host logical volumes supporting GFS2 distributed filesystems? - I have a cluster that uses
clvmd
to share LVM volume groups for GFS2 file systems, and I also need to manage shared volumes for single-host file systems in the same cluster. Red Hat's documentation recommends always usingHA-LVM
when shared LVM volumes are in use, but I'm not sure if I can useclvmd
for GFS2 andHA-LVM
in the same cluster. How should I configure my resources? LVM
resources that useexclusive=true
fail to activate in clusters that also use cloned LVM resources withexclusive=false
andclvmd
in apacemaker
cluster.
Environment
- Red Hat Enterprise Linux (RHEL) 5, 6, 7, 8 and 9 with the Resilient Storage Add On
- Shared LVM volume groups to be used both for:
- Active/passive workloads that only need access to shared storage on one node at a time, and
- Active/active workloads that utilize GFS2 for concurrent access to data across multiple nodes
pacemaker
orrgmanager
for resource management
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.