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.

Does anyone has a clue what I am doing wrong?


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

Reply via email to