[DRBD-user] fence-peer helper broken, returned 20

Anoop anoop_mohan at geojit.com
Wed Feb 27 07:58:35 CET 2013

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


Hi,

" State change failed: Refusing to be Primary while peer is not outdated"

How can I focefully  change secondary to primary while the primary is 
not outdated ?
If primary is crashed and is not outdated, can't access data in secondary.

Anoop Mohan

On 2/26/2013 1:32 PM, Anoop wrote:
> Hi,
>    Dopd is running. Below error message got from Heartbeat logs.
>
> helper command: /sbin/drbdadm fence-peer minor-1 exit code 20 (0x1400)
> passive kernel: block drbd1: fence-peer helper broken, returned 20
>
>
>
> Heartbeat Version - heartbeat 2.1.3
> DRBD Version      -  drbd 8.3.13
>
> Anoop Mohan
>
>
> On 2/26/2013 11:48 AM, Rasto Levrinc wrote:
>> On Tue, Feb 26, 2013 at 6:37 AM, Anoop <anoop_mohan at geojit.com> wrote:
>>> Hi,
>>>     still the same problem. can anybody help ? is there any other way .
>>> helper command: /sbin/drbdadm fence-peer minor-1 exit code 20 (0x1400)
>>> passive kernel: block drbd1: fence-peer helper broken, returned 20
>>>
>> Is the dopd running? Check the Heartbeat log too.
>> What Heartbeat version do you have?
>>
>> Rasto
>>
>>> Thanks
>>> Anoop
>>>
>>> On 2/25/2013 5:39 PM, Anoop wrote:
>>>> Hi,
>>>>
>>>> from the script  outdate-peer.sh
>>>>
>>>>   # exit codes of drbdmeata outdate:
>>>>            # 5  -> is inconsistent
>>>>            # 0  -> is outdated
>>>>           # 17 -> outdate failed because peer is primary.
>>>>           # Unfortunately 20 can have other reasons too....
>>>>
>>>> Thanks
>>>> Anoop
>>>>
>>>> On 2/22/2013 7:13 PM, Felix Frank wrote:
>>>>> Good. Have you looked at the script to find out what code 20 actually
>>>>> signifies?
>>>>>
>>>>> On 02/22/2013 02:34 PM, Anoop wrote:
>>>>>> Hi,
>>>>>> Its all configured.
>>>>>>
>>>>>> Thanks
>>>>>> Anoop
>>>>>>
>>>>>> On 2/22/2013 6:56 PM, Felix Frank wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I haven't dabbled in this functionality yet, but glancing over
>>>>>>> http://www.drbd.org/users-guide-8.3/s-heartbeat-dopd.html, it 
>>>>>>> appears
>>>>>>> that you need to have dopd running, configured etc. Do you?
>>>>>>>
>>>>>>> HTH,
>>>>>>> Felix
>>>>>>>
>>>>>>> On 02/22/2013 02:17 PM, Anoop wrote:
>>>>>>>> Hi,
>>>>>>>>     Thanks for the reply. I have already tried with fence-peer 
>>>>>>>> option
>>>>>>>> also. It did'nt worked.  I am using drbd, mysql and heartbeat. 
>>>>>>>> While
>>>>>>>> continuously writing data to mysql, I tried removing network 
>>>>>>>> cable.
>>>>>>>> Automatic failover didn't worked, "fence-peer helper broken".  Any
>>>>>>>> idea ?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Anoop
>>>>>
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>> The information contained in this electronic message and its 
>>> attachments
>>>   (the "message") is intended solely for the addressees and is 
>>> confidential
>>>   and privileged. If you are not the intended recipient, please 
>>> notify the
>>>   sender by reply e-mail and then destroy the message. Any 
>>> dissemination,
>>>   distribution, forwarding, copying, printing or disclosure, either 
>>> whole
>>>   or partial, is prohibited and may be unlawful.
>>>
>>> WARNING: Computer viruses can be transmitted via email. The recipient
>>>   should check this email and any attachments for the presence of 
>>> viruses.
>>>   The company accepts no liability for any damage caused by any virus
>>>   transmitted by this email.
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> drbd-user mailing list
>>> drbd-user at lists.linbit.com
>>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>
>>
>
>


-- 

------------------------------------------------------------------------
The information contained in this electronic message and its attachments
  (the "message") is intended solely for the addressees and is confidential
  and privileged. If you are not the intended recipient, please notify the
  sender by reply e-mail and then destroy the message. Any dissemination,
  distribution, forwarding, copying, printing or disclosure, either whole
  or partial, is prohibited and may be unlawful.

WARNING: Computer viruses can be transmitted via email. The recipient
  should check this email and any attachments for the presence of viruses.
  The company accepts no liability for any damage caused by any virus
  transmitted by this email.

------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130227/7c94b8f9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anoop.jpg
Type: image/jpeg
Size: 9268 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130227/7c94b8f9/attachment.jpg>


More information about the drbd-user mailing list