<div dir="ltr"><div><div><div>Hi!<br><br></div>I want build a DRBD cluster, with no special primary/primary function, just a normal primary and passive secondary node, as standard. <br></div>I will use XFS file system with Centos 7 with 2 NIC: eth0 for switch and for internet, eth1 for direct cable (crosslink) to other server.<br></div><div>I will define 2 ring: ring 0: eth1 crosslink connection, ring1: eth0 connection. I hope normally never will use the ring1, just the ring0.<br><br></div><div>If I had just this 2 server with extra direct cable connection, &#39;split brain&#39; can happen (someone unplug all network cable from server 1 or from server 2, for example).<br></div><div><br>I had more normal servers. I want to find the best solution, because I don&#39;t want split brain and lost data. Also I don&#39;t want fix manually the problems if I can find a solution what helps to (near) never happing split brain, or other DRBD killer disaster...<br><br></div><div>My 3. server is near same hardware as server 1 and server 2 with a low load. If needed I had server 4 too, with a little bigger load with same hardware as server 3. I just want a safe, clear and simple DRBD solution.<br><br></div><div>My 4 ideas / plans: <br><br>1. use 3. server as virtual node (arbiter). Question: how? Using server 3 helps to avoid split brain situation?<br><br></div><div>2. use 3. server as backup server with iSCSI. (3. server also in same gigabit switch) It&#39;s good idea? This solution can helps to avoid split brain?<br><br></div><div>3. use the server 3 as stacked node with DRBD, I found this:<br><br><a href="http://www.drbd.org/users-guide-8.3/s-pacemaker-floating-peers.html">http://www.drbd.org/users-guide-8.3/s-pacemaker-floating-peers.html</a><br><br></div><div>It helps to avoid split brain?<br><br></div><div>4. I add as normal passive node my 3. server for DRBD. It will be problem for me because no direct connection for all 3 servers. I don&#39;t want this way.<br></div><div><br><br></div><div>What is the best? I don&#39;t want make any new solution. I just want a safe, working DRBD. If 3. server not needed for that, I also not will use this, just 2. But I think 3. server can help to be more safe this DRBD cluster. Please help me to make that.<br><br></div><div>My plan:<br><br></div><div>using my server 3 for make safer my DRBD (in server 1 and server 2) and make backup from that 2 server.<br></div><div>I just want real safe my data from server 1 + server 2.<br><br></div><div>For 2 node, Stonith recommended. I also want to use that.<br></div><div>I knows Stonith mechanism: it kills the server if needed. It&#39;s good... if really needed.<br></div><div><br>I will use Pacemaker + Corosync to manage DRBD and services.<br><br>Quorum needed for me if I had +1 node for DRBD?<br><br></div><div>I used DRBD few times, but not I installed for servers.<br></div><div><br></div><div>Please describe me what is the best if I want use a normal active / passive DRBD and I want to be the most safe solution, using server 3 for that. <br>I want the simplest / safest solution what works for most scenarios. I just want to be a happy DRBD user.<br><br></div><div>Thank you,<br></div><div>aTTi<br></div><div><br><br></div><div><br></div><div><br></div></div>