<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I am a newbie to DRBD, and I am very interested in trying this out for OpenStack setup.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've a few general queries on 'pure client' and external nodes...</div><div class="gmail_default" style="font-size:small">a) I am assuming that both pure client and external node will be able to remotely mount a volume created on a 'control+storage' node, similar to an nfs mount. For this DRBD uses the drbd.ko and its dependency ko to connect the nodes, without traffic/switching b/w user land and kernel. Is this assumption correct?</div><div class="gmail_default" style="font-size:small">b) If the answer to (a) is YES, then I assume the 'DRBD transport' being mentioned in the docs, and in the DRBD driver code submitted for nova to directly connect bypassing iSCSI, _is using this protocol?</div><div class="gmail_default" style="font-size:small">c) If (b) is YES, then I suppose it will be kind of equivalent to iSCSI and can potentially avoid iSCSI hops in case of multi host hypervisor setup (like in OpenStack).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Keeping these assumptions...</div><div class="gmail_default" style="font-size:small">I downloaded the src tar balls from your http site and compiled and make installed everything. Painstakingly soft linked between /usr/local/* and normal installation locations :-).</div><div class="gmail_default" style="font-size:small">I was able to get all the nodes setup, via both old school config style and also the drbdmanage way. Assuming I'll be able to do what is mentioned in (a)...</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">a) When I add an external node...</div><div class="gmail_default" style=""><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">sudo drbdmanage add-node --external dev2 203.0.113.6</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">Currently not implemented</font></div><div class="gmail_default" style="font-size:small">this is the message I get. When will this be done? and Is there any other source I can try out, even if it's half baked!<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">b) When I add a pure client node...</div><div class="gmail_default" style=""><font face="monospace, monospace">sudo drbdmanage add-node --satellite --no-storage --control-node dev1 dev2 203.0.113.6<br></font></div><div class="gmail_default" style=""><div class="gmail_default"><font face="monospace, monospace">devstack@dev0:~$ sudo drbdmanage list-nodes</font></div><div class="gmail_default"><font face="monospace, monospace">+------------------------------------------------------------------------------------------------------------+</font></div><div class="gmail_default"><font face="monospace, monospace">| Name | Pool Size | Pool Free | | State |</font></div><div class="gmail_default"><font face="monospace, monospace">|------------------------------------------------------------------------------------------------------------|</font></div><div class="gmail_default"><font face="monospace, monospace">| dev0 | 8188 | 8084 | | ok |</font></div><div class="gmail_default"><font face="monospace, monospace">| dev1 | 8188 | 8084 | | ok |</font></div><div class="gmail_default"><font face="monospace, monospace">| dev2 | 0 | 0 | | satellite node, no storage |</font></div><div class="gmail_default"><font face="monospace, monospace">+------------------------------------------------------------------------------------------------------------+</font></div><div class="gmail_default"><br></div><div class="gmail_default">But when I do list-nodes on the satellite node itself, I get...</div><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace">devstack@dev2:~$ sudo drbdmanage list-nodes</font></div><div class="gmail_default"><font face="monospace, monospace">+------------------------------------------------------------------------------------------------------------+</font></div><div class="gmail_default"><font face="monospace, monospace">| Name | Pool Size | Pool Free | | State |</font></div><div class="gmail_default"><font face="monospace, monospace">|------------------------------------------------------------------------------------------------------------|</font></div><div class="gmail_default"><font face="monospace, monospace">| dev0 | 8188 | 8084 | | OFFLINE |</font></div><div class="gmail_default"><font face="monospace, monospace">| dev1 | 8188 | 8084 | | OFFLINE |</font></div><div class="gmail_default"><font face="monospace, monospace">| dev2 | 0 | 0 | | satellite node, no storage |</font></div><div class="gmail_default"><font face="monospace, monospace">+------------------------------------------------------------------------------------------------------------+</font></div><div><br></div></div><div>May be because of this OFFLINE state or may be something I am doing wrong, I am unable to get a device /dev/drbd* created for mounting.</div><div><br></div><div>So, Is this the right way to go about? I am trying to create an OpenStack environment with no iSCSI hops and no tgtadm daemons running. Everything should work from local disk device with DRBD replication underneath. Instead of multiple primaries I want to use external/pure client nodes remotely mounting to storage nodes. I am planning to create multiple independent clusters, so that a pure client/external node on one cluster, can actually be a storage/backup node for another.</div><div><br></div><div>Thanks and awaiting advice from experts on the list.</div><div><br></div><div>Thanks,</div><div>Sreekumar</div><div><br></div><div><br></div></div><div style="font-size:small"><br></div></div><div class="gmail_default" style="font-size:small"><br></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Thanks,<br>Sreekumar</div>
</div>