Hi,<br><br>I just want to let you know that the problem is solved. Thanks to "crm_mon -f". ;)<br>The error was the usage of the pingd RA. This RA worked very unreliable and is marked as deprecated though (<a href="http://comments.gmane.org/gmane.linux.highavailability.user/32290">http://comments.gmane.org/gmane.linux.highavailability.user/32290</a>).<br>
So after changing the RA to ocf:pacemaker:ping the pingd attribute was set as expected and the location contraints are working as planned.<br><br>Here are the contraints for everybody who wants to implement an assimilable behaviour:<br>
primitive resPing ocf:pacemaker:ping \<br>        params host_list="standard-gateway node1 node2" multiplier="1000" \<br>        op monitor interval="5" timeout="60" \<br>        op start interval="0" timeout="60" \<br>
        op stop interval="0" timeout="20"<br>location locDRBD0Node1 msDRBD0 \<br>        rule $id="locDRBD0Node1-rule" $role="Master" inf: #uname eq node1<br>location locDRBD0PingErr msDRBD0 \<br>
        rule $id="locDRBD0PingErr-rule" $role="Master" -inf: not_defined pingd or pingd number:lte 1000<br>location locDRBD1Node2 msDRBD1 \<br>        rule $id="locDRBD1Node2-rule" $role="Master" inf: #uname eq node2<br>
location locDRBD1PingErr msDRBD1 \<br>        rule $id="locDRBD1PingErr-rule" $role="Master" -inf: not_defined pingd or pingd number:lte 1000<br>location locIP0Node1 resIP0 \<br>        rule $id="locIP0Node1-rule" inf: #uname eq node1<br>
location locIP0PingErr resIP0 \<br>        rule $id="locIP0PingErr-rule" -inf: not_defined pingd or pingd number:lte 1000<br>location locIP1Node2 resIP1 \<br>        rule $id="locIP1Node2-rule" inf: #uname eq node2<br>
location locIP1PingErr resIP1 \<br>        rule $id="locIP1PingErr-rule" -inf: not_defined pingd or pingd number:lte 1000<br><br>"crm_mon -f" output:<br>... many resources<br>Migration summary:<br>* Node node1:  pingd=3000<br>
* Node node2:  pingd=3000<br><br>-- <br><br><br>Regards,<br><br>Simon Jansen<br><br><br>---------------------------<br>Simon Jansen<br>64291 Darmstadt<br>