<div dir="ltr"><div><div><div><div>Sorry for the delayed reply Alexis,<br></div>here's my DRBD conf<br><br>global { usage-count no; }<br>common {<br>syncer {<br>rate 15M;<br>csums-alg sha1;<br>al-extents 809;<br>verify-alg sha1;<br>
} }<br>resource r0 {<br>protocol C;<br>startup {<br>degr-wfc-timeout 30;<br>wfc-timeout 30;<br>become-primary-on both;<br>}<br>disk {<br>fencing resource-and-stonith;<br>on-io-error detach;<br>}<br>handlers {<br>fence-peer "/usr/lib/drbd/crm-fence-peer.sh";<br>
after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";<br>outdate-peer "/usr/lib/drbd/outdate-peer.sh";<br>split-brain "/usr/lib/drbd/notify-split-brain.sh root";<br>pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh root";<br>
pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh root";<br>local-io-error "/usr/lib/drbd/notify-io-error.sh root";<br>}<br>net {<br>allow-two-primaries;<br>cram-hmac-alg sha1;<br>shared-secret "kalki";<br>
after-sb-0pri discard-zero-changes;<br>after-sb-1pri discard-secondary;<br>after-sb-2pri disconnect;<br>rr-conflict disconnect;<br>}<br>on server1 {<br>device /dev/drbd0;<br>disk /dev/sda3;<br>address <a href="http://192.168.0.92:7788">192.168.0.92:7788</a>;<br>
meta-disk internal;<br>}<br>on server2 {<br>device /dev/drbd0;<br>disk /dev/sda3;<br>address <a href="http://192.168.0.93:7788">192.168.0.93:7788</a>;<br>meta-disk internal;<br>}}<br><br></div>And I changed the OCFS2 configuration (Threshold=16 and idle=10secs time) which reduced my switch over time to 55secs when a primary node goes down.<br>
<br></div>Not sure if this is correct, but it works :)<br><br></div>Let know if anyone knows a better solution for reducing the switch over time.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 1:45 PM, Alexis de BRUYN <span dir="ltr"><<a href="mailto:alexis.mailinglist@de-bruyn.fr" target="_blank">alexis.mailinglist@de-bruyn.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 13.06.2014 05:25, kamal kishi wrote:<br>
> And Alexis, I'm not facing any issue while putting node to standby mode.<br>
> I'm using DRBD 8.3.11 (apt-get install drbd8-utils=2:8.3.11-0ubuntu1)<br>
> Had to force the download to particular version as the current<br>
> download/patch is not compatible with pacemaker.<br>
> You too try to install 8.3.11 and check once, all the best<br>
><br>
</div>Thanks Kamal for your answer. Can you show me your drbd conf please.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alexis de BRUYN<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Kamal Kishore B V<br>
</div>