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