Hi Rajib, i'm using mon.d which runs sipsak every 15 seconds to send an sip OPTIONS to local host, if no reply then mon.d shutsdown heartbeat e voila :D
Regards, Erik Op 6-5-2010 10:45, Bogdan-Andrei Iancu schreef: > Hi, > > try using any software specialized in monitoring or testing applications > (monit, nagios, sipsak, etc) to detect the failure of opensips service > and to trigger heartbeat switching. > > Regards, > Bogdan > > rajib deka wrote: >> Hi Bogdan, >> >> I have seen that heartbeat is supporting box level failure but not >> service level failure. Means if the box itself is down heartbeat will >> activate the VIP of back up server, but if OpenSIPS service is down >> heartbeat will not activate backup VIP. I have checked with ldirectord >> also but I am not getting any good result. Is there anyway to handle >> this service level failure ? Please let me know as we have implemented >> OpenSIPS as our core routing agent for the whole enterprise. >> >> Regards >> Rajib >> >> On Wed, May 5, 2010 at 2:07 PM, rajib deka <[email protected] >> <mailto:[email protected]>> wrote: >> >> Thanks Bogdan. I am trying to achieve the same using hearbeat and >> almost done. >> >> Regards >> Rajib >> >> On Wed, May 5, 2010 at 2:03 PM, Bogdan-Andrei Iancu >> <[email protected] <mailto:[email protected]>> wrote: >> >> Hi Rajib, >> >> OpenSIPS does not have anything builtin for HA - this is >> something you >> achieve using other software (like vrrp, heartbeat, etc). But >> OpenSIPS >> provides some mechanism for syncronizing the active and the backup >> instance -> a way of replicating data : like t_replicate() >> function in >> TM module that you can use for replicating REGISTERs to the >> backup. >> >> Regards, >> Bogdan >> >> rajib deka wrote: >> > Hi List, >> > >> > Cn some some please explain me how OpenSIPS supports HA and >> > redundancy? I have not found anything on this on the site. I >> have an >> > implementation with virtual ip for HA and its working fine. >> I just >> > want to know is there any internal module or configuration with >> > OpenSIPS using which we can achieve HA and redundancy. >> > >> > -- >> > Rajib Deka >> > Software Engineer >> > Servion Global Solution >> > Chennai, India >> > >> > Mobile No: + 91 80157 09130 >> > >> >> ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] <mailto:[email protected]> >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> >> >> -- >> Bogdan-Andrei Iancu >> www.voice-system.ro <http://www.voice-system.ro/> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] <mailto:[email protected]> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> >> -- >> Rajib Deka >> Software Engineer >> Servion Global Solution >> Chennai, India >> >> Mobile No: + 91 80157 09130 >> >> >> >> >> -- >> Rajib Deka >> Software Engineer >> Servion Global Solution >> Chennai, India >> >> Mobile No: + 91 80157 09130 >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
