Thank you for the response!<div>Here is the output of cat /proc/drbd for both node1 and node2 before and after node1(primary) gets rebooted.</div><div><br></div><div><br></div><div>Before reboot:</div><div><div>[root@node1 ~]# cat /proc/drbd</div>
<div>version: 8.0.16 (api:86/proto:86)</div><div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by mockbuild@v20z-x86-64.home.local, 2009-08-22 13:26:57</div><div><br></div><div> 1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---</div>
<div>    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><br></div><div><div>[root@node2 ~]# cat /proc/drbd</div><div>version: 8.0.16 (api:86/proto:86)</div><div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by mockbuild@v20z-x86-64.home.local, 2009-08-22 13:26:57</div>
<div><br></div><div> 1: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate C r---</div><div>    ns:0 nr:4493035 dw:4493035 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</div><div><br></div><div><br></div><div>After reboot of node1:</div><div><div>[root@node1 ~]# cat /proc/drbd</div>
<div>version: 8.0.16 (api:86/proto:86)</div><div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by mockbuild@v20z-x86-64.home.local, 2009-08-22 13:26:57</div><div><br></div><div> 1: cs:WFConnection st:Secondary/Unknown ds:UpToDate/DUnknown C r---</div>
<div>    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><br></div><div><div>[root@node2 ~]# cat /proc/drbd</div><div>version: 8.0.16 (api:86/proto:86)</div><div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by mockbuild@v20z-x86-64.home.local, 2009-08-22 13:26:57</div>
<div><br></div><div> 1: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown   r---</div><div>    ns:0 nr:4493035 dw:4493043 dr:85 al:1 bm:1 lo:0 pe:0 ua:0 ap:0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>act_log: used:0/127 hits:1 misses:1 starving:0 dirty:0 changed:1</div><div><br></div><div><br></div><div>I am using heartbeat and this is my haresources contents:</div>
<div><a href="http://node1.example.com">node1.example.com</a> drbddisk::r0 Filesystem::/dev/drbd1::/data::ext3 10.10.2.21 mysqld httpd</div><div><br></div><div>Should there be anything else in the haresources file that forces node1 to primary on reboot?</div>
<div><br></div><div>Thank you,</div><div>Cameron</div><div><br></div></div><div><br></div></div></div><div><br></div><br><div class="gmail_quote">On Sun, Mar 21, 2010 at 6:14 PM, Reindy <span dir="ltr">&lt;<a href="mailto:reindy@gmail.com">reindy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi, what is your current status? please brief us the details so that we can help you.<div><br></div><div>Example: give your output of &quot;cat /proc/drbd&quot;</div>
<div><br></div><div>you need to make sure that both of your nodes are sync and in WFConnection status,.. I still don&#39;t have the clear picture on your current situation, please let us know therefore we would able to help you.</div>

<div><br></div><div>Thanks!<br><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Mar 19, 2010 at 12:50 AM, Cameron Smith <span dir="ltr">&lt;<a href="mailto:velvetpixel@gmail.com" target="_blank">velvetpixel@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
I have two nodes.<div><br></div><div>Node one I set to proimary with:</div><div>drbdadm -- --overwrite-data-of-peer primary r0</div><div><br></div><div>That command does not survive a reboot of node1 so How do get get node1 to regain primary status after it comes back online?</div>


<div><br></div><div>When node1 comes back online will node2 write the data to node1 that was written during the downtime for node1?</div><div><br></div><div>Thanks!</div><div>Cameron</div>
<br></div></div><div class="im">_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br></div>