[DRBD-user] [DRBD] DRBD resource works until fence is used

Lars Ellenberg lars.ellenberg at linbit.com
Mon Sep 4 14:42:45 CEST 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, Aug 28, 2017 at 08:45:52PM +0300, Octavian Ciobanu wrote:
> Hello all.
> 
> I've encountered the following issue.
> 
> I have a DRBD resource that is set as a Master/Slave Resource in a
> Pacemaker cluster and it works as it should. I've added fencing to
> Pacemaker cluster and it works but when I add the fencing parameters to
> DRBD resource config file the DRBD complains that it is not fining the
> resource file in /etc/drbd.conf. If I comment or remove the fence
> parameters from DRBD resource file the resource gets back to working
> condition.
> 
> In DRBD resource file, located in /etc/drbd.d/, I've added on fencing
> resource-only; to disk directive and fence-peer
> "/usr/lib/drbd/crm-fence-peer.sh"; after-resync-target
> "/usr/lib/drbd/crm-unfence-peer.sh"; to handlers directive inside resource
> directive. (Followed instructions from DRBD 9 manual).
> 
> Any info that might help in fixing this is welcome.

With DRBD 9, you want to use
"fence-peer crm-fence-peer.9.sh" and
"unfence-peer crm-unfence-peer.9.sh"
(mind the .9.)


-- 
: Lars Ellenberg
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker

DRBD® and LINBIT® are registered trademarks of LINBIT
__
please don't Cc me, but send to list -- I'm subscribed



More information about the drbd-user mailing list