On Mon, Jun 23, 2008 at 10:22, Michael Alger <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 09:39:10AM +0200, Andrew Beekhof wrote: >> On Mon, Jun 23, 2008 at 07:03, Michael Alger <[EMAIL PROTECTED]> wrote: >> > On Fri, Jun 20, 2008 at 01:33:40PM +0200, Andrew Beekhof wrote: >> >> On Fri, Jun 20, 2008 at 12:35, Michael Alger <[EMAIL PROTECTED]> wrote: >> > It runs the monitor command on both hosts (in my 2 node cluster, >> > so presumably that means "all hosts") to get the current status >> > when it first starts up, and crm_mon will report something like: >> > >> > ipaddr_routing (heartbeat::ocf:IPaddr): Started proxy-02 >> > squid (local::ocf:squid)[ proxy-02 proxy-01 ] >> >> this is bad - it means your RA or configuration is broken. >> are you starting squid by default on both machines? > > Yes, squid runs on both machines by default. It is my intention to > have it running on both machines at all times, which is why I don't > want to make it a managed resource.
One does not follow the other :-) I think you'd be better of making squid a cloned resource: http://linux-ha.org/v2/Concepts/Clones You should do this regardless of whether you make it managed or not. > What should it be reporting at startup if not the above? The RA is correct, your config needs some changes though. >> > However it never seems to execute the monitor script again: if I >> > shut down squid on one server it remains listed as running on both, >> > even after a few days (I left it shutdown over the weekend). This >> > means that even though I have a constrain to keep squid with the >> > IPaddr, when I caused pingd to fail on the host where squid is >> > running, the address was moved to the host were squid was stopped. >> > Heartbeat never ran the monitor command again. >> > >> > Another issue is that heartbeat is unable to shut down if you have >> > an unmanaged resource started when heartbeat starts. It logs this >> > message once every 60 seconds: >> >> version? > > Sorry. It's heartbeat 2.1.3, from Debian backports. The date in the > changelog is March 27th. Quite possibly broken. I recall fixing this in the recent past. Perhaps try the packages at: http://download.opensuse.org/repositories/server:/ha-clustering/Debian_Etch/ _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
