[Pacemaker] custom path to LSB compliant script in primitive?

Serge Dubrouski sergeyfd at gmail.com
Wed Oct 6 20:39:00 UTC 2010


LSB scripts do not accept any parameters. You have to convert to OCF.
Since you already started changing it, you are half way done :-)

On Wed, Oct 6, 2010 at 2:36 PM, Craig Hurley <lists at thehurley.com> wrote:
> Hello,
>
> Is it possible to provide a custom path to a lsb compliant script in a
> primitive?  To get it working I copied my script to /etc/init.d/rp and
> I'm using the following config:
>
> primitive p_rp lsb:rp \
>        op monitor interval="30s" \
>        meta target-role="Started"
>
> ...  but I'd like to leave the startup script in it's default install
> path of /opt/x/y/x/rp and modify the config so point at that default
> path.
>
> Is this possible?
> Is this documented somewhere?
>
> Thanks,
> Craig.
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>



-- 
Serge Dubrouski.




More information about the Pacemaker mailing list