Hi,

On Mon, Dec 14, 2009 at 12:31:19PM +0100, Tobias Appel wrote:
> Hi all,
> 
> I've been trying to get this to work for hours now. Thing is, I'm not 
> really familiar with xinetd. All I can tell is that the LSB script is 
> not heartbeat compatible!
> Thus I wanted to use the ocf agent.
> Well it only takes one parameter, the service name. Sounds easy enough.
> 
>  From what I've gathered, I'm supposed to leave the xinetd service 
> running all the time and heartbeat will just enable the specific service.

Right.

> Ok I got a few configuration files under /etc/xinetd.d/
> one of them is my NSCA service for Nagios. But this one is usually 
> started as soon as I start xinetd. Now this should not be the case on 
> the passive node.
> 
> So how should I configure xinetd? I tried to disable the service in the 
> xinetd.conf but then heartbeat tells me the OCF agent which I configured 
> with this services' name is running but in fact it's still disabled.

Xinetd creates some run file on start and removes it on stop.
Probably should actually check the service config file. Not sure
how complicated is that.

> Then I tried to set the default value to off in the nsca xinetd config 
> file but with the same results. It seems like the OCF agent is always 
> telling me it's running but in fact it does nothing at all.
> 
> Maybe I misunderstand the OCF agent and it also manages the xinetd 
> service and I don't need to touch any particular service inside, but 
> then what should I give it as parameter?

Service name.

> I hope someone can explain this to me as I have found nothing at all 
> using google :(
> 
> Oh btw I'm using the OCF agent from Heartbeat 2.1.4. It seems pretty old 
> - maybe I just need a new one?

No, it hasn't changed in a while. It works by editing the
"disabled" directive in the config file. There should be an
example of a service in the meta-data. You can file a bugzilla
for that.

Thanks,

Dejan

> Bye,
> Tobi
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to