Hi guys,
In the below setup, trying to have an active/active ha cluster, we are wondering if we need to setup lvmlockd + sanlock to avoid possible data corruption:
building a high-availability (HA) infrastructure in Proxmox using shared LVM storage accessible by two Proxmox nodes, built on ISCSI LUN served by mirrored SAN vDisks.:
In the below setup, trying to have an active/active ha cluster, we are wondering if we need to setup lvmlockd + sanlock to avoid possible data corruption:
building a high-availability (HA) infrastructure in Proxmox using shared LVM storage accessible by two Proxmox nodes, built on ISCSI LUN served by mirrored SAN vDisks.:
Objective
We want to:- Create a shared LVM volume group on a mirrored DataCore vDisk accessible by both Proxmox nodes (active/active).
- Run VMs on both nodes with the ability to automatically fail over in case one node goes down (Proxmox HA).
- Avoid data corruption by ensuring proper cluster-wide locking on shared LVM.
Infrastructure Setup
- 2 Proxmox nodes (
gri-it-pve01
,gri-it-pve02
) - 1 DataCore mirrored vDisk (visible as
/dev/mapper/mpath-vd-lvm-01
on both nodes) - Multipath enabled to handle redundant paths to DataCore
Technologies Used
Component | Technology | Purpose |
---|---|---|
Storage | DataCore Virtual Disks (mirrored) | Provides shared block storage replicated for high availability |
Multipath | Linux DM-Multipath (mpathX ) | Ensures resilience and redundancy to block storage |
LVM | shared LVM | Allows concurrent access from both nodes using cluster-wide locking |
Proxmox HA | Proxmox Cluster + HA Manager | Detects node failures and automatically migrates/starts VMs elsewhere |
Last edited: