> On 2011-10-13 12:52, Michael Schwartzkopff wrote:
> > Hi,
> > 
> > I have a res:Apache defined like:
> > 
> > primitive resApache ocf:heartbeat:apache \
> > 
> >     params configfile="/etc/apache2/apache2.conf" httpd="/usr/sbin/apache2"
> >     \ op monitor interval="30"
> > 
> > When I remove /etc/apache2/apache2.conf on the active node The cluster
> > does not start the resource on the other node. Both nodes have a score
> > of -inf for the resource. But the resource could start happily on the
> > other node since the configfile is not corrupted there.
> > 
> > Any ideas?
> 
> Aw c'mon. You wrote a book about this; you ought to know that one. :)

Thanks. I just wanted you to confirm my idea.
 
> Take a look at the apache RA, see which error code it returns when it
> can't parse the config file. Should be obvious then. At least it seems
> obvious to me -- unless I'm missing something important, in which case
> I'd be happy to stand corrected.
> 
> I'd merge a fix, btw. I just have no time fixing that RA now.

Why do I know that "no time" problem all too well?

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to