Hi!
I have run dual-primary drbd successfully with two node proxmox cluster, each pve node being also drbd node (and using local storage). And /dev/drbd0 block device is used as lvm pv device, lvm needs to be initialized at one node since block device content appears or rahter is same and both nodes. And this storage is used from pve webgui as shared-lvm flavor of storage. And eventually virtual computer's virtual disk is used from this shared-lvm resource, inside virtual computer there is for example another layer of lvm and on top of that is ext4 filesystem. Done that way, virtual computer is online moveable etc. No pacemaker needed or anything, works beautifully.
I understand it is kind of classic approach mentioned serveral times in forum.proxmox.com also, for example, https://forum.proxmox.com/threads/2...rimary-why-is-there-no-data-corruption.21883/ I imagine it to myself drbd setup being kind of software-defined-ha-storage.
And also I have run successfully two node proxmox cluster what is taking storage from over the network of third computer serving as iscsi target. iscsi resource is used as shared-lvm and as a result it is possible to have virtual computer online migration.
But i would like to ask about possible variation of these setups or actually combination of above two. I wish drbd nodes being separate from pve nodes. There would be for pve-01 node respective drbd-01 node, and for pve-02 respective drbd-02 node. drbd nodes form dual-primary setup and usable block devices at both computers are /dev/drbd0. And from drbd-01 it is connected over iscsi to pve-01 where is appears as say /dev/sdb device; and from drbd-02 it is connected to pve-02 similarily.
My expectation would be that next i create at pve-01 lvm on /dev/sdb and it will be present also at pve-02. And i could use it similarily to before mentioned so to say classic drbd-lvm approarch. Virtual computer is online movable etc.
I would be very thankful if you could comment on this, maybe suggest something to take into account, or just advice against it with little reasoning.
PS What i intend not to do and what ambition i do not have is dual-primary-iscsi-multipath like described at https://fghaas.wordpress.com/2011/11/29/dual-primary-drbd-iscsi-and-multipath-dont-do-that/ I understand drbd + iscsi are not suited for this.
Best regards,
Imre
I have run dual-primary drbd successfully with two node proxmox cluster, each pve node being also drbd node (and using local storage). And /dev/drbd0 block device is used as lvm pv device, lvm needs to be initialized at one node since block device content appears or rahter is same and both nodes. And this storage is used from pve webgui as shared-lvm flavor of storage. And eventually virtual computer's virtual disk is used from this shared-lvm resource, inside virtual computer there is for example another layer of lvm and on top of that is ext4 filesystem. Done that way, virtual computer is online moveable etc. No pacemaker needed or anything, works beautifully.
I understand it is kind of classic approach mentioned serveral times in forum.proxmox.com also, for example, https://forum.proxmox.com/threads/2...rimary-why-is-there-no-data-corruption.21883/ I imagine it to myself drbd setup being kind of software-defined-ha-storage.
And also I have run successfully two node proxmox cluster what is taking storage from over the network of third computer serving as iscsi target. iscsi resource is used as shared-lvm and as a result it is possible to have virtual computer online migration.
But i would like to ask about possible variation of these setups or actually combination of above two. I wish drbd nodes being separate from pve nodes. There would be for pve-01 node respective drbd-01 node, and for pve-02 respective drbd-02 node. drbd nodes form dual-primary setup and usable block devices at both computers are /dev/drbd0. And from drbd-01 it is connected over iscsi to pve-01 where is appears as say /dev/sdb device; and from drbd-02 it is connected to pve-02 similarily.
My expectation would be that next i create at pve-01 lvm on /dev/sdb and it will be present also at pve-02. And i could use it similarily to before mentioned so to say classic drbd-lvm approarch. Virtual computer is online movable etc.
I would be very thankful if you could comment on this, maybe suggest something to take into account, or just advice against it with little reasoning.
PS What i intend not to do and what ambition i do not have is dual-primary-iscsi-multipath like described at https://fghaas.wordpress.com/2011/11/29/dual-primary-drbd-iscsi-and-multipath-dont-do-that/ I understand drbd + iscsi are not suited for this.
Best regards,
Imre
Last edited: