[DRBD-user] Need help setting fence handler and pacemaker 1.1.10 with DRBD 8.3.16 config

Digimer lists at alteeve.ca
Thu Jun 26 19:27:13 CEST 2014

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


On 26/06/14 06:11 AM, Lars Ellenberg wrote:
>
> I already relayed an answer through Matt, off list.
> But here is for the benefit of the archives:
>
> On Thu, Jun 19, 2014 at 12:54:29AM -0400, Digimer wrote:
>> Hi all,
>>
>>    This is something of a repeat of my questions on the Pacemaker
>> mailing list, but I think I am dealing with a DRBD issue, so allow
>> me to ask again here.
>>
>>    I have drbd configured thus:
>>
>> ====
>> # /etc/drbd.conf
>> common {
>>      protocol               C;
>>      net {
>>          allow-two-primaries;
>>      disk {
>>          fencing          resource-and-stonith;
>
>>          fence-peer       /usr/lib/drbd/crm-fence-peer.sh;
>
> You need to unfence it, too...
> after-resync-target ... -unfence- ...

Is there a better trigger for this? DRBD is perfectly capable of going 
Primary while still being SyncTarget (or even Diskless, if you get right 
now do it). Is there/could there be something like 'on-reconnect ...'?

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the drbd-user mailing list