Hi,<br>
But reboot is not an (good) option, there must be a way that these
servers should sync automatically after a failure (system shutdown or
network failure). The primary when comes back assumes the
primary/unknown role and standalone state, whereas the secondary takes
the role secondary/unknown and standalone state, they must be connected
(synced) and know the state of each other as well. <br>
Does somebody know how to achieve this? <br>
--<br>
Usman<br><br><div><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">Fabio Silva</b> <<a href="mailto:fssilva@gmail.com">fssilva@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi, i was with the same problem, and anwsered me that when have a
network failure or anybody unplug the network cable, drbd on node1
still stay in primary mode, and the node1 assume primary too, and when
you plug the network cable or, your network returns, drbd dont sync.
<br>I dont know how to fix it too. but in my server when i have a
network failure (i didnt have yet) i will reboot the primary server and
the node2 and node1 will sync ok.<br><br>Im using the latest version of drbd 0.7.21
.<br><br>[]s<br><br><br><div></div><div><span class="e" id="q_10db193422cb9a91_1"><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">Usman Ahmad</b> <<a href="mailto:usmanamalik@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
usmanamalik@gmail.com</a>> wrote:</span></span></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div><div><span class="e" id="q_10db193422cb9a91_3">
<div>I posted a similar question yesterday, but no one has answered it yet...<br>
<br>
--<br>
Usman</div><div><span><br><br><div><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">Christophe Zwecker</b> <<a href="mailto:doc@zwecker.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
doc@zwecker.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>we use heartbeat and drbd on two nodes<br><br><br>node1 is primary with mounted fs<br>node2 is secondary<br><br>nod1 goes down (only network failure), heartbeat unmounts the drbd fs on<br>node1. node 2 takes over and mounts the drbd volume. I change things on
<br>the fs on node2<br><br>node1 comes backup, mounts drbd volume and the change aint there because:<br><br>Sep 15 13:47:03 mw-test-n2 kernel: drbd0: Current Primary shall become<br>sync TARGET! Aborting to prevent data corruption.
<br>Sep 15 13:47:03 mw-test-n2 kernel: drbd0: drbd0_receiver [22293]: cstate<br>WFReportParams --> StandAlone<br><br>HOW do I address this issue ?<br><br>thx for hints !<br><br>--<br>Christophe
Zwecker
mail: <a href="mailto:doc@zwecker.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">doc@zwecker.de</a><br>Hamburg,
Germany fon:
+49 179 3994867<br><a href="http://www.zwecker.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.zwecker.de</a><br><br>"Reality is that which, when you stop believing in it, doesn't go away"
<br><br><br>_______________________________________________
<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.linbit.com/mailman/listinfo/drbd-user</a>
<br></blockquote></div><br><br clear="all"><br></span></div><div><span>-- <br>Usman Ahmad Malik
</span></div><br></span></div><div>_______________________________________________</div><div><span class="q"><br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
drbd-user@lists.linbit.com</a>
<br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br><br><br></span></div><div>
</div></div><div><span class="sg">
<br><br clear="all"><br>-- <br>Fabio S. Silva<br>LPIC-1 Linux Professional Institute Certified
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Usman Ahmad Malik