I have following configuration in Pacemaker 0.65 + Heartbeat 2.1.3:

in ha.cf

respawn root /usr/lib/heartbeat/pingd -m 100 -d 1s
ping 192.168.2.1

In cib.xml

      <rsc_location id="Group-connected" rsc="myGroup">
        <rule id="PGSQL-connected-rule" score="-INFINITY" boolean-op="or">
          <expression id="expression.id2242755" attribute="pingd"
operation="not_defined"/>
          <expression id="expression.id2242765" attribute="pingd"
operation="lte" value="0"/>
        </rule>
      </rsc_location>

That worked all right and allowed to switch services between nodes in
case of network failure.

cibadmin -Ql | grep pingd

<expression id="Group-connected:expr:undefined" attribute="pingd"
operation="not_defined"/>
<expression id="Group-connected:expr:zero" attribute="pingd"
operation="lte" value="0"/>

<nvpair id="status-10271b4e-7201-4196-bd85-ec48928d26d6-pingd"
name="pingd" value="100"/>
<nvpair id="status-bee0cb65-8d4d-469c-ac48-51f41ad859bd-pingd"
name="pingd" value="100"/>

After upgrading to Pacemaker 0.7 + Heartbeat 2.99 my group can't start
anywhere because pingd attributes disappeared:

cibadmin -Ql | grep pingd

<expression id="Group-connected:expr:undefined" attribute="pingd"
operation="not_defined"/>
<expression id="Group-connected:expr:zero" attribute="pingd"
operation="lte" value="0"/>

So what's wrong there?




-- 
Serge Dubrouski.
_______________________________________________
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