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

Anoop anoop_mohan at geojit.com
Fri Feb 22 14:17:32 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,
   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


On 2/22/2013 6:29 PM, Thomas Hänig wrote:
> Hi,
> I am new here too, but while playing with a helper I saw nearly the same
> message:
>
> Feb 22 12:45:09 node1 kernel: [  822.982568] d-con drbd_test: helper
> command: /sbin/drbdadm fence-peer drbd_test exit code 0 (0x0)
> Feb 22 12:45:09 node1 kernel: [  822.982571] d-con drbd_test: fence-peer
> helper broken, returned 0
>
> This part simply means "return code 0 of the helper script is not
> expected/invalid". In your case this would be the value 20 (0x1400)
>
> for return codes see:
> http://www.drbd.org/users-guide/s-fence-peer.html
>
> I am not shure if fence-peer and oudate-peer are synonyms. My version's
> (8.4) man page says "... fence-peer (formerly oudate-peer) ...". Maybe
> simply changing the name within the handlers section will help.
>
>
> Thomas
>
> Am 22.02.2013 13:34, schrieb Anoop:
>> Can anyone help me please ..
>>
>>
>> On 2/19/2013 10:54 AM, Anoop wrote:
>>> Hi all,
>>>          I am new to drbd. I have the following error when try
>>> automatic failover with heartbeat.  dopd is not working fine. Please
>>> help.
>>>
>>> Feb 19 13:46:57 passive kernel: block drbd1: helper command:
>>> /sbin/drbdadm fence-peer minor-1 exit code 20 (0x1400)
>>> Feb 19 13:46:57 passive kernel: block drbd1: fence-peer helper broken,
>>> returned 20
>>> Feb 19 13:46:57 passive kernel: block drbd1: State change failed: Need
>>> access to UpToDate data
>>>
>>> Please find the drbd.conf file
>>>
>>> #
>>> global {
>>> usage-count no;
>>> }
>>> common {
>>> protocol C;
>>> handlers {
>>> outdate-peer "/usr/lib64/heartbeat/drbd-peer-outdater";
>>> }}
>>>
>>> resource r0 {
>>> on active.drbd.com {
>>> device /dev/drbd1;
>>> disk /dev/sda3;
>>> address 192.168.29.25:7789;
>>> meta-disk internal;
>>>
>>> }
>>> on passive.drbd.com {
>>> device /dev/drbd1;
>>> disk /dev/sda3;
>>> address 192.168.29.27:7789;
>>> meta-disk internal;
>>> }
>>> disk {
>>> fencing resource-only;
>>> }
>>> }
>>>
>>>
>>> Thanks and Regards
>>> Anoop Mohan
>>>
>>
>


-- 

------------------------------------------------------------------------
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/20130222/66bb7a40/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/20130222/66bb7a40/attachment.jpg>


More information about the drbd-user mailing list