<div>I have 3 machines with similar configuration. Lets say A, B and C as the machines. I create a drbd cluster using A and B. Once A and B are consistent, I disconnected B, replaced the drbd.conf file and connected it to C. C is synced with B now. When I write any data on to A-B cluster, then disconnect B and connect it with C, those new data are not found. Instead Machines B-C are still in sync and shows 0KB maked out of sync.</div>
<div> </div>
<div>Conf files</div>
<div>###############</div>
<div> </div>
<div>A - B conf file<br> <br>global {<br>usage-count no;<br>}<br>common { syncer { rate 1G; } }<br>resource r7 {<br>protocol C;<br>handlers {<br>pri-on-incon-degr "echo '!DRBD! pri on incon-degr' | wall; /etc/init.d/hearbeat stop ";<br>
outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater";<br>}<br>on ninja1 {<br>device /dev/drbd7;<br>disk /dev/loop0;<br>address <a href="http://10.0.2.150:7788/" target="_blank">10.0.2.150:7788</a>;<br>meta-disk internal;<br>
}<br>on ninja2 {<br>device /dev/drbd7;<br>disk /dev/loop0;<br>address <a href="http://10.0.2.151:7788/" target="_blank">10.0.2.151:7788</a>;<br>meta-disk internal;<br>}<br> <br>net {<br>allow-two-primaries;<br>sndbuf-size 512k;<br>
timeout 60;<br>connect-int 10;<br>ping-int 10;<br>ping-timeout 5<br>ko-count 0;<br>max-epoch-size 8096;<br>}<br>}</div>
<div><br>##########<br>B - C conf file<br> <br> <br>global {<br>usage-count no;<br>}<br>common { syncer { rate 1G; } }<br>resource r7 {<br>protocol C;<br>handlers {<br>pri-on-incon-degr "echo '!DRBD! pri on incon-degr' | wall; /etc/init.d/hearbeat stop ";<br>
outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater";<br>}<br>on ninja2 {<br>device /dev/drbd7;<br>disk /dev/loop0;<br>address <a href="http://10.0.2.151:7788/" target="_blank">10.0.2.151:7788</a>;<br>meta-disk internal;<br>
}<br>on ninja3 {<br>device /dev/drbd7;<br>disk /dev/loop0;<br>address <a href="http://10.0.2.152:7788/" target="_blank">10.0.2.152:7788</a>;<br>meta-disk internal;<br>}<br> <br>net {<br>allow-two-primaries;<br>sndbuf-size 512k;<br>
timeout 60;<br>connect-int 10;<br>ping-int 10;<br>ping-timeout 5;<br>ko-count 0;<br>max-epoch-size 8096;<br>}<br>}<br>##############</div>
<div> </div>
<div>What I am trying to acheive here is make a copy of changes done on A-B on to C. I don't want to use stacked resources method. Please let me know what I might be doing wrong or this approach is wrong?<br></div>
<div>Thanking you</div>
<div>Ravee</div>