Hello,<br>I am trying to build an iscsi san using drbd in a dual primary configuration. <br><br> I have read drbd documentation and I have not fully understood how it handles the split brain.<br><br>My hardware is setup as this: two identical server with raid6. Each one has 4 ethernet cards, configured as two trunks. <br>
Each trunk is connected to an hardware switch. The two switches are "intelligent", so they have an ip each.<br><br>My idea (correct me if I am wrong) is this: when one primary finds that it cannot talk to other primary it tries to ping switches.<br>
<br>If it cannot ping switches it means that all its ethernet cards or all switches are broken so it shutdown itself.<br>If it can ping switches it means that other primary is broken so it tries to stonith it.<br><br>After reconnection it is clear that the primary that cannot ping the switches must resync with other one.<br>
<br>Can you say me if I can personalize the behaviour of drbd to follow these rules? (dopd? peer-outdater?)<br>Can you say me if my rules are enough?<br>Can you say me if drbd already implements a better strategy and so my rules are stupid?<br>
<br>Thank you in advance for any reply!<br><br>Mario<br><br><br>