<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>i am having a 2 node Debian cluster with resources configured in it. Everything is working fine apart from one thing.<br><br></div>As
 and when one of my two node joins the cluster, the resources configured
 on currently active node gets restarted. I am not able to figure out 
why cluster is behaving like this.<br><br></div>Below is the configuration of my cluster <br><br>node $id=&quot;775bad88-0954-40bf-b9e4-4f012a76a34c&quot; testsrv2 \<br>        attributes standby=&quot;off&quot;<br>node $id=&quot;b1d07507-6191-425c-bee3-14229c85820f&quot; testsrv1 \<br>        attributes standby=&quot;off&quot;<br>primitive ClusterIp ocf:heartbeat:IPaddr2 \<br>        params ip=&quot;192.168.120.209&quot; nic=&quot;eth0&quot; cidr_netmask=&quot;24&quot; \<br>        op monitor start-delay=&quot;0&quot; interval=&quot;30&quot; \<br>        meta target-role=&quot;started&quot;<br>primitive DBClusterIp ocf:heartbeat:IPaddr2 \<br>        params ip=&quot;192.168.120.210&quot; nic=&quot;eth0&quot; cidr_netmask=&quot;24&quot; \<br>        op monitor interval=&quot;30&quot; start-delay=&quot;0&quot; \<br>        meta target-role=&quot;started&quot;<br>primitive Postgres-9.3 lsb:postgres-9.3-openscg \<br>        op start interval=&quot;0&quot; timeout=&quot;15&quot; \<br>        op stop interval=&quot;0&quot; timeout=&quot;15&quot; \<br>        op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \<br>        meta target-role=&quot;started&quot; migration-threshold=&quot;1&quot;<br>primitive PowerDns lsb:pdns \<br>        op start interval=&quot;0&quot; timeout=&quot;15&quot; \<br>        op stop interval=&quot;0&quot; timeout=&quot;15&quot; \<br>        op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \<br>        meta target-role=&quot;started&quot; migration-threshold=&quot;2&quot;<br>primitive PsqlMasterToStandby ocf:heartbeat:PsqlMasterToStandby \<br>        op start interval=&quot;0&quot; timeout=&quot;20&quot; start-delay=&quot;10&quot; \<br>        op monitor interval=&quot;10&quot; timeout=&quot;240&quot; start-delay=&quot;10&quot; \<br>        op stop interval=&quot;0&quot; timeout=&quot;20&quot; \<br>        meta target-role=&quot;started&quot;<br>primitive PsqlPromote ocf:heartbeat:PsqlPromote \<br>        op start interval=&quot;0&quot; timeout=&quot;20&quot; \<br>        op stop interval=&quot;0&quot; timeout=&quot;20&quot; \<br>        op monitor interval=&quot;10&quot; timeout=&quot;20&quot; start-delay=&quot;10&quot; \<br>        meta target-role=&quot;started&quot;<br>group Database Postgres-9.3 PsqlPromote<br>colocation col_Database_DBClusterIp inf: Database DBClusterIp<br>colocation col_Database_PsqlMasterToStandby inf: Database PsqlMasterToStandby<br>colocation col_PowerDns_ClusterIp inf: PowerDns ClusterIp<br>order ord_Database_DBClusterIp inf: Database DBClusterIp<br>order ord_Database_PsqlMasterToStandby inf: Database PsqlMasterToStandby<br>order ord_PowerDns_ClusterIp inf: PowerDns ClusterIp<br>property $id=&quot;cib-bootstrap-options&quot; \<br>        stonith-enabled=&quot;false&quot; \<br>        dc-version=&quot;1.1.10-42f2063&quot; \<br>        cluster-infrastructure=&quot;heartbeat&quot; \<br>        last-lrm-refresh=&quot;1453192778&quot;<br>rsc_defaults $id=&quot;rsc-options&quot; \<br>        resource-stickiness=&quot;100&quot; \<br>        failure-timeout=&quot;60s&quot;<br>#vim:set syntax=pcmk<br><br></div>Let me know if my configuration is not appropriate or some new configuration needs to be done. <br><br></div>Thanks and regards,<br clear="all"><br>-- <br><div class="gmail_signature">Dharmesh Kumar<br><br><br></div>
</div>