Support Policies for RHEL High Availability Clusters - LVM in a Cluster
Contents
Overview
Applicable Environments
- Red Hat Enterprise Linux (RHEL) with the High Availability Add-On
Useful References and Guides
Introduction
This guide offers Red Hat's policies around the usage of LVM within RHEL High Availability clusters. Users of RHEL High Availability clusters should adhere to these policies in order to be eligible for support from Red Hat with the appropriate product support subscriptions.
Policies
Cluster management of shared LVM: Clusters that share block storage devices and manage them with LVM must use one of the following methods for managing shared access to these devices in order to receive support from Red Hat:
- HA-LVM: Shared LVM volumes are activated by the cluster resource manager using:
- RHEL 6
lvmresource-agent managed withrgmanager. When usingLVMresource and not managed byclvmdorcontroldresources, then/etc/lvm/lvm.confattribute should be set tolocking_type=1.clvmdis used to manage clustered LVM volume groups and and the/etc/lvm/lvm.confattributelocking_typeshould be set to3(locking_type=3).
- RHEL 7
LVMresource-agent.controldandclvmresource-agents: These resource-agents are used to manage clustered LVM volume groups and and the/etc/lvm/lvm.confattributelocking_typeshould be set to3(locking_type=3).LVM-activateresource-agent. The resource-agentLVM-activateis technology preview on RHEL 7 and is not fully supported.lvmlockdresource-agent. The resource-agentlvmlockdis technology preview on RHEL 7 and is not fully supported. The resource-agent is used to manage shared LVM volume groups and the/etc/lvm/lvm.confattributelocking_typeshould be set to1(locking_type=1).
- RHEL 8 and RHEL 9
LVM-activateresource-agent.lvmlockdis used to manage shared LVM volume groups and the/etc/lvm/lvm.confattributelocking_typeshould be set to1(locking_type=1). The only supported "locking manager" for the resource-agentlvmlockdisdlmvia thecontroldresource-agent. The locking managersanlockis not support by thelvmlockdresource-agent. For more information on thelvmlockdresource-agent then run the commandpcs resource describe ocf:heartbeat:lvmlockd.
- RHEL 10 or later:
- The resource-agent
lvmlockdis not supported with RHEL 10 or later. The reason is that there is no longer a supported locking manager for the resource-agentlvmlockdto use after the removal of Resilient Storage Add-On on RHEL 10 which provided the locking manager DLM.
- The resource-agent
- RHEL 6
Red Hat may be unable to provide support with cluster environments sharing LVM devices that do not use one of these facilities.
LVM RAID: Red Hat's support of shared LVM RAID volumes - volumes using any "raid" segment type for mirroring - in a High Availability cluster is subject to the following conditions:
- RHEL
- Red Hat does not support the usage of LVM RAID volumes with clustered LVM volume groups (
clvmd,clvm) or shared LVM volume groups (lvmlockd).
- Red Hat does not support the usage of LVM RAID volumes with clustered LVM volume groups (
- RHEL 6
lvmresource-agent managed byrgmanager: Supported by Red Hat withresource-agents-3.9.2-21.el6or later, only when usingtaggingwith avolume_list.LVMresource-agent managed bypacemaker: Supported by Red Hat withresource-agents-3.9.5-34.el6or later, only when using tagging with avolume_list.
- RHEL 7
LVMresource-agent: Supported by Red Hat only when using tagging with avolume_list.LVM-activateresource-agent: Technology Preview only when using tagging with avolume_list. These resource-agents are technology preview and are not fully supported.
- RHEL 8+
LVM-activateresource-agent: Supported by Red Hat
-
LVM mirroring (non-RAID): Red Hat supports usage of clustered LVM mirrored volumes - those of the segment type mirror - within RHEL High Availability clusters.
- RHEL 6: Supported with
clvmdthat managed the clustered logical volumes. - RHEL 7: Supported with
clvmdvia theclvmresource-agent that managed the clustered logical volumes. - RHEL 8: The daemon
cmirrordis deprecated and is incompatible with resource-agentlvmlockdthat is used to managed shared LVM volume groups on RHEL 8+. To usepvmoveon a shared volume group on RHEL 8 then see the following article: How topvmovea volume that utilizeslvmlockdshared activation on RHEL 8?
Use of cache logical volumes in a cluster: Red Hat supports cache volumes in RHEL 8, in RHEL 7.1 or later and RHEL 6.7 or later.
Cache volumes can only be deployed in non-clustered volume groups - that is, VGs that are managed via an HA-LVM system through an LVM or LVM-activate resource (pacemaker) or lvm resource (rgmanager). Cache volumes are not supported with lvmlockd or clvmd from the the Resilient Storage Add-On.
Cache volumes shared by a cluster must use writethrough cache mode by way of allocation { cache_mode = "writethrough" } in /etc/lvm/lvm.conf.
lvm2-lvmetad: With releases of lvm2 that provide support for lvm2-lvmetad, clusters sharing access to LVM volumes must have lvm2-lvmetad disabled in the configuration and as a service to prevent problems resulting from inconsistent metadata caching throughout the cluster.
- RHEL 6:
lvm2-lvmetadcan be disabled in/etc/lvm/lvm.confin theglobalsection withuse_lvmetad=0. Thelvm2-lvmetadcan be disabled at a service level usingchkconfigand stopped usingservice.
- RHEL 7:
lvm2-lvmetadcan be disabled in/etc/lvm/lvm.confin theglobalsection withuse_lvmetad=0.
Thelvm2-lvmetadcan be disabled and stopped at a service level usingsystemctl.
- RHEL 8:
- The use of
lvm2-lvmetadis deprecated and not supported and the attributeuse_lvmetadno longer exists in/etc/lvm/lvm.confand the the systemd servicelvm2-lvmetadno longer exists.
- The use of
Thin-provisioning logical volume: Thin-provisioning logical volume are supported by pacemaker in active/passive configurations only. For more information then see: Can I used thin-provisioned LUNs as backing storage for my High Availability cluster?
RHEL 6 ocf:heartbeat:LVM resources with exclusive=true and clvmd: The ocf:heartbeat:LVM resource type in RHEL 6 pacemaker clusters must only be used with non-clustered volume groups if the resource must be exclusively-activated (using attribute exclusive=true). Red Hat does not support the usage of LVM resources with exclusive=true managing a clustered volume group in RHEL 6. Exclusive volume groups must use the tagging method of HA-LVM management, which is achieved by ensuring the volume group does not have the clustered attribute enabled on it.
Comments