Well, as for me, the load balancer stands there to hide from the
individual clients the topology of the core network and to spread evenly
the load between them. I know nothing at all about OpenSips LB in
particular, but a normal SBC does not need to know the individual user
accounts in advance - when it sees the first REGISTER, it chooses the
right core machine according to its load distribution rules, and
remembers that assignment if the REGISTER is successful. And if an
INVITE comes from the same user, it re-uses the association. If we talk
about "trunk" peers which do not register, then the core machine is
chosen individually for each new dialog (on UDP) or each new TCP session
(on TCP).
So in your example scenario, I would run a single UAC scenario talking
to the LB, and as many UAS scenarios as you have proxies. In case of two
core machines and even call distribution and UDP, you should end up with
2 N calls at the UAC and N calls at each UAS. With TCP, all the UAC
calls may end at the same UAS if the "single-TCP-session-for-all-calls"
mode is used at UAC SIPp side, or again 1:1 share on both UAS if
"new-TCP-session-for-each-call" mode is used.
P.
Dne 15.1.2018 v 18:24 Mayur Koshal napsal(a):
Hi All,
I am using sipp to run performance of the Opensips proxy server.
My setup is as :
*
UAC(192.168.100.19:5065)------Opensips Proxy
Server(192.168.100.187:5060)--------UAS(192.168.100.187:5080
<http://192.168.100.187:5080>)
*
I have registered a user Mayur@192.168.100.187:5080
<http://Mayur@192.168.100.187:5080> in the Opensips using
./opensipsctl ul add command.
UAC command : ./sipp -sf uac.xml 192.168.100.187:5060
<http://192.168.100.187:5060> -s Mayur -i 192.168.100.19 -p 5065 -m 10
UAS command : ./sipp -sf uas.xml -rsa 192.168.100.187:5060
<http://192.168.100.187:5060> -i 192.168.100.187 -p 5080 -m 10
I have been able to successfully run the setup and test the
performance of opensips.(Thanks to Pavel for resolving the issues
which I faced.)
*Now I have introduced a load balancer in between UAC and Opensips
proxy server like :*
*UAC(192.168.100.19:5065 <http://192.168.100.19:5065>) ---- Opensips
LB(192.168.100.19:5060)--------
------ Opensips Proxy
Server(192.168.100.187:5060)--------UAS(192.168.100.187:5080
<http://192.168.100.187:5080>)*
The load balancer forwards the incoming request to the proxy server as
it is configured in the load balancer table.
*My Ques are :
1) Should I add the user in the load balancer or Opensips Proxy server ?
2) How will the UAC and UAS commands look like in this case of load
balancing. I am somehow not able to figure out.
Request your help and suggestion for the sipp configuration to be used
for testing the load balancer setup. I have tried some but did
not succeed.*
Thanks
Regards
Mayur
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users