[Pacemaker] question on "on-fail=restart"

Andrew Beekhof andrew at beekhof.net
Thu Dec 19 03:57:00 UTC 2013


On 19 Dec 2013, at 4:03 am, Brusq, Jerome <Jerome.Brusq at signalis.com> wrote:

> Dear all,
>  
> I have a  custom lsb script that launch a custom process.
> 
> primitive myscript lsb:ha_swift \
>    op start interval="0" timeout="30s" \
>    op stop interval="0" timeout="30s" \
>    op monitor interval="15s" on-fail="restart" \
>  
> When this one crashes, I have the feeling that pacemaker do :
> “/etc/init.d/myscript stop”
> Then,
> “/etc/init.d/myscript start”
>  
> Is there a way for pacemaker to do “/etc/init.d/myscript restart” (of course my “restart” option is doing something a little bit different that a stop + start in my script ….)

No, sorry

>  
> Thanks!
>  
> Jerome
>  
>  
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131219/d4e1d071/attachment-0004.sig>


More information about the Pacemaker mailing list