Hi Andrew, sorry for my late answer but I wasn't at work again till today. Andrew Beekhof schrieb: > On Fri, Sep 18, 2009 at 12:52 PM, Enno Gröper > <[email protected]> wrote: >> Hi, >> I'm using pacemaker with heartbeat to run a 2 node dhcp server cluster >> with shared disk using drbd for the lease file. >> After upgrading from using heartbeat 2.1.3 (lenny packages) alone (I >> purged the old install and removed rest of the old files by hand) I have >> some strange problems. >> When stopping the monitored dhcp service using "/etc/init.d/dhcp3-server >> stop" pacemaker recognises this as expected, but instead of simply >> trying to restart the resource on the same node it leaves it stopped >> (the other node is in standby mode). >> To achieve what I want (and what I think was default behaviour using >> heartbeat 2.1.3) I set migration_threshold to 1. >> However failcount is set to INFINITY instead of being increased by 1 so >> this doesn't matter. >> I thougt failcount is only set to INFINITY if failures occur on starting >> a resource? > > With migration-threshold = 1, _any_ failure will force the resource to > another node. > Including monitor failures.
Okay. I was thinking about if 1 or 2 is what I wanted. Thanks for clearance. I only added the migration-threshold attribute because the cluster wasn't working as expected (and as it acted on my test vms) Seems that I added another error instead of helping to fix the existing one. Although migration-threshold was set to the wrong value for what I wanted, shouldn't pacemaker have set failcount to 1 and then try to move the resource away because migration-threshold was reached? Anyway! I reinstalled pacemaker on one of the nodes in the meantime and now everything works fine. > >> Did I understand anything wrong? >> >> btw: I'm using this repo: >> deb http://people.debian.org/~madkiss/ha lenny main >> >> What is the difference to the following repo? I'm using heartbeat and >> not openais. >> deb http://people.debian.org/~madkiss/ha-corosync lenny main > > For people using heartbeat, the differences are a slightly more recent > version of Pacemaker and a new package division (the resource agents > and core libraries were split into sub projects). Then it should be okay for me to stick to the "old" repository. Thanks for you help Enno _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
