Re: [SR-Users] Kamailio Active / Active HA.

2015-01-05 Thread Ben Langfeld
On 30 December 2014 at 22:49, Måns Nilsson wrote: > Subject: Re: [SR-Users] Kamailio Active / Active HA. Date: Mon, Dec 29, > 2014 at 11:13:34AM + Quoting Ben Langfeld (b...@langfeld.co.uk): > > > Just a word of caution here, there are several SIP stacks which don't &g

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-30 Thread Måns Nilsson
Subject: Re: [SR-Users] Kamailio Active / Active HA. Date: Mon, Dec 29, 2014 at 11:13:34AM + Quoting Ben Langfeld (b...@langfeld.co.uk): > Just a word of caution here, there are several SIP stacks which don't > handle SRV lookups correctly. I don't mean to discourage yo

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Carsten Bock
Hi Mahmoud, maybe no-one answered, since it is holiday season and we don't have guaranteed response times for an open-source mailinglist? Everybody does community work beside their regular job for free... You basically need to share a database between the two. There is not "the one-and-only" way

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Mahmoud Ramadan Ali
Hi Dears, Nobody answered my simple question yet ! what are the prerequisites that i need prior to using the db_mode = 1 dialog parameter to synchronize the dialogs between the two servers ? Do i need to configure Mysql DB Master / Master replication or use only the DB_Cluster module http://kamaili

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Ben Langfeld
Good point. Mobicents is on my list of projects to which I'm due to contribute something. I'll get on it shortly. On 29 December 2014 at 11:26, Carsten Bock wrote: > Hi Ben, > > that's absolutely for sure! It took us ~2 years to get the DNS-SRV > implementation of major DSL-Modem-Manufacturer ri

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Carsten Bock
Hi Ben, that's absolutely for sure! It took us ~2 years to get the DNS-SRV implementation of major DSL-Modem-Manufacturer right ;-) Nevertheless, it's the way to go for redundancy. And since Mobicents is open-source, we can probably simply provide a patch to fix it :-) Kind regards, Carsten 2014

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Olle E. Johansson
On 29 Dec 2014, at 12:13, Ben Langfeld wrote: > On 27 December 2014 at 23:44, Carsten Bock wrote: > Hi Mahmoud, > > Thy typical way, to build a Active/Active setup is by using DNS-SRV > records. The two servers get different IPs and you announce both IPs > using DNS to the devices. Most common

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-29 Thread Ben Langfeld
On 27 December 2014 at 23:44, Carsten Bock wrote: > Hi Mahmoud, > > Thy typical way, to build a Active/Active setup is by using DNS-SRV > records. The two servers get different IPs and you announce both IPs > using DNS to the devices. Most common User-Agents support this > nowadays, so that's kin

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Mahmoud Ramadan Ali
Hi Carsten and Olle, I need some clarification regarding to the servers DB on the cluster please.Do i need to configure MySQL DB replication and use that module http://kamailio.org/docs/modules/4.1.x/modules/db_cluster.html to make the servers use both of the DBs for read and write operations as a

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Olle E. Johansson
On 28 Dec 2014, at 09:25, Mahmoud Ramadan Ali wrote: > In addition, you can work with virtual IPs with Heartbeat/Pacemaker. Carsten is completely right, the primary alternative is using DNS SRV records for load balancing and failover. The only issue is if you have NAT clients that lock to a

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Mahmoud Ramadan Ali
Thank you Carsten... Very useful information, i will try this and contact the mailing list if i have issues. On Sun, Dec 28, 2014 at 1:44 AM, Carsten Bock wrote: > Hi Mahmoud, > > Thy typical way, to build a Active/Active setup is by using DNS-SRV > records. The two servers get different IPs an

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-27 Thread Carsten Bock
Hi Mahmoud, Thy typical way, to build a Active/Active setup is by using DNS-SRV records. The two servers get different IPs and you announce both IPs using DNS to the devices. Most common User-Agents support this nowadays, so that's kind of easy. It is specified in RFC3263: "Locating SIP-Servers" (

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-26 Thread Mahmoud Ramadan Ali
Hi Adul No thing special.It is a normal virtual IP configuration using heartbeat and pacemaker.Check this http://opentodo.net/2012/04/configuring-a-failover-cluster-with-heartbeat-pacemaker/ for more Info. On Fri, Dec 26, 2014 at 8:22 PM, Abdul Gafar wrote: > Hi Mahmoud > > Please share your con

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-26 Thread Abdul Gafar
Hi Mahmoud Please share your configuration //Gafar On Sat, Dec 27, 2014 at 1:07 AM, Mahmoud Ramadan Ali < cisco.and.more.b...@gmail.com> wrote: > Hi Dears, > I have successfully configured Kamailio HA using Heartbeat and Pacemaker > so if one of the two servers should go down the other server w

[SR-Users] Kamailio Active / Active HA.

2014-12-26 Thread Mahmoud Ramadan Ali
Hi Dears, I have successfully configured Kamailio HA using Heartbeat and Pacemaker so if one of the two servers should go down the other server will own the virtual IP address and take over. But i have two questions: 1.This model is considered to be Active / Passive redundancy so one server will p