On Mon, Jun 30, 2008 at 10:03:39PM -0700, codeline wrote: > I have been using heartbeat 2.0.8 on linux 2.6. All the cli tools > seem to work well and I am able to test fail over successfully > when the network or heartbeat fails.
You might want to consider updating to the latest version, as there has been a lot of fixes and most of the people on this list seem to be unable to assist with older versions. > However when I try and monitor the customized init script using > OCF heartbeat does not interact with it; it will say there > resource is running on both nodes when its not. or say its stopped > when its started. > > I have seen some example ocf scripts, but I was wondering if any > one could help with a very basic OCF script that does not need > environment variables, or any bells and whistles. I just need a > OCF script that I can "wrap" another init script inside that > heartbeat will be able to monitor and react to resource failure. Have you used the ocf-tester script (part of the heartbeat distribution)? This calls your script to start, stop and monitor the resource in various combinations and lets you know if there's anything especially wrong with it. If it passes those tests, then we'd probably need to know how you've configured the resources in order to be able to provide any additional advice. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
