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