On Tue, Sep 9, 2008 at 10:21 AM, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
> 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?

And here is some log info:

 attribute name
attrd[4347]: 2008/09/09_12:58:17 info: attrd_trigger_update: Sending
flush op to all hosts for: pingd
attrd[4347]: 2008/09/09_12:58:18 info: attrd_ha_callback: (null)
message from (null)
attrd[4347]: 2008/09/09_12:58:18 info: find_hash_entry: Ignoring
message with no attribute name
pingd[4551]: 2008/09/09_12:58:27 info: stand_alone_ping: Node
192.168.2.1 is alive (5)
pingd[4551]: 2008/09/09_12:58:27 info: send_update: 1 active ping nodes
pingd[4551]: 2008/09/09_12:58:42 info: stand_alone_ping: Node
192.168.2.1 is alive (5)
pingd[4551]: 2008/09/09_12:58:42 info: send_update: 1 active ping nodes


>
>
>
>
> --
> Serge Dubrouski.
>



-- 
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