HI guys <br>i&#39;m having some issues with a ping directive, my current config is below and basically i want the web resource to failover to the second node if the ping can no longer contact the default gateway <br><br>so here goes <br>
<br>crm configure primitive ping ocf:pacemaker:ping params dampen=5s host_list=(default GateWay) multplier=1000 name=pingval operations $id=ping-operations op moinitor interval=10s timeout=15s<br><br>and<br><br>crm configure clone connected ping meta globally-unique=false target-role=started<br>
<br>and<br><br>location web_on_connected_node cweb rule $id=web_on_connected_node-rule -inf: not_defined pingval or pingval lte 0<br><br><br>Does anyone see any isssues&#39;s whith the above confiuguration ? i want to check first as the last time i tried it wouldn&#39;t work and my resources would not failover or start<br>
<br><br><br><br>node $id=&quot;271808bb-ed74-4eaa-8c94-bf32a00074dd&quot; crhnode1 \<br>        attributes standby=&quot;off&quot;<br>node $id=&quot;59440607-2a5c-450e-84fa-94bf69742671&quot; crhnode2 \<br>        attributes standby=&quot;off&quot;<br>
primitive cweb ocf:heartbeat:apache \<br>        params configfile=&quot;/etc/httpd/conf/httpd.conf&quot; \<br>        op monitor interval=&quot;60s&quot; \<br>        meta target-role=&quot;Started&quot;<br>primitive failoverip ocf:heartbeat:IPaddr \<br>
        params ip=&quot;10.100.1.100&quot; cidr_netmask=&quot;255.255.0.0&quot; \<br>        op monitor interval=&quot;30s&quot; \<br>        meta target-role=&quot;Started&quot;<br>location cli-prefer-cweb cweb \<br>        rule $id=&quot;cli-prefer-rule-crhweb&quot; inf: #uname eq crhnode1<br>
location prefer-crhnode1 crhweb 50: crhnode1<br>colocation cweb-with-failoverip inf: cweb failoverip<br>order crhweb-after-failoverip inf: failoverip cweb<br>property $id=&quot;cib-bootstrap-options&quot; \<br>        dc-version=&quot;1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3&quot; \<br>
        cluster-infrastructure=&quot;Heartbeat&quot; \<br>        stonith-enabled=&quot;false&quot; \<br>        no-quorum-policy=&quot;ignore&quot;<br>rsc_defaults $id=&quot;rsc-options&quot; \<br>        resource-stickiness=&quot;100&quot;<br>
<br>