On Thu, 2008-08-28 at 13:53 -0400, Chase Simms wrote:
> So now I am trying to use Pingd clones to monitor both connections and
> choose the best. 

I think that requires different constraints. You can find fairly decent
examples here:
http://www.linux-ha.org/v2/faq/pingd

I chose to use the one which tells the cluster NOT to run any resource
on a node where pingd connectivity is lost. It fails over instantly when
I pull the cord...

<rsc_location id="myresource:connected" rsc="myresource">
  <rule id="myresource:connected-rule-01" score="-INFINITY"
boolean_op="or">
    <expression id="myresource:connected-rule-01-expr-01"
      attribute="pingd" operation="not_defined"/>
    <expression id="myresource:connected-rule-01-expr-02"
      attribute="pingd" operation="lte" value="0"/>
  </rule>
</rsc_location>


Ivan

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to