Of Shared Storage, SBDs, and Clustered VMs

eroux

Member
Aug 6, 2021
2
0
6
58
Hi all,

I would like to cluster some VMs within my Proxmox Homer Lab, using Pacemaker and Corosync. i world then like to create a couple of Shared Storage Devices between the nodes, all sharing the same respective "physical" storage devices underneath. The idea is to create two, one being a `sbd` STONITH fencing device, and the other a Clustered-LVM storage device within a fail-over group which will fail over to another node on failure.

And herewith my problem. While it would be easy enough to accomplish both of those using an iSCSI device (maybe even running from another internal VM or LXC container), I would like to just share the devices directly from the hypervisor, like I would on VMware, for example.

Anyone willing to share a clue how I'd go about doing something like that!?
 
While not officially endorsed, you could try something like this:

Code:
root@pve7demo1:~# pvesm alloc bb-iscsi 1001 vm-1001-shared-disk 1G
successfully created 'bb-iscsi:vm-1001-shared-disk'

root@pve7demo1:~# qm set 1001 --scsi5 bb-iscsi:vm-1001-shared-disk
update VM 1001: -scsi5 bb-iscsi:vm-1001-shared-disk

root@pve7demo1:~# qm set 1002 --scsi5 bb-iscsi:vm-1001-shared-disk
update VM 1002: -scsi5 bb-iscsi:vm-1001-shared-disk


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: LnxBil

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!