<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello guys,<br>
<br>
happy new year to all of you!<br>
<br>
I have a little (understanding?) problem regarding
Heartbeat/Pacemaker and deadtime.<br>
I know that corosync is the way the go, but atm I have a heartbeat
cluster and need to adjust it's time to failover. <br>
<br>
My cluster always failovers ~9 seconds after shutdown of the primary
node. It completely ignores the deadtime raise and the values in
pacemaker resources definition.<br>
The node gets shown as offline and the services are failovered after
9 seconds.<br>
<big><br>
What do I have to do, to make the cluster failover after +- 20
seconds instead of 9? Do I miss a parameter apart from deadtime
and timeout (interval)?</big><br>
<br>
<br>
Thank you very much<br>
Sebish<br>
<br>
<br>
<b>Intel:</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 40<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>
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 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>
</body>
</html>