Hi Kumar, its been a while since I have looked at this and most of my notes
are on my desk at work :-), but I think you need to enable one packet
scheduling to get the sip call id persistence to work.
Try doing -
ipvsadm -A -u 10.4.3.192:5060 -p 60 -M 0.0.0.0 -o --pe sip
Also quite a handy thing to do (I dont know if you are aware of this
already) but if you run
ipvsadm -Lcn --persistent-conn it will show you the persistence table along
with the callid that lvs has detected it can be quite handy to make sure
that each call has a unique call id.
e.g.
# ipvsadm -Lcn --persistent-conn
UDP 00:38 UDP 10.4.3.0:0 10.4.3.192:5060 127.0.0.1:5060
sip 193373839
Mark
On 29 December 2011 11:34, Kumar Swamy <kswamy@xxxxxxxxxxxxx> wrote:
>
> Hi,
> I have configured servers 10.11.20.31 and 10.11.20.32 as part of a SIP
> service 10.11.20.117 in direct server return mode. Here is the output of
> "ipvsadm-save -n" command output.
>
> -A -u 10.11.20.117:5060 -s wrr -p 1 -M 0.0.0.0 pe sip
> -a -u 10.11.20.117:5060 -r 10.11.20.31:5060 -g -w 100
> -a -u 10.11.20.117:5060 -r 10.11.20.32:5060 -g -w 100
>
> I am using sipp as client to make the SIP Calls to VIP ip 10.11.20.117, I
> see that all the calls are forwarded to only one server, say 10.11.20.31.
>
> ./sipp -sn uac -i 10.11.20.2 -t u1 10.11.20.11
> Here my client uses same src port and all the calls are connected with
> only one server despite each call has different caller ID.
> Is this correct?. Can we load balance the calls from same client across
> all servers using caller ID?
>
> Thanks
>
> 'Like' us on Facebook for exclusive content and other resources on all
> Barracuda Networks solutions.
> Visit http://barracudanetworks.com/facebook
>
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|