<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
code
        {font-family:"Courier New"}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.E-MailFormatvorlage17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Good evening!</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I’m new to this mailing list, so please be gentle.
</span><span lang="EN-US" style="font-family:Wingdings">J</span><span lang="EN-US"> If I’m asking questions which are easily answered by a “RTFM” don’t hesitate to point me to the FM; I’m an eager reader.
</span><span lang="EN-US" style="font-family:Wingdings">J</span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">We’re using drbd in a two-node-cluster setup with pacemaker/corosync. DRBD is used in a classic active/passive-fashion. Currently I’m running into trouble, when a node is disconnected (with both communication channels)
from the cluster and comes back again (thus causing a split-brain). Related to that, I’ve two questions:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">1. Which program is called, when policy for “after-sb-2pri” is set to “call-pri-lost-after-sb”?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">The man for drbd.conf says “Call the "pri-lost-after-sb" helper program on one of the machines. This program is expected to reboot the machine, i.e. make it secondary. “ Well… which program would that be? I find the
following in /usr/lib/drbd (OS is OpenSuSE 11.3):</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">cms-appl01:/usr/lib/drbd # ls</span></p>
<p class="MsoNormal"><span lang="EN-US">crm-fence-peer.sh notify-pri-lost.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">crm-unfence-peer.sh notify-pri-on-incon-degr.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">notify-emergency-reboot.sh notify-split-brain.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">notify-emergency-shutdown.sh notify.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">notify-io-error.sh outdate-peer.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">notify-out-of-sync.sh snapshot-resync-target-lvm.sh</span></p>
<p class="MsoNormal"><span lang="EN-US">notify-pri-lost-after-sb.sh unsnapshot-resync-target-lvm.sh</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Which of those would I have to define in the “handlers” section (if any of those) for “</span><code><span lang="EN-US" style="font-size:10.0pt">pri-lost-after-sb“</span></code><span lang="EN-US"> to reboot the machine?
If there is no such script in the distribution, has any of you written such a script and could provide me with it? (Sorry for my bad English, but I’m getting awfully tired.)</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">2. At some point I found in my logs, that the data of one of the peers’ data is “invalid” and that the cluster is not synced, before the data is outdated. In earlier distributions of drbd, there was a “dopd” (drbd peer
outdater daemon). This seems not to exist anymore. Is the outdate-peer.sh script a replacement for dopd? And, if yes, which parameter in which section of the drbd.conf makes drbd use it?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">TNX in advance,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Andreas</span></p>
<p class="MsoNormal" style="margin-left:18.0pt"><span lang="EN-US"></span></p>
</div>
<span style="font-family:Arial; font-size:9.0pt"><br>
------------------------ <br>
CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef. <br>
Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136) <br>
Geschäftsführer/Managing Directors: Jürgen Zender (Sprecher/Chairman), Anke Höfer
</span>
</body>
</html>