Try to set this option to bind to an non existing ip:
net.ipv4.ip_nonlocal_bind = 1
does work for SSH and thefore should also work with kamailio
-----Ursprüngliche Nachricht-----
Von: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
Im Auftrag von Klaus Darilion
Gesendet: Donnerstag, 27. Januar 2011 15:18
An: Alex Hermann
Cc: sr-users(a)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
> 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-Kamailio listening to the new IP address - you would
> have to restart the backup Kamailio.
Just bind kamailio to the HA IP on both
servers and do REGISTER replication
between the two (on SIP level). Then if the IP migrates to the other server,
it will take over the rgistrar function with no loss of records. No restart
needed.
Is it possible to bind Kamailio to an IP address which is not active?
(e.g. start Kamailio on the backup server)
klaus
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users