Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, Klaus Darilion wrote: > Am 02.02.2011 15:24, schrieb Alex Hermann: > > On Wednesday 02 February 2011, you wrote: > >> Alex, what happens if one server is down. There will be lots of > >> "replication transactions" which will timeout. Can this cause any > >> problems i

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Klaus Darilion
Am 02.02.2011 15:24, schrieb Alex Hermann: > On Wednesday 02 February 2011, you wrote: >> Am 27.01.2011 13:05, schrieb Alex Hermann: >>> On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: > I've read some difficulty in the synchronisation of regis

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, you wrote: > Am 27.01.2011 13:05, schrieb Alex Hermann: > > On Thursday 27 January 2011, Klaus Darilion wrote: > >> Am 27.01.2011 11:21, schrieb Danny Dias: > >>> I've read some difficulty in the synchronisation of registrations > >>> because Kamailio works best when

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: > On Thursday 27 January 2011, Klaus Darilion wrote: >> Am 27.01.2011 11:21, schrieb Danny Dias: >>> I've read some difficulty in the synchronisation of registrations because >>> Kamailio works best when it stores registrations in memory and >>> registra

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread marius zbihlei
On 02/02/2011 12:20 PM, Danny Dias wrote: Hello, I was thinking that if i store the contacts that are registered into my proxy in a database, like this: . . # - usrloc params - modparam("usrloc", "db_mode", 3) . . if (is_method("REGISTER")) { if (!save("location"))

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Bernhard Suttner
Would be possible. Have a look at DRBD! Von: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] Im Auftrag von Danny Dias Gesendet: Mittwoch, 2. Februar 2011 11:20 An: kamailio Betreff: Re: [SR-Users] Redundancy between 2 Kamailio servers Hello, I was

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Danny Dias
Hello, I was thinking that if i store the contacts that are registered into my proxy in a database, like this: . . # - usrloc params - modparam("usrloc", "db_mode", 3) . . if (is_method("REGISTER")) { if (!save("location")) sl_reply_error(); exit; } . . This

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Danny Dias : >> Two Kamailios in a HeartBeat cluster which manages the kamailio >> service along with a virtual IP in which kamailios are supposed to >> listen. Just one kamailio is running (HA manages them). >> > > So, the heartbeat cluster shall manage that both are ok and also check th

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Thanks Iñaki, 2011/1/27 Iñaki Baz Castillo > 2011/1/27 Danny Dias : > > Do you mean that both Kamailio-1 and Kamailio-2 will be as primary > server? > > and the clients will register in the 2 machines? and also they will bind > to > > the ip of the HA? sorry my friend but i do not understand ver

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Danny Dias : > Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server? > and the clients will register in the 2 machines? and also they will bind to > the ip of the HA? sorry my friend but i do not understand very well, i'm > quite new with redundant systems, could you

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Klaus Darilion : > Is it possible to bind Kamailio to an IP address which is not active? > (e.g. start Kamailio on the backup server) Yes, it depends on a sysctl option of the kernel (I don't remember the name, sorry). With such option set you can make a server to listen in a IP which do

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
On Thursday 27 January 2011 17:18:22 Danny Dias wrote: > Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server? > and the clients will register in the 2 machines? and also they will bind to > the ip of the HA? sorry my friend but i do not understand very well, i'm > quite new wi

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server? and the clients will register in the 2 machines? and also they will bind to the ip of the HA? sorry my friend but i do not understand very well, i'm quite new with redundant systems, could you please explain a little please?

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
On Thursday 27 January 2011, Klaus Darilion wrote: > Alex, do you also do NAT keep-alive from the proxies? If yes, are you > sending them from both servers at the same time? No, we require clients to sent nat-keepalives. It is much more efficient. In addition, the registrars are not directly acce

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: > On Thursday 27 January 2011, Klaus Darilion wrote: >> > Am 27.01.2011 11:21, schrieb Danny Dias: >>> > > I've read some difficulty in the synchronisation of registrations >>> > > because >>> > > Kamailio works best when it stores registrations in memo

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread marius zbihlei
On 01/27/2011 04:15 PM, Danny Dias wrote: Thanks Alex... 2011/1/27 Alex Hermann mailto:a...@speakup.nl>> On Thursday 27 January 2011, Klaus Darilion wrote: > Am 27.01.2011 11:21, schrieb Danny Dias: > > I've read some difficulty in the synchronisation of registrations because

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Bernhard Suttner
Darilion Gesendet: Donnerstag, 27. Januar 2011 15:18 An: Alex Hermann Cc: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] Redundancy between 2 Kamailio servers Am 27.01.2011 13:05, schrieb Alex Hermann: >> > Yes - the problem with SIP based replication is that both proxies must >&g

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: >> > Yes - the problem with SIP based replication is that both proxies must >> > be running. This is a problem as Kamailio binds to the virtual IP at >> > start up - thus adding the virtual IP address to the backup server does >> > not make Backup-Kamail

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Thanks Alex... 2011/1/27 Alex Hermann > On Thursday 27 January 2011, Klaus Darilion wrote: > > Am 27.01.2011 11:21, schrieb Danny Dias: > > > I've read some difficulty in the synchronisation of registrations > because > > > Kamailio works best when it stores registrations in memory and > > > reg

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
On Thursday 27 January 2011, Klaus Darilion wrote: > Am 27.01.2011 11:21, schrieb Danny Dias: > > I've read some difficulty in the synchronisation of registrations because > > Kamailio works best when it stores registrations in memory and > > registrations are constantly changing - they expire and

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 11:21, schrieb Danny Dias: > Hello my friends, > > I wonder if someone has done this before? i would like to implement 2 > Kamailio servers with redundancy, something like the following: > > SERVER_A is working as the primary sip proxy (virtual IP as the sip > signaling), if it fa

[SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Hello my friends, I wonder if someone has done this before? i would like to implement 2 Kamailio servers with redundancy, something like the following: SERVER_A is working as the primary sip proxy (virtual IP as the sip signaling), if it fails, the other server (sleeping) should UP the virtual IP