<!-- Hostname: benito27.mail.rambler.ru --><div class="messageBodyContainer" id="part0"><div class="messageBodyContainer isInnerPart" id="part2"><div class="messageBody isFormattedText"><div class="RMCKSEHR"><div class="RMCKSEHR messageBodyContainer" id="RMCKSEHRpart0"><div class="RMCKSEHR messageBodyContainer isInnerPart" id="RMCKSEHRpart2"><div class="RMCKSEHR messageBody isFormattedText"><div class="RMCKSEHR RMCQYYXR"><div class="RMCKSEHR RMCQYYXR messageBodyContainer" id="RMCKSEHRRMCQYYXRpart0"><div class="RMCKSEHR RMCQYYXR messageBodyContainer isInnerPart" id="RMCKSEHRRMCQYYXRpart2"><div class="RMCKSEHR RMCQYYXR messageBody isFormattedText"><div class="RMCKSEHR RMCQYYXR RMCKWATH"><div>Hello<br></div><div><br></div><div>There is a simple configuration of two cluster nodes (built via RHEL 6 pcs interface) with multiple master/slave resources, disabled fencing and the single sync interface.<br></div><div><br></div><div>All is ok mainly. But there is some problem of the cluster activity performance when the master node is powered off (hard): the slave node detects that the master one is down after about 100-3500 ms. And the main question is how to avoid this 3 sec delay that occurred sometimes.</div><div><br></div><div>On the slave node i have a little script that checks the connection to the master node. It detects a problem of a sync breakage within about 100 ms.</div><div>But corosync requires a much more time sometimes to figure out the situation and mark the master node as offline one. It shows 'ok' ring status.<br></div><div><br></div><div>If i understand correctly then </div><div>1 the pacemaker actions (crm_resource --move) will not perform until corosync is not refreshed its ring state</div><div>2 the detection of a problem (from a corosync side) can be speeded up via timeout tuning in the corosync.conf<br data-mce-bogus="1"></div><div>3 there is no way to ask corosync to recheck its ring status or mark a ring as failed manually<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>But maybe i'm missing something.</div><div><br></div><div><div>All i want is to move resources faster.</div><div>In my little script i tried to force the cluster software to move resources to the slave node. But i've no success so far. <br></div><div><br data-mce-bogus="1"></div><div>Could you please share your thoughts about the situation.</div></div><div>Thank you in advance.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">Cluster software:</span></span><br></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">corosync - 2.4.3</span></span></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">pacemaker - 1.1.18</span></span></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">libqb - 1.0.2<br></span></span></div><div><span id="RMCKSEHRRMCQYYXR_mce_caret"><span class="RMCKSEHR RMCQYYXR short_text" lang="en"></span></span><br></div><div><span><span class="RMCKSEHR RMCQYYXR short_text" lang="en">corosync.conf:</span></span></div><div><div>totem {<br> version: 2<br> secauth: off<br> cluster_name: cluster<br> transport: udpu<br> token: 2000<br>}</div><div>nodelist {<br> node {<br> ring0_addr: main-node<br> nodeid: 1<br> }</div><div>node {<br> ring0_addr: reserve-node<br> nodeid: 2<br> }<br>}</div><div>quorum {<br> provider: corosync_votequorum<br> two_node: 1<br>}<br></div></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited"></span></span><br></div><div><span class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited"><br data-mce-bogus="1"></span></span></div><div><span id="RMCKSEHRRMCQYYXRresult_box" class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">Regards, </span></span></div><div><span id="RMCKSEHRRMCQYYXRresult_box" class="RMCKSEHR RMCQYYXR short_text" lang="en"><span class="RMCKSEHR RMCQYYXR alt-edited">Maxim.</span></span> </div></div></div></div></div></div></div></div></div></div></div></div></div>