[Pacemaker] Problem using haproxy script

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Apr 4 09:10:46 EDT 2011


On Thu, Mar 24, 2011 at 04:04:39PM +0000, tariq fillah wrote:
> I followed the steps described there
> http://www.webhostingtalk.com/showthread.php?t=627783  to install and
> configure haproxy, the script in /etc/init.d/haproxy is the one in this
> page  http://layer1.rack911.com/haproxy/haproxy.init
> 
> 2011/3/24 tariq fillah <tariqfcb at gmail.com>
> 
> > Hello,
> >
> > I am trying to add haproxy as a resource for pacemaker, but when I run the
> > following command
> >
> > crm configure primitive haproxy lsb:haproxy op monitor interval="10s"
> >
> >  I have the following error message:
> >
> > *[root at web14 dialy]# crm configure primitive haproxy lsb:haproxy op monitor inte
> > rval="10s"
> >
> > ERROR: lsb:haproxy: could not parse meta-data:
> > ERROR: lsb:haproxy: no such resource agent
> > Do you still want to commit?
> > Please answer with y[es] or n[o]
> > Do you still want to commit?*
> >
> > Any idea how to solve this problem.

Change permissions of /etc/init.d/haproxy to 755. Perhaps that
would help. Otherwise, no idea.

Thanks,

Dejan


> > Thanks in advance.
> >

> _______________________________________________
> 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





More information about the Pacemaker mailing list