<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hello,<br>
I am contacting you because I have a problem with my cluster and I
cannot find (nor understand) any information that can help me.</p>
<p>I have a 2 nodes cluster (pacemaker, corosync, pcs) installed on
CentOS 7 with a set of configuration.<br>
Everything seems to works fine, but here is what happens:</p>
<ul>
<li>Node1 and Node2 are running well with Node1 as primary<br>
</li>
<li>I reboot Node2 wich is passive (no changes on Node1)</li>
<li>Node2 comes back in the cluster as passive<br>
</li>
<li>corosync logs shows resources getting started then stopped on
Node2</li>
<li>"crm_mon" command shows some ressources on Node1 getting
restarted <br>
</li>
</ul>
<p>I don't understand how it should work.<br>
If a node comes back, and becomes passive (since Node1 is running
primary), there is no reason for the resources to be started then
stopped on the new passive node ?<br>
</p>
<p>One of my resources becomes unstable because it gets started and
then stoped too quickly on Node2, wich seems to make it restart on
Node1 without a failover.</p>
<p>I tried several things and solution proposed by different sites
and forums but without success.</p>
<p><br>
</p>
<p>Is there a way so that the node, which joins the cluster as
passive, does not start its own resources ?</p>
<p><br>
</p>
<p>thanks in advance</p>
<p><br>
</p>
<p>Here are some information just in case :</p>
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: Consolas, 'Courier New', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;">$ rpm -qa | grep -E </span><span style="color: #ce9178;">"corosync|pacemaker|pcs"</span></div><div><span style="color: #d4d4d4;"> corosync-2.4.5-4.el7.x86_64</span></div><div><span style="color: #d4d4d4;"> pacemaker-cli-1.1.21-4.el7.x86_64</span></div><div><span style="color: #d4d4d4;"> pacemaker-1.1.21-4.el7.x86_64</span></div><div><span style="color: #d4d4d4;"> pcs-0.9.168-4.el7.centos.x86_64</span></div><div><span style="color: #d4d4d4;"> corosynclib-2.4.5-4.el7.x86_64</span></div><div><span style="color: #d4d4d4;"> pacemaker-libs-1.1.21-4.el7.x86_64</span></div><div><span style="color: #d4d4d4;"> pacemaker-cluster-libs-1.1.21-4.el7.x86_64</span></div></div>
<p><br>
</p>
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: Consolas, 'Courier New', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-stonith-enabled"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"stonith-enabled"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"false"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-no-quorum-policy"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"no-quorum-policy"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"ignore"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-dc-deadtime"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"dc-deadtime"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"120s"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-have-watchdog"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"have-watchdog"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"false"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-dc-version"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"dc-version"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"1.1.21-4.el7-f14e36fd43"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-cluster-infrastructure"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"cluster-infrastructure"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"corosync"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-cluster-name"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"cluster-name"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"CLUSTER"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-last-lrm-refresh"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"last-lrm-refresh"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"1598446314"</span><span style="color: #d4d4d4;">/></span></div><div><span style="color: #d4d4d4;"> <nvpair id=</span><span style="color: #ce9178;">"cib-bootstrap-options-default-resource-stickiness"</span><span style="color: #d4d4d4;"> name=</span><span style="color: #ce9178;">"default-resource-stickiness"</span><span style="color: #d4d4d4;"> value=</span><span style="color: #ce9178;">"0"</span><span style="color: #d4d4d4;">/></span></div></div>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>