<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
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 ? <br>
<br>
Thanks<br>
Anoop<br>
<br>
<br>
On 2/22/2013 6:29 PM, Thomas Hänig wrote:<br>
</div>
<blockquote cite="mid:51276BB1.2070805@cosifan.de" type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://www.drbd.org/users-guide/s-fence-peer.html">http://www.drbd.org/users-guide/s-fence-peer.html</a>
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:
</pre>
<blockquote type="cite">
<pre wrap="">Can anyone help me please ..
On 2/19/2013 10:54 AM, Anoop wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.09000000.07080802@geojit.com" border="0"></div>
</body>
<pre>
------------------------------------------------------------------------
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.
------------------------------------------------------------------------
</pre>
</html>