On Fri, Apr 09, 2010 at 04:27:13PM +0200, Scheffler Heinz wrote: > Hello > > We have a corosync-pacemaker Cluster with two nodes (mutual takeover). > All resource locations on one node depending on the nodes network > connectivitiy. pingd-depending rules for the ip interfaces in a base - > group and then colocations for all other groups. > System: > Pacemaker 1.0.5-4.1 with heartbeat-3.0.0-33.2
people keep fixing bugs that are fixed upstream already. http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/7579dfe76df6 > Because the "*" in line 244 is not escaped, the score will be an empty > string when $active is "0". We correct this to: > 244 score=`expr $active \* $OCF_RESKEY_multiplier` > And the script was calculating the correct value and syslog shows > correctly: > Apr 8 21:42:19 gfadb05 attrd_updater: [29208]: info: Invoked: > attrd_updater -n gateway_reachable -v 100 -d 60 > Apr 8 21:42:25 gfadb05 attrd_updater: [29233]: info: Invoked: > attrd_updater -n gateway_reachable -v 100 -d 60 > Apr 8 21:42:31 gfadb05 attrd_updater: [29315]: info: Invoked: > attrd_updater -n gateway_reachable -v 100 -d 60 > > Since this fix, the variable "gateway_reachable" containes the correct > value and the cluster behavior is like before. > > Has anybody an idea what could happen? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
