<div>Hello,</div>
<div> </div>
<div>In my 3 machine config A, B and C. I want A - B cluster to be primary and get all the real time data changes. Then I would disconnect B and connect it with C to just copy the changes that we made. And then Connect B back to A, while A was still getting changes made to it. So now B gets the new changes from A. This way I could get stable changes (only changes I would like) rather than realtime changes (like errors) onto C.<br>
<br>Problem I am facing is when I connect A-B and make changes there is no change in UUID, but some activity in Activity log and bitmap. I don't understand how it is checking the activity log but it is not seeing the changes.<br>
<br>Now when I disconnect and connect it to C, it is either raising Split-Brain, or showing 0KB marked out of sync when B clearly has changes to it.<br> <br>Is there any way I could change UUID on C so that it always starts to sync from B (not full disk syncs) or stop split brain. </div>
<div> </div>
<div>###############<br> <br>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">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">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>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">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">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>Can any one please let me know, why the activities in activity log or changed bm is not getting copied to node C?</div>
<div> </div>
<div>Ravee</div>