Re: [SR-Users] High availability

2016-06-08 Thread Moacir Ferreira
are accessing the very same database? Please consider that in a MySQL cluster only one client at time has permission to write the same record. Cheers! Moacir From: chabert.loic...@gmail.com Date: Wed, 8 Jun 2016 09:45:15 +0200 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] High availability

Re: [SR-Users] High availability

2016-06-08 Thread Loic Chabert
ilio writing in > the database and a second "live" Kamailio using the same database but not > receiving any connection/request. Would this jeopardize the way Kamailio > works? > > Cheers, > Moacir > > -- > To: sr-users@lists.sip-r

Re: [SR-Users] High availability

2016-06-07 Thread Moacir Ferreira
Cheers, Moacir To: sr-users@lists.sip-router.org From: mico...@gmail.com Date: Tue, 7 Jun 2016 09:01:23 +0200 Subject: Re: [SR-Users] High availability Just to mention that ucarp can be a very basic alternative to corosync/pacemaker to manage the virtual ip. A simple app, b

Re: [SR-Users] High availability

2016-06-07 Thread Daniel-Constantin Mierla
to this new Kamailio instance >> would be enough to allow it find the called party? >> >> Anyway, can you guys comment on my "thoughts"? Is it possible? Am I >> missing something? Would you suggest another approach for such scenario? >> >> Cheers! >

Re: [SR-Users] High availability

2016-06-06 Thread Daniel-Constantin Mierla
Hello, a bit curious about this one ... Are you in control at low level of the infrastructure (e.g., leased pipes between data centers)? I expect that is needed to change the routes for IP addresses in real time ... Cheers, Daniel On 05/06/16 21:07, Loic Chabert wrote: > > Hello Bill, > > I ha

Re: [SR-Users] High availability

2016-06-06 Thread Daniel W. Graham
+1 for corosync/pacemaker with drbd or a flavor of master/master replication -dan From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Fred Posner Sent: Sunday, June 5, 2016 8:22 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] High availability If it&#

Re: [SR-Users] High availability

2016-06-06 Thread Moacir Ferreira
I thank you all for the feedback. Now it is time to pick one or two given advices and do some testing. Cheers! Moacir From: gr.sab...@gmail.com Date: Mon, 6 Jun 2016 12:38:23 +0430 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] High availability For Kamailio high availability you

Re: [SR-Users] High availability

2016-06-06 Thread Gholamreza Sabery
sage - > > *From:* Moacir Ferreira > *To:* Kamailio Mail List > *Sent:* Sunday, June 05, 2016 10:26 PM > *Subject:* Re: [SR-Users] High availability > > Hi, > > Sorry... I should have mentioned before. You guys are thinking on the > standard Internet SIP calls&#

Re: [SR-Users] High availability

2016-06-06 Thread mark
- Original Message - From: Moacir Ferreira To: Kamailio Mail List Sent: Sunday, June 05, 2016 10:26 PM Subject: Re: [SR-Users] High availability Hi, Sorry... I should have mentioned before. You guys are thinking on the standard Internet SIP calls' behavior while I am t

Re: [SR-Users] High availability

2016-06-05 Thread Juha Heinanen
Fred Posner writes: > If it's just 2 servers, consider as Juha said, corosync/pacemaker with > drbd. Yes, and if you prefer to use mysql master-master replication instead of drbd, you can still use corosync/pacemaker for active/passive kamailio sip proxy that share the same virtual ip address. U

Re: [SR-Users] High availability

2016-06-05 Thread SamyGo
called party? > > Anyway, can you guys comment on my "thoughts"? Is it possible? Am I > missing something? Would you suggest another approach for such scenario? > > Cheers! > Moacir > > -- > Date: Sun, 5 Jun 2016 21:07:41 +0200 > From:

Re: [SR-Users] High availability

2016-06-05 Thread Fred Posner
> Anyway, can you guys comment on my "thoughts"? Is it possible? Am I missing > something? Would you suggest another approach for such scenario? > > Cheers! > Moacir > > Date: Sun, 5 Jun 2016 21:07:41 +0200 > From: chabert.loic...@gmail.com > To: sr-users@li

Re: [SR-Users] High availability

2016-06-05 Thread Moacir Ferreira
sible? Am I missing something? Would you suggest another approach for such scenario? Cheers! Moacir Date: Sun, 5 Jun 2016 21:07:41 +0200 From: chabert.loic...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] High availability Hello Bill, I have made kamailio ha using exabgp w

Re: [SR-Users] High availability

2016-06-05 Thread Loic Chabert
Hello Bill, I have made kamailio ha using exabgp with loopbacks. Check https://github.com/Exa-Networks/exabgp With bgp, kamailio cluster can be splited on severals datacenters. Regards. Le 5 juin 2016 20:53, "Bill" a écrit : > Hi Moacir > > We have only found three ways to handle failover. >

Re: [SR-Users] High availability

2016-06-05 Thread Bill
Hi Moacir We have only found three ways to handle failover. 1. Change the DNS entry whenever a failure is detected. 2. Use SRV records to display an alternate route. 3. Use the failover mechanism in the phone itself 1. works, but it may take some time for your ua's to become aware of the change

Re: [SR-Users] High availability

2016-06-05 Thread Bill
Hi Moacir We have only found three ways to handle failover. 1. Change the DNS entry whenever a failure is detected. 2. Use SRV records to display an alternate route. 3. Use the failover mechanism in the phone itself 1. works, but it may take some time for your ua's to become aware of the change

Re: [SR-Users] High availability

2016-06-05 Thread Juha Heinanen
Alberto Sagredo writes: > 1.- Take a look to keepalived.org Another possibility is to use corosync/pacemaker. I think someone wrote a tutorial about it. -- Juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@list

Re: [SR-Users] High availability

2016-06-05 Thread Alberto Sagredo
HI Moacir 1.- Take a look to keepalived.org 2.- LCR Module or dispatcher could do what you look for Best Regards 2016-06-05 16:41 GMT+02:00 Moacir Ferreira : > Hi, > > I got two questions regarding high availability: > > 1 - Should my Kamailio server fail, I would like another Kamailio > "box/

[SR-Users] High availability

2016-06-05 Thread Moacir Ferreira
Hi, I got two questions regarding high availability: 1 - Should my Kamailio server fail, I would like another Kamailio "box/server" to take over with minimum services disruption. What is the "community" advice for such environment? 2 - Should my main PSTN gateway fail, what would be the best m

Re: [SR-Users] High availability

2013-03-12 Thread Daniel W. Graham
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Moacir Ferreira Sent: Tuesday, March 12, 2013 2:36 PM To: Kamailio Mail List Subject: Re: [SR-Users] High availability The limitation is when the client phone is not srv aware. But anyway, for sure this would be the best solution. So, if I

Re: [SR-Users] High availability

2013-03-12 Thread Moacir Ferreira
srv record? Just by having access to the same SQL database will server B be able to call (locate) a client that was registered initially on server A? Thanks, MoacirFrom: davy.van.de.mo...@gmail.com Date: Tue, 12 Mar 2013 10:34:58 +0100 To: sr-users@lists.sip-router.org Subject: Re: [SR-U

Re: [SR-Users] High availability

2013-03-12 Thread davy van de moere
Use multiple kamailio's, access them over sip-srv (that will give you high availability) , and checkout cassandra if you need db-connectivity ;) That should be imho the simplest and oh boy efficient :) On 12 Mar 2013, at 10:29, Moacir Ferreira wrote: > Hi, > > What would be the community's a

[SR-Users] High availability

2013-03-12 Thread Moacir Ferreira
Hi, What would be the community's architecture advice for deploying Kamailio in a high availability environment? I am looking for something simple, still efficient. Thanks, ___ SIP Express Router (SER) and Kama

Re: [SR-Users] High availability design with Kamailio

2012-06-12 Thread SamyGo
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 wrote: > Hi again, > > Some progress.. I have configured heartbeat and with the crm option to set > kamailio as res

Re: [SR-Users] High availability design with Kamailio

2012-06-12 Thread SamyGo
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 ! b

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread SamyGo
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 wrote: > SamyGo writes: > > > Really appreciate that. Would you please like to

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread Juha Heinanen
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

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread SamyGo
Thanks Juha :) Really appreciate that. Would you please like to contribute the whole procedure so that everyone knows whats happening here !! As soon as I finish with this one *successfully* I will write about it in my blog, so anything that leads to its successful implementation would benefit alo

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread Juha Heinanen
SamyGo writes: > Thats just my suggestion, I am trying to setup a clustered service and > still no luck. Only heartbeat works which is pretty basic, anything on top > of heartbeat to make it application level redundant (active/passive OR > active/active) like OCF resources and their documentation

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread SamyGo
Sir , I always do a thorough searching through the user's mailing list here., and I know I still find it difficult thinking about creating a cluster of Kamailio servers. If only there could be basic instructions and specially role of new version modules(may be *dmq*) to create a telco-grade impleme

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread Daniel-Constantin Mierla
Hello, the wiki is open for everyone to contribute: * http://www.kamailio.org/wiki/ You need to make yourself an account, the anonymous posting based on CAPTCHA was disabled due to spam bots easily breaking CAPTCHA system and posting spam. If someone takes the time to search a bit through

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread SamyGo
Hi, I personally think that there needs to be an official wiki page giving details about a basic redundant/HA server setup. A lot of people need this on regular basis. So I request forum members and contributors to share their guidelines on this. Thanks, Sammy Go. On Mon, Jun 11, 2012 at 3:32 PM

Re: [SR-Users] High availability design with Kamailio

2012-06-11 Thread Carsten Bock
Hi Carel, this is a rather complex question with no simple yes or no answer. You can use the dialog module with no "in-memory" storage of dialog data and leave it to the database to do the replication. I think postgres has Multi-Master Replication, i am not sure about MySQL. At a major german telc

[SR-Users] High availability design with Kamailio

2012-06-05 Thread Reinhard, Carel (GD)
Dear all, hope to get some information from you guys! For a redundant service we have to build up SIP proxy/registrar server in a high available scenario. Therefore, we will have 2 SIP proxy/registrar on two completely independent servers. They should be SIP dialog stateful and replicate all th

Re: [SR-Users] High Availability for ongoing calls

2012-02-07 Thread Mariana Arduini
Yeah, I'm using OpenSIPS. I've be searching for this exhaustively for the last week in all OpenSIPS docs and development lists I could find in the OpenSIPS website and on the Internet, and also a bunch of HA projects related to SIP servers in general (not related to OpenSIPS or Kamailio) which poi

Re: [SR-Users] High Availability for ongoing calls

2012-02-06 Thread Edson - Lists
Err Are You sure You send this message to the right list? I don't know about OpenSIPS Dialog module, but am almost sure there are diferences with KAMAILIO module... please check the documentation for KAMAILIO Dialog module in http://sip-router.org/docbook/sip-router/branch/master/modules_k

[SR-Users] High Availability for ongoing calls

2012-02-06 Thread Mariana Arduini
Hi guys! I'm facing some problems with dialog information while trying to implement a HA environment. We have 2 clustered SIP servers working as a Active/Standby failover and the use of a Virtual IP address. We want to make sure that if proxy #1 goes down during a call, proxy #2 would be able to ha