<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 2/2/2021 4:02 PM, Ken Gaillot wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:396cc52f2d27b8aab611d2312ba172b07bdc9d7f.camel@redhat.com">
      <pre class="moz-quote-pre" wrap="">I haven't used DRBD in a while, but I believe newer versions handle the
equivalent of promotion internally, rather than via the resource agent
and pacemaker. It could be that you simply don't need a promotable
clone, just a regular clone. I don't know how that would actually work,
but it's maybe something to investigate.</pre>
    </blockquote>
    <p>How's that? What would be the hooks? If someone has some
      experience as to why that would be great. It seems that people
      using pacemaker 2.x apparently successfully are using the 'start'
      order constraint instead of 'promote' and I have no clue WHY,
      except it seems to be working (it promotes the master correctly).<br>
    </p>
    <p>I have tested using/not using DRBD's:<br>
    </p>
    <ul>
      <li>fence-peer "/usr/lib/drbd/crm-fence-peer.9.sh";</li>
      <li>after-resync-target "/usr/lib/drbd/crm-unfence-peer.9.sh"</li>
    </ul>
    <p>And using "auto-promote yes;" A bit less clear on this.</p>
    <p>These options didn't seem to make a working cluster when using
      the 'promote' order constraint (e.g. fails on going standby).<br>
    </p>
    <p>Thanks, and still clueless,</p>
    <p>Brent</p>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>