Hi,

On Mon, Jan 25, 2010 at 05:09:17PM +0100, Björn Boschman wrote:
> Hi,
> 
> I'm trying to integrate OpenSIPS via some agent which can be found here
> http://www.anders.com/1offs/OpenSer.txt 
> http://www.anders.com/cms/259/Linux.Tutorial/OpenSIPS/OpenSER/Linux-HA/
> 
> When I set the mandatory SHELL variables (OCF_ROOT, OCF_RESKEY_ip, 
> OCF_RESKEY_port) and run the agent (start/stop/monitor and so on) everything 
> works fine.
> 
> /usr/lib/ocf/resource.d/nfon/opensips start
> echo $? -> 0
> 
> /usr/lib/ocf/resource.d/nfon/opensips monitor
> echo $? -> 0
> 
> /usr/lib/ocf/resource.d/nfon/opensips stop
> echo $? -> 0
> 
> /usr/lib/ocf/resource.d/nfon/opensips monitor
> echo $? -> 7
> 
> Unfortunatelly when I run ocf-tester it fails:
> 
> ocf-tester -n opensips -o ip=127.0.0.1 -o port=5060 -o provid=reg 
> /usr/lib/ocf/resource.d/nfon/opensips
> Beginning tests for /usr/lib/ocf/resource.d/nfon/opensips...
> * rc=7: Monitoring an active resource should return 0
> * rc=7: Monitoring an active resource should return 0
> Tests failed: /usr/lib/ocf/resource.d/nfon/opensips failed 2 tests
> 
> Also integrating into heartbeat does not bring the resource up.

grep the logs for lrmd.*sips.

> Does anyone has a clue what I am doing wrong?

Strange. Are you absolutely sure that you didn't make a typo
somewhere. ocf-tester does exactly the same as when running the
script by hand.

Thanks,

Dejan

> 
> Cheers
> 
> Björn Boschman
> 
> nfon AG 
> Leonrodstraße 68
> D-80636 München
>  
> fon   +49 (0)89 453 00-0
> fax   +49 (0)89 453 00-100
> mail  [email protected]
> web   www.nfon.net
> 
> Support-Hotline der nfon AG
> mail  [email protected]
> fon           +49 (0)89 453 00-555
> 
>   
> Vorsitzender des Aufsichtsrats: Prof. Dr. Henning Werner 
> Vorstände: Fabian Hoppe, Marcus Otto, Jens Blomeyer
> Sitz der Gesellschaft München
> Amtsgericht München, HRB 168022
> USt-ID DE254495743
> 
> _______________________________________________
> 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