[Linux-HA] Monitoring & failing over

Alan Robertson alanr at unix.sh
Mon Oct 10 08:53:56 MDT 2005


Jan Lenaerts wrote:
> Hello,
> 
> I'm trying to let my apache fail over when it goes down.
> so I configed this in my cib.xml:
> <primitive id="Apache" class="lsb" type="apache2">
> <operations>
> <op id="0c6f1bd0-379f-4c11-9162-064662cbb229" name="stop" timeout="4s"/>
> <op id="2" name="start" timeout="5s"/>
> <op id="3" name="monitor" interval="10s" timeout="3s"/>
> </operations>
> </primitive>
> 
> 
> This is what apears every 10s(the monitor interval):
> Sep 28 23:43:10 localhost lrmd: [11986]: WARN: For LSB init script, no
> additional parameters are needed.
> however on the ClusterInformationBase/Actions page they use lsb and
> monitors....

If you want parameters, you must use an OCF resource agent.

LSB init scripts do not take parameters.

I've corrected the web page which repeatedly had this error in it.



-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce



More information about the Linux-HA mailing list