[OpenSIPS-Users] keepalived for HA OpenSIPS

Mario Stocco cfmxpro at gmail.com
Mon Mar 15 00:11:14 CET 2010


Gavin,

OpenSIPS works as well as any other service managed by HA (heartbeat).  
A typical /etc/ha.d/ha.cnf file may look like this:

logfile /var/log/ha-log
logfacility local0
keepalive 2
warntime 4
deadtime 8
initdead 120
bcast eth0
udpport 694
auto_failback on
node opensips-1
node opensips-2

Mario Stocco
http://advantia.ca


On 14-Mar-10, at 3:00 PM, Gavin Henry wrote:

> Hi,
>
> When using OpenSIPS and the load balancer module your SPOF is still
> OpenSIPS. Have others had success with keepalived looking after two
> OpenSIPS servers?
>
> We have OpenSIPS in front of a cluster of Asterisk boxes for a
> customer and the same setup in a different data center. We'd like to
> put a keepalived in front of both OpenSIPS servers, i.e. in front of
> both datacentres. But then that leaves a SPOF with the keepalived
> server. We could have backup server of that two (both data centers
> have real time replication between them also).
>
> What are the best practices you recommend here?
>
> Thanks,
>
> Gavin.
>
> -- 
> http://www.suretecsystems.com/services/openldap/
> http://www.suretectelecom.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list