On Tue, Jun 17, 2008 at 11:30:37AM +0200, Michael Schwartzkopff wrote: > Am Dienstag, 17. Juni 2008 11:05 schrieb Michael Alger: >> I'm trying to set up a simple two-node cluster for a squid reverse >> proxy, running on Debian etch (heartbeat 2.0.7). > > Use at least version 2.1.3
Thanks for that. I updated to 2.1.3 from debian-backports, and re-imported the resource using provider name "local", and voila: I AM BEING RUN as /usr/lib/ocf/resource.d//local/squid monitor I'm not sure why it suddenly started working. I actually did this yesterday and it still didn't seem to be being called, so I shut down HA today and erased the log so I could provide a clean one from the new version, then after starting it up again noticed squid was working: squid (local::ocf:squid): Started proxy-01 > What does ocf-test tell you about your script? For writing OCF RA see: > http://www.linux-ha.org/OCFResourceAgent > Are the exit codes of start, stop and monitor correct if you > execute the script manually? Hint: export OCF_ROOT=/usr/lib/ocf There were some issues, primarily it didn't wait for squid to fully stop before returning success, so I've cleaned it up so it passes the tests now. I don't think this would be related to it not being run at all though. Regardless, the original problem is now resolved. Thanks! _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
