Is DRBD device supported for Fence_SCSI configuration?

Issues related to applications and software problems
theocharotas
Posts: 28
Joined: 2015/11/20 18:47:55

Is DRBD device supported for Fence_SCSI configuration?

Postby theocharotas » 2018/01/12 14:27:23

Hello,

I have to build a two node cluster that can't have a shared device between two virtual nodes. I intend to use DRBD for the "common" storage (in active/standby mode) but now I have to think also for alternatives in Fencing/Stonith configuration. Is fence_scsi agent supported for DRBD devices?

I have seen several different guides and some of them use DRBD device but I would like to know if it's a valid configuration. I was thinking of using fence_vmware_soap as an alternative solution but customer does not provide vCenter user for security reasons. Is there any alternative solution using a custom script or a fencing option through SSH or something like that?

Thanks for you help.

hunter86_bg
Posts: 1109
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Is DRBD device supported for Fence_SCSI configuration?

Postby hunter86_bg » 2018/01/15 21:55:19

DRBD is not suitable for fencing,as the 2 (or more) nodes may loose connection between themselves causing havoc.
You can use 2/3 (standalone) iSCSI targets , each providing an sbd device (no more than several MBs) to both nodes. SBD (a.k.a. poison pill) can be used even in virtual machines with the help of the 'softdog' module.