<html><head></head><body>Not an expert..but I never used any timeout values for a monitor op. <br>
<br>
For stop and start ops I have the intervals at 0 and timeouts set to 240..<br>
<br>
However for a monitor op the intervals are usually 30 and timeouts 0. <br>
<br>
It will monitor at intervals of 30. <br>
<br>
Remove the timeout part and I think you'll get different results<br>
<br>
Mike<br><br><div class="gmail_quote">Dennis Jacobfeuerborn <dennisml@conversis.de> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br />I'm trying to make an openswan setup redundant and this kind of works <br />but pacemaker reports errors like this on failover:<br /><br />p_ipsec_monitor_15000 on node02 'not running' (7): call=113, <br />status=complete, last-rc-change='Mon Jan 27 18:32:29 2014', queued=37ms, <br />exec=0ms<br /><br />The resource definition looks like this:<br /><br />primitive p_ipsec lsb:ipsec \<br /> op monitor interval="15" timeout="15"<br /><br />The interesting bit is that the log shows no errors/warnings and the <br />service is running fine. After a bit of googling it appears that the <br />custom output of the status command is the culprit.<br />Replacing it with a static string like "ipsec (pid 1111) is running..." <br />seems to fix it but replacing "running" with "rnning" also seems to <br />work. Also outputting this line followed by the normal status output <br />fails as well.<br /><br />So my question is what exactly is pacemaker doing to determine if
the <br />status call returned successfully if at all and what needs to be done so <br />I don't get the "not running" errors in pacemaker?<br /><br />Regards,<br />Dennis<br /><br /><hr /><br />Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br /><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br /><br />Project Home: <a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a><br />Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br />Bugs: <a href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>