[OpenSIPS-Users] I have a query regarding loadbalance of opensips .

Sasmita Panda spanda at 3clogic.com
Tue Jul 25 07:53:45 EDT 2017


Is there any way opensips nodes will be connected in TCP ? If what I am
expecting is not possible then I will leave this .

Then my question is whats the use of opensips cluster using same DB ? In
which scenarion I can use this . I just want a cluster of opensips node
sharing a single DB . How can I achieve this ?


*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Tue, Jul 25, 2017 at 5:18 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Sasmita,
>
> There is an incompatibility between your opensips cluster design and your
> network topology. If the end device is TCP connected to one Node, and it is
> not able (due network constraints) to receive TCP connections from any
> other Node, it makes no sense to share the registration data between the
> OpenSIPS Nodes as only the Node that received the registration will be able
> to reach back the device (again, due network constraints)
>
> Best regards,
>
> Bogdan-Andrei Iancu
>   OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
>
> OpenSIPS Bootcamp 2017, Houston, US
>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>
> On 07/24/2017 03:24 PM, Sasmita Panda wrote:
>
> Hi  All ,
>
>       I wanted to use a single DB against 2 or more registrar server .
>
>  Below is my requirement :
>
>  Opensips1 (x.x.x.x) -> DB
>  Opensips2 (x.x.x.y) -> DB
>
>        DB is in different machine and both opensips servers are accessing
> the same DB .  Opensips is running on Db only mode . db_mode: 3 .
>
>
> I had mapped a domain in route53 ex. " loadbalance.i3clogic.com " and
> against this domain I have added both the IPs of opensips1 and 2 as SRV .
>
>          I have added this domain in my opensips config file as aslias in
> both the config files  .
>
>        what my client do is , it does SRV query in the domain and resolve
> 1 Ip at a time and send requests to that .
>
> example :
> A-> SRV query( resolve Ip opensips1)  -> sent Register Opensips1 -> store
> in DB
>      This can change in ttl expire or in re-login of A . A is making TCP
> connection with opensips .
>
> when an Invite comes for A  to opensips2 , that send 477 send fail .
>
> B -> Inv (TCP connection for A ) Opensips2
>
>       Opensips2 replys with 477 send fail to B . The reason behind this is
> A is registered through Opensips1 .
>
> This is what I want and the problem I am facing . My questing is how can I
> solve this . I dont want to add any proxy in between client and opensips1/2
> . Is there any way this will work for me ?
>
>
>
>
>
>
>
>
>
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170725/e9c2ef91/attachment.html>


More information about the Users mailing list