[SR-Users] Load balance on HA scenario

Alex Balashov abalashov at evaristesys.com
Tue Oct 13 06:49:19 CEST 2020


How useful that Kamailio can now do this independently!

On 10/13/20 12:48 AM, Sergey Safarov wrote:
> Are you looking   ip_free_bind = 1?
> https://www.kamailio.org/wiki/cookbooks/5.4.x/core
> 
> On Mon, Oct 12, 2020 at 5:34 PM Duarte Rocha <duarterocha91 at gmail.com 
> <mailto:duarterocha91 at gmail.com>> wrote:
> 
>     Greetings,
> 
>     I have two machines with Kamailio in a HA setup with replicated DB.
>     For simplicity let's say each machine has one HA IP and that IP can
>     jump to the other machine in case something happens (kamailio
>     stopping, etc).
> 
>     I'm using Dispatcher with load balance configuration. I have
>     Dispatcher configured so that each peer has one instance for socket
>     with HA IP 1 and HA IP 2.
> 
>     In order for this to work correctly on the load balance scenario I
>     must disable via RPC command the peer which has the socket that
>     doesn't belong to the machine. I also must do it every time the IP
>     jumps back and forth, which adds complexety to my system.
> 
>     Does Dispatcher has any sort of help on this? It could not include
>     peers with sockets IPs that don't belong to the machine in the
>     destination set, for example. Is this possible?
> 
>     I could also work with failover support but i would rather avoid
>     having so many failovers.
> 
>     Best Regards,A
>     _______________________________________________
>     Kamailio (SER) - Users Mailing List
>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list