Hi All<br><br>I had configured Heartbeeat, pacemkaer on my two VM's <br><br>Cluster with two nodes, two nodes are running <b>cent-os</b> as operation systems.<br><br>Cluster configured with 8 resources and defined order, taking reference pacemaker explained <br>
<br>please find the order and co-location constraints, taken from cib.xml<br><br><rsc_colocation id="Httpd-with-ip" rsc="HttpdVIP" score="INFINITY" with-rsc="Httpd"/><br><rsc_colocation id="Tomcat1-with-ip" rsc="Tomcat1VIP" score="INFINITY" with-rsc="Tomcat1"/><br>
<rsc_colocation id="Mysql-with-ip" rsc="MysqlVIP" score="INFINITY" with-rsc="MS_Mysql" with-rsc-role="Master"/><br><rsc_order first="HttpdVIP" id="Httpd-after-op" score="INFINITY" then="Httpd"/><br>
<rsc_order first="MysqlVIP" id="Mysql-after-ip" score="INFINITY" then="MS_Mysql"/><br><rsc_order first="Tomcat1VIP" id="Tomcat1-after-ip" score="INFINITY" then="Tomcat1"/><br>
<rsc_order first="MS_Mysql" id="Tomcat1-after-MYSQL" score="INFINITY" then="Tomcat1VIP"/><br><rsc_colocation id="Tomcat2-with-Tomcat" rsc="Tomcat1" score="INFINITY" with-rsc="Tomcat2VIP"/><br>
<rsc_order first="Tomcat2VIP" id="Tomcat2-after-ip" score="INFINITY" then="Tomcat2"/><br><rsc_order first="Tomcat2" id="Httpd-after-Tomcat2" score="INFINITY" then="Httpd"/><br>
<rsc_colocation id="tomcat2-with-ip" rsc="Tomcat2VIP" score="INFINITY" with-rsc="Tomcat2"/><br><br>so when heartbeat start on both nodes, the order resources started are MysqlVIP-->MSMysql-->tomcat1VIP-->Tomcat-->Tomcat2VIP-->tomcat2-->HttpdVIP-->Httpd<br>
<br>My question is when i try to stop Mysql process since there is an order constraint .all the resources should stop, but still, when i do <b>crm_mon  </b>i see tomcat2,tomcat2vip,http,httpdVIP resources running on cluster frame work , can you please suggest me if there is any flaw in determining the order or co-location constraints.<br>
<br><br><br>Regards<br>Rakesh<br>