<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>In a functional classic 3 node set up what is the expected state
      of the secondary node that is the lower resource with regards the
      upper resource?  <br>
    </p>
    <p>trk-kvm-01 (primary for both resource levels)</p>
    <blockquote>
      <p><tt>root@trk-kvm-01:~/scripts# drbd-overview </tt><tt><br>
        </tt><tt>[...] </tt><tt><br>
        </tt><tt> 12:convirt/0                Connected
          Primary/Secondary   UpToDate/UpToDate _convirt           vda
          virtio </tt><tt><br>
        </tt><tt>[...]</tt><tt><br>
        </tt><tt>120:convirt-U/0         ^^12 Connected
          Primary/Secondary   UpToDate/UpToDate </tt><br>
      </p>
    </blockquote>
    <p>trk-kvm-02 (secondary lower resource)<br>
    </p>
    <blockquote>
      <p><tt>root@trk-kvm-02:~/scripts# drbd-overview <br>
          [...]<br>
           12:convirt/0                Connected    Secondary/Primary  
          UpToDate/UpToDate _convirt           vda virtio <br>
          [...]<br>
          120:convirt-U/0         ^^12 Unconfigured .                  
          .                 </tt></p>
    </blockquote>
    <p>trk-kvm-03 (secondary on upper resource)<br>
    </p>
    <blockquote>
      <p><tt>root@trk-kvm-03:/media/scratch# drbd-overview</tt><tt><br>
          [...]<br>
        </tt><tt>120:convirt-U/0  Connected Secondary/Primary
          UpToDate/UpToDate </tt><br>
      </p>
    </blockquote>
    <p>I see nowhere to set this node's IP yet the docs say this
      resource file "must be distributed across all nodes in the
      cluster — in this case, three<br>
      nodes."  What is the point of the convirt-U res file on
      trk-kvm-02?<br>
    </p>
    <p><br>
    </p>
    <div class="moz-signature">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <title></title>
      <p><b>Paul O'Rorke</b></p>
      <p><br>
        <br>
      </p>
      <p style="margin-bottom: 0cm; line-height: 100%"><br>
      </p>
    </div>
    <div class="moz-cite-prefix">On 2018-02-07 07:52 AM, Paul O'Rorke
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a8aab775-3b38-ddf0-1d93-14d6ff5de84e@tracker-software.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Oh my!!!!</p>
      <p>2 weeks of missing that typo and frustration.  Thank you both
        Yannis and Peter.  Peter, I thought you were pointing out the
        answer to my question - which file is it failing to find.  I
        normally copy the .res file to ensure they are always identical,
        and it was correct on nodes 1 and 2....</p>
      <p>I really appreciate the help guys, it all makes sense now.  I
        was worried that I had a serious misunderstanding in what I was
        doing.</p>
      <blockquote>
        <p><tt>root@trk-kvm-01:~# cat /proc/drbd </tt><tt><br>
          </tt><tt>version: 8.4.5 (api:1/proto:86-101)</tt><tt><br>
          </tt><tt>srcversion: 4B3E2E2CD48CAE5280B5205 </tt><tt><br>
          </tt><tt><br>
          </tt><tt>[...]</tt><tt><br>
          </tt><tt>12: cs:Connected ro:Primary/Secondary
            ds:UpToDate/UpToDate C r-----</tt><tt><br>
          </tt><tt>    ns:4764 nr:0 dw:10719324 dr:21194772 al:1676 bm:0
            lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</tt><tt><br>
          </tt><tt>[...]</tt><tt><br>
          </tt><tt>120: cs:SyncSource ro:Primary/Secondary
            ds:UpToDate/Inconsistent A r-----</tt><tt><br>
          </tt><tt>    ns:19642880 nr:0 dw:0 dr:19645043 al:0 bm:0 lo:0
            pe:0 ua:0 ap:0 ep:1 wo:f oos:32782648</tt><tt><br>
          </tt><tt>    [======&gt;.............] sync'ed: 37.5%
            (32012/51196)M</tt><tt><br>
          </tt><tt>    finish: 0:12:39 speed: 43,136 (38,896) K/sec</tt><br>
        </p>
      </blockquote>
      <p>and</p>
      <blockquote>
        <p><tt>root@trk-kvm-03:/media/scratch# drbd-overview </tt><tt><br>
          </tt><tt>120:convirt-U/0  SyncTarget Secondary/Primary
            Inconsistent/UpToDate </tt><tt><br>
          </tt><tt>    [=======&gt;............] sync'ed: 44.8%
            (28312/51196)M </tt>        <br>
        </p>
      </blockquote>
      <p>Makes me very happy!<br>
      </p>
      <div class="moz-signature">
        <title></title>
        <p><b>Paul O'Rorke</b><br>
          <b>Tracker Software Products (Canada) Limited </b><br>
          <a href="http://www.tracker-software.com/"
            moz-do-not-send="true">www.tracker-software.com</a><br>
          Tel: +1 (250) 324 1621<br>
          Fax: +1 (250) 324 1623<br>
          <br>
          <a href="http://www.tracker-software.com/"
            moz-do-not-send="true"> <img
src="https://www.tracker-software.com/fckfiles/image/images/resellers/logo/TrackerSofwareProducts_Logo_330x100.png"
              name="image.png" moz-do-not-send="true" height="100"
              align="bottom" width="330" border="0"> </a> <br>
          <br>
          Support: <br>
          <a href="http://www.tracker-software.com/support"
            moz-do-not-send="true">http://www.tracker-software.com/support
          </a><br>
          Download latest Releases <br>
          <a href="http://www.tracker-software.com/downloads/"
            moz-do-not-send="true">http://www.tracker-software.com/downloads/</a></p>
        <p><br>
          <br>
        </p>
        <p style="margin-bottom: 0cm; line-height: 100%"><br>
        </p>
      </div>
      <div class="moz-cite-prefix">On 2018-02-07 04:22 AM, Yannis Milios
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAFiF2Oq1YaMzPfWjSea1vmi919dg9p2Q=ebnCbwUtgkOVsmNqg@mail.gmail.com">
        <div dir="ltr">Did you fixed the typo that Peter mentioned on
          his last post ? That should be "internal" and not "inetrnal".
          Then must copy the resource file on all 3 nodes.
          <div>
            <blockquote type="cite"
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span
                class="gmail-im" style="color:rgb(80,0,80)">
                <blockquote type="cite" class="gmail_quote"
                  style="margin:0px 0px 0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <pre style="white-space:pre-wrap">&gt;&gt;  meta-disk       inetrnal; </pre>
                </blockquote>
                <div> </div>
              </span></blockquote>
            After fixing that you should be able to create the metadata
            and initialize  the stacked device by:</div>
          <div><br>
          </div>
          <div>On trk-kvm-01 (assuming that this is the primary node):</div>
          <div>drbdadm create-md --stacked convirt-U<br>
          </div>
          <div><br>
          </div>
          <div>On trk-kvm-03:</div>
          <div>drbdadm create-md convirt-U    #this will create the
            required metadata on the underlying device
            (i.e /dev/trk-kvm-03-vg/convirt). No need to transfer
            metadata manually from trk-kvm-01)<br>
          </div>
          <div><br>
          </div>
          <div>On trk-kvm-01:</div>
          <div>drbdadm --stacked adjust convirt-U</div>
          <div><br>
          </div>
          <div>On trk-kvm-03:</div>
          <div>drbdadm adjust convirt-U</div>
          <div><br>
          </div>
          <div>On trk-kvm-01:</div>
          <div>drbdadm --stacked -- --overwrite-data-of-peer primary
            convirt-U<br>
          </div>
          <div>cat /proc/drbd  </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Y</div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>