On Mon, Jul 27, 2009 at 02:49:25PM +0200, Bernd Petrovitsch wrote: > Hi all! > > I think I discovered a bug in heartbeat (or I'm too blind and overlooked > it in the documentation). > How to trigger: > Define the ressource groups in the /etc/ha.d/haresources file so that > the first service, say "stop-xxx", after the nodename has/is the same > string for both nodes (which is the case if you want something done as > the very first step on a failover/failback, e.g. stop various daemons so > that they not in the way if filesystems are munmounted) - and not the > usual IP address entry. > > Result: heartbeat (in my case heartbeat-2.1.3-3 from RHEL5/CentOS-5) > doesn't really starts up. > > Debugging the above, it leads to calls of the ResourceManager script > with the parameters "givegroup stop-xxx" where actually a nodename is > expected. > Grepping around reveals that the ip-request script calls > "$RSCMGR givegroup $IPADDR" - and that doesn't fit to the above.
"design limitation" from http://www.linux-ha.org/haresources Note: Make sure that the first resource in each resource group is unique because the first resource will be used as resource group name. > The obvious solution is to keep an IP address entry on the 1st place > (and it works in my case). > > Or am I doing something seriously wrong? Yes. You are using heartbeat v1, where you should be using pacemaker ;) -- : 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
