<div dir="ltr"><div>location constraints are somehow not honored by pacemaker 1.1.10 on el6.</div><div>I have an IP adress which is placed first and then a volumegroup and a filesystem which choose the same node. The IP should be placed on x432, but for some reason it chooses x430. There are additional resources running (also choosing strange nodes). </div>
<div><br></div><div><br></div><div>the resource (pcs status):</div><div><br></div><div>ip_x43c<span class="" style="white-space:pre"> </span>(ocf::heartbeat:IPaddr2):<span class="" style="white-space:pre"> </span>Started x430<br>
</div><div><br></div><div><br></div><div><br></div><div>the constraint (pcs constraint)</div><div><br></div><div><div>Resource: x43c</div><div>    Enabled on: x432 (score:10001)</div></div><div><br></div><div><br></div><div>
<br></div><div>Cluster properties (pcs property)</div><div><br></div><div><div> cluster-infrastructure: cman</div><div> cluster-recheck-interval: 60s</div></div><div><div> default-resource-stickiness: 10</div></div><div><div>
 maintenance-mode: false</div></div><div><div> symmetric-cluster: true</div></div><div><br></div><div><br></div><div>checking the scoring vim crm_simulate -sL i get</div><div><br></div><div><div>native_color: ip_x43c allocation score on x430: 30</div>
<div>native_color: ip_x43c allocation score on x431: 0</div><div>native_color: ip_x43c allocation score on x432: -INFINITY</div></div><div><br></div><div>the score of 30 on x430 is ok. There is a resourcegroup with two resource with a colocation on the ip. But i can't figure out why x432 get's -INFINITY, there is no further constraint regarding any of the resources in question. I expect them to migrate to x432 after 60 seconds, but nothing happens.</div>
<div><br></div><div>I trieds stopping vgfs_service_c, the ip remains. i stopped the ip. Started it again, comes up on x430 again. </div><div><br></div><div><br></div><div><div>pacemaker version:</div><div><br></div><div>pacemaker-libs-1.1.10-14.el6.x86_64</div>
<div>pacemaker-1.1.10-14.el6.x86_64</div><div>pacemaker-cli-1.1.10-14.el6.x86_64</div><div>pacemaker-cluster-libs-1.1.10-14.el6.x86_64</div><div><br></div><div><br></div></div><div><br></div><div>The stripped config is:</div>
<div><br></div><div><div>node x430</div><div>node x431</div><div>node x432</div><div>primitive fs_service_c ocf:heartbeat:Filesystem \</div><div>        params device="/dev/mapper/vg_service_c-service_c" directory="/common/service-c" fstype="ext4" \</div>
<div>        op start interval="0" timeout="60s" \</div><div>        op stop interval="0" timeout="60s" \</div><div>        meta target-role="Started"</div><div>primitive vg_service_c ocf:heartbeat:LVM \</div>
<div>        params volgrpname="vg_service_c" exclusive="true" \</div><div>        op start interval="0" timeout="120" \</div><div>        op stop interval="0" timeout="120" \</div>
<div>        op monitor interval="10" timeout="120"</div><div>primitive ip_x43c ocf:heartbeat:IPaddr2 \</div><div>        params ip="140.181.134.240" \</div><div>        op monitor interval="30" timeout="20"</div>
<div>group vgfs_service_c vg_service_c fs_service_c</div><div>location location-ip_x43c-x432-10001 ip_x43c 10001: x432</div><div>colocation colocation-vgfs_service_c-ip_x43c-INFINITY inf: vgfs_service_c ip_x43c</div><div>
property $id="cib-bootstrap-options" \</div><div>        dc-version="1.1.10-14.el6-368c726" \</div><div>        cluster-infrastructure="cman" \</div><div>        last-lrm-refresh="1400683270" \</div>
<div>        stonith-enabled="true" \</div><div>        stonith-action="poweroff" \</div><div>        default-resource-stickiness="10" \</div><div>        cluster-recheck-interval="60s" \</div>
<div>        maintenance-mode="false" \</div><div>        symmetric-cluster="true"</div></div><div><br></div><div><br></div><div><br></div><div>Greeings</div><div>   Christoph</div></div>