[SR-Users] High availability design with Kamailio

SamyGo govoiper at gmail.com
Tue Jun 12 15:11:44 CEST 2012


Infact if kamailio goes down heartbeat restarts it again !! how do I stop
heartbeat doing it and let the other node take over the resource!


On Tue, Jun 12, 2012 at 6:05 PM, SamyGo <govoiper at gmail.com> wrote:

> Hi again,
>
> Some progress.. I have configured heartbeat and with the crm option to set
> kamailio as resource i.e
>
> crm(test-conf)configure# *primitive Kamailio lsb::kamailio op monitor
> interval=15s*
>
> I can see that if I put the primary node on standby the kamailio instance
> starts on secondary node ! but this isn't working other way around e.g If
> Kamailio crashes the secondary node doesn't do anything.
>
> I've read people that they used sipsak and some piece of code that pings
> Kamailio and if it fails to respond it triggers to heartbeat. Is there any
> help on this !
>
> Regards,
> Sammy G.
>
>
> On Mon, Jun 11, 2012 at 5:20 PM, SamyGo <govoiper at gmail.com> wrote:
>
>> OK thanks,
>> I'm trying this all for myself. once I try this, test this, and get
>> something done I will post the tutorial for all.* I may need help in
>> this.*
>> Regards,
>> Sammy
>>
>> On Mon, Jun 11, 2012 at 5:15 PM, Juha Heinanen <jh at tutpro.com> wrote:
>>
>>> SamyGo writes:
>>>
>>> > Really appreciate that. Would you please like to contribute the whole
>>> > procedure so that everyone knows whats happening here !!
>>>
>>> i'm not able write a tutorial on how to setup and use
>>> heartbeat/pacemaker.  virtual-ip and sip-proxy could be configured
>>> something like this (i haven't tested it):
>>>
>>> primitive virtual-ip ocf:heartbeat:IPaddr2 params ip=192.75.101.10
>>> broadcast=192.75.101.255 cidr_netmask=24 op monitor interval=15s
>>>
>>> primitive sip-proxy lsb:sip-proxy op monitor interval=15s timeout=15s
>>> start-delay=60s
>>>
>>> order virtual-ip-before-sip-proxy mandatory: virtual-ip:start sip-proxy
>>>
>>> colocation sip-proxy-on-virtual-ip inf: sip-proxy virtual-ip
>>>
>>> -- juha
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120612/63de7510/attachment-0001.htm>


More information about the sr-users mailing list