<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="775bad88-0954-40bf-b9e4-4f012a76a34c" testsrv2 \<br> attributes standby="off"<br>node $id="b1d07507-6191-425c-bee3-14229c85820f" testsrv1 \<br> attributes standby="off"<br>primitive ClusterIp ocf:heartbeat:IPaddr2 \<br> params ip="192.168.120.209" nic="eth0" cidr_netmask="24" \<br> op monitor start-delay="0" interval="30" \<br> meta target-role="started"<br>primitive DBClusterIp ocf:heartbeat:IPaddr2 \<br> params ip="192.168.120.210" nic="eth0" cidr_netmask="24" \<br> op monitor interval="30" start-delay="0" \<br> meta target-role="started"<br>primitive Postgres-9.3 lsb:postgres-9.3-openscg \<br> op start interval="0" timeout="15" \<br> op stop interval="0" timeout="15" \<br> op monitor interval="15" timeout="15" start-delay="15" \<br> meta target-role="started" migration-threshold="1"<br>primitive PowerDns lsb:pdns \<br> op start interval="0" timeout="15" \<br> op stop interval="0" timeout="15" \<br> op monitor interval="15" timeout="15" start-delay="15" \<br> meta target-role="started" migration-threshold="2"<br>primitive PsqlMasterToStandby ocf:heartbeat:PsqlMasterToStandby \<br> op start interval="0" timeout="20" start-delay="10" \<br> op monitor interval="10" timeout="240" start-delay="10" \<br> op stop interval="0" timeout="20" \<br> meta target-role="started"<br>primitive PsqlPromote ocf:heartbeat:PsqlPromote \<br> op start interval="0" timeout="20" \<br> op stop interval="0" timeout="20" \<br> op monitor interval="10" timeout="20" start-delay="10" \<br> meta target-role="started"<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="cib-bootstrap-options" \<br> stonith-enabled="false" \<br> dc-version="1.1.10-42f2063" \<br> cluster-infrastructure="heartbeat" \<br> last-lrm-refresh="1453192778"<br>rsc_defaults $id="rsc-options" \<br> resource-stickiness="100" \<br> failure-timeout="60s"<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>