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?

Solution Verified - Updated -

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 using HA-LVM when shared LVM volumes are in use, but I'm not sure if I can use clvmd for GFS2 and HA-LVM in the same cluster. How should I configure my resources?
  • LVM resources that use exclusive=true fail to activate in clusters that also use cloned LVM resources with exclusive=false and clvmd in a pacemaker cluster.

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6 and 7 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 or rgmanager for resource management

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content