<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
< I am resending this mail, because of the outage of clusterlabs
during the weekend, a received error message and my timelimit until
next week><br>
<Please excuse that this mail will be kept two times in the
january archive><br>
<br>
<div class="moz-forward-container">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hello guys,<br>
<br>
happy new year to all of you!<br>
<br>
I have a little (<i>understanding?</i>) problem regarding
Heartbeat/Pacemaker and deadtime/timeout.<br>
I know that corosync is the way the go, but atm I have a heartbeat
cluster and need to adjust it's time before a failover is
initiated. <br>
<br>
My cluster and resources completely ignore the heartbeat deadtime
raise and the timeout in pacemaker resource agents definitions.<br>
When I shut him off, the node gets shown as offline and the
services are failovered after 4-9 seconds. But I want 20 seconds.<br>
<big><br>
What do I have to adjust, to make the cluster failover after +-
20 seconds instead of 9? Do I miss a parameter apart from
deadtime(deadping) and timeout?</big><br>
Every hint would be a great help!<br>
<br>
<br>
Thank you very much<br>
Sebish<br>
<br>
<br>
<b>Config:</b><br>
------<br>
<br>
<big><b><u>/etc/heartbeat/ha.cf</u></b><b>:</b></big><br>
<br>
...<br>
keepalive 2<br>
warntime 6<br>
deadtime 20<br>
initdead 60<br>
...<br>
<br>
<b><big><u>crm (pacemaker)</u>:</big></b><br>
<br>
node $id="6acc2585-b49b-4b0f-8b2a-8561cceb8b83" nodec<br>
node $id="891a8209-5e1a-40b6-8d72-8458a851bb9a" kamailioopenhab2<br>
node $id="fd898711-4c76-4d00-941c-4528e174533c" kamailioopenhab1<br>
primitive ClusterMon ocf:pacemaker:ClusterMon \<br>
params user="root" update="30" extra_options="-E
/usr/lib/ocf/resource.d/*myname*/*script*.sh" \<br>
op monitor interval="10" timeout="40" on-fail="restart"<br>
primitive FailoverIP ocf:heartbeat:IPaddr2 \<br>
params ip="*ClusterIP*" cidr_netmask="18" \<br>
op monitor interval="2s" timeout="20"<br>
primitive Openhab lsb:openhab \<br>
meta target-role="Started" \<br>
op monitor interval="2s" timeout="20"<br>
primitive Ping ocf:pacemaker:ping \<br>
params host_list="*ClusterIP*" multiplier="100" \<br>
op monitor interval="2s" timeout="20"<br>
location ClusterMon_LocationA ClusterMon -inf: kamailioopenhab1<br>
location ClusterMon_LocationB ClusterMon 10: kamailioopenhab2<br>
location ClusterMon_LocationC ClusterMon inf: nodec<br>
location FailoverIP_LocationA FailoverIP 20: kamailioopenhab1<br>
location FailoverIP_LocationB FailoverIP 10: kamailioopenhab2<br>
location FailoverIP_LocationC FailoverIP -inf: nodec<br>
colocation Services_Colocation inf: FailoverIP Kamailio Openhab<br>
property $id="cib-bootstrap-options" \<br>
dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \<br>
cluster-infrastructure="Heartbeat" \<br>
expected-quorum-votes="2" \<br>
last-lrm-refresh="1451669632" \<br>
stonith-enabled="false" \<br>
no-quorum-policy="ignore"<br>
rsc_defaults $id="rsc-options" \<br>
resource-stickiness="100"<br>
------<br>
</div>
<br>
</body>
</html>