<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 20/03/2018 à 10:07, Roland Kammerer
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">On Mon, Mar 19, 2018 at 07:12:29PM +0100, Jdt wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">

[SNIP}</pre>
      </blockquote>
      <pre wrap="">
Please do not start debugging in the GUI, start at the lowest level.

- You did add other nodes besides the initial node, didn't you?</pre>
    </blockquote>
    <p><font size="-1">Yes, I have three nodes :<br>
      </font><font size="-1"><tt>root@dmz-pve1:~ # drbdmanage list-nodes
        </tt><tt><br>
        </tt><tt>+------------------------------------------------------------------------------------------------------------+</tt><tt><br>
        </tt><tt>| Name     | Pool Size | Pool Free
          |                                                                
          | State |</tt><tt><br>
        </tt><tt>|------------------------------------------------------------------------------------------------------------|</tt><tt><br>
        </tt><tt>| dmz-pve1 |   unknown |   unknown
          |                                                                
          |    ok |</tt><tt><br>
        </tt><tt>| dmz-pve2 |   unknown |   unknown
          |                                                                
          |    ok |</tt><tt><br>
        </tt><tt>| dmz-pve3 |   unknown |   unknown
          |                                                                
          |    ok |</tt><tt><br>
        </tt><tt>+------------------------------------------------------------------------------------------------------------+</tt><tt><br>
        </tt></font><font size="-1">But pool size is unknown, I have a
        VG named drbdpool<br>
      </font></p>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">
- The control volume is happy and connected to the other nodes?</pre>
    </blockquote>
    <p><font size="-1">Yes<br>
      </font><font size="-1"><tt>  LV Path               
          /dev/drbdpool/.drbdctrl_0</tt><tt><br>
        </tt><tt>  LV Name                .drbdctrl_0</tt><tt><br>
        </tt><tt>  VG Name                drbdpool</tt><tt><br>
        </tt><tt>  LV Path                /dev/drbdpool/.drbdctrl_1</tt><tt><br>
        </tt><tt>  LV Name                .drbdctrl_1</tt><tt><br>
        </tt><tt>  VG Name                drbdpool</tt><tt><br>
        </tt><tt>root@dmz-pve1:~ #  drbdadm status</tt><tt><br>
        </tt><tt>.drbdctrl role:Primary</tt><tt><br>
        </tt><tt>  volume:0 disk:UpToDate</tt><tt><br>
        </tt><tt>  volume:1 disk:UpToDate</tt><tt><br>
        </tt><tt>  dmz-pve2 role:Secondary</tt><tt><br>
        </tt><tt>    volume:0 peer-disk:UpToDate</tt><tt><br>
        </tt><tt>    volume:1 peer-disk:UpToDate</tt><tt><br>
        </tt><tt>  dmz-pve3 role:Secondary</tt><tt><br>
        </tt><tt>    volume:0 peer-disk:UpToDate</tt><tt><br>
        </tt><tt>    volume:1 peer-disk:UpToDate</tt><tt><br>
        </tt><tt>root@dmz-pve1:~ #  drbd-overview 2&gt;/dev/null</tt><tt><br>
        </tt><tt> 0:.drbdctrl/0  Connected(3*)
          Prim(dmz-pve1)/Seco(dmz-pve2,dmz-pve3)
          UpTo(dmz-pve1)/UpTo(dmz-pve2,dmz-pve3) </tt><tt><br>
        </tt><tt> 1:.drbdctrl/1  Connected(3*)
          Prim(dmz-pve1)/Seco(dmz-pve2,dmz-pve3)
          UpTo(dmz-pve1)/UpTo(dmz-pve3,dmz-pve2) </tt><tt><br>
        </tt></font><font size="-1"><br>
      </font></p>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">
- Drbdmanage is started on the other nodes?</pre>
    </blockquote>
    <p><font size="-1">Yes<br>
      </font><font size="-1"><tt>root@dmz-pve1:~ # ps aux Op | grep drbd
          | grep -v grep</tt><tt><br>
        </tt><tt>root      2657  0.0  0.0      0     0 ?        S&lt;  
          16:38   0:00 [drbd-reissue]</tt><tt><br>
        </tt><tt>root      2863  0.0  0.0      0     0 ?        S   
          16:39   0:00 [drbd_w_.drbdctr]</tt><tt><br>
        </tt><tt>root      2865  0.0  0.0      0     0 ?        S&lt;  
          16:39   0:00 [drbd0_submit]</tt><tt><br>
        </tt><tt>root      2871  0.0  0.0      0     0 ?        S&lt;  
          16:39   0:00 [drbd1_submit]</tt><tt><br>
        </tt><tt>root      2926  0.0  0.0 270096 22184 ?        Sl  
          16:39   0:05 /usr/bin/python /usr/bin/dbus-drbdmanaged-service</tt><tt><br>
        </tt><tt>root      2930  0.0  0.0   4348  1488 ?        S   
          16:39   0:00 drbdsetup events2 all</tt><tt><br>
        </tt><tt>root      3032  0.0  0.0      0     0 ?        S   
          16:40   0:00 [drbd_s_.drbdctr]</tt><tt><br>
        </tt><tt>root      3036  0.0  0.0      0     0 ?        S   
          16:40   0:00 [drbd_r_.drbdctr]</tt><tt><br>
        </tt><tt>root      3231  0.0  0.0      0     0 ?        S   
          16:41   0:00 [drbd_a_.drbdctr]</tt><tt><br>
        </tt><tt>root      3232  0.0  0.0      0     0 ?        S&lt;  
          16:41   0:00 [drbd_as_.drbdct]</tt><tt><br>
        </tt><tt>root      3416  0.0  0.0      0     0 ?        S   
          16:42   0:00 [drbd_s_.drbdctr]</tt><tt><br>
        </tt><tt>root      3419  0.0  0.0      0     0 ?        S   
          16:42   0:00 [drbd_r_.drbdctr]</tt><tt><br>
        </tt><tt>root      3555  0.0  0.0      0     0 ?        S   
          16:43   0:00 [drbd_a_.drbdctr]</tt><tt><br>
        </tt><tt>root      3556  0.0  0.0      0     0 ?        S&lt;  
          16:43   0:00 [drbd_as_.drbdct]</tt><tt><br>
        </tt></font><font size="-1">on the three nodes.<br>
        <tt></tt></font><font size="-1"><tt></tt></font></p>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">
- "drbdmanage role" on all nodes shows something meaningful?</pre>
    </blockquote>
    <p>Yes<tt><br>
        root@dmz-pve1:~ # drbdmanage role<br>
        Operation completed successfully<br>
        leader</tt></p>
    <p><tt>root@dmz-pve2:~ # drbdmanage role<br>
        Operation completed successfully<br>
        potential leader (CL: dmz-pve1)</tt></p>
    <p><tt>root@dmz-pve3:~ # drbdmanage role<br>
        Operation completed successfully<br>
        potential leader (CL: dmz-pve1)</tt></p>
    <br>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">
- You can create resources on the command line and assign them?</pre>
    </blockquote>
    <p><font size="-1">I don't understand your question.<br>
        I try to create virtual machine on one node of the proxmox
        cluster via the proxmox web interface.<br>
        I need information on the pve storage.cfg<br>
        I try to add :<br>
        drbd: drbdpool<br>
                content images,rootdir<br>
                redundancy 3<br>
      </font></p>
    <p><font size="-1">or</font></p>
    <p><font size="-1">drbd: drbdstorage<br>
                content images,rootdir<br>
                redundancy 3<br>
      </font></p>
    <p><font size="-1">without success.<br>
        With the first solution, a logical volume is created on VG
        drbdpool on only one node but nothing appear in /var/lib/drbd.d
        as in the previous version<br>
        With the second solution, there is an error accessing volume<br>
        <br>
        In proxmox interface, I don't see anyway to add DRBD resources
        in Datacenter Storage.<br>
        Any help will be appreciated.<br>
      </font></p>
    <blockquote type="cite"
      cite="mid:20180320090758.h7xjq72j57xrny2n@rck.sh">
      <pre wrap="">

Regards, rck
_______________________________________________
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>
    <div class="moz-signature"><font size="-1">Regards, jdt</font><br>
    </div>
  </body>
</html>