LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS 4 SIP setup help needed‏

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS 4 SIP setup help needed‏
From: Ashi Aber <ariaber@xxxxxxxxxxx>
Date: Wed, 2 Sep 2009 15:23:42 +0000

Hi,
We finished testing LVS with a SIP simulator (sipp) now we started integrating 
LVS with a SIP application server.
We used WebLogic SIP server.
Ldirecotrd's default SIP header didn't work with WebLogic,  WebLogic sent the 
200 OK reply to the wrong port.

I updated the SIP "Via" header line to fix the problem:



]# diff ldirectord ldirectord.org 

3022c3021,3022

<
                           
"Via: SIP/2.0/UDP $sip_s_addr_str;rport;branch=z9hG4bKhjhs8ass877\r\n" .

---

>
                           
"Via: SIP/2.0/UDP $sip_s_addr_str:$sip_s_port;" .

>
                                           
"branch=z9hG4bKhjhs8ass877\r\n" .
You may want to add this change to the SIP howto. 

Heartbeat loopback interface lost:
During our tests I noticed that after I restart heartbeat ifconfig loses the 
loopback interface we setup for IP aliase.I can see the loopback interface when 
I use the "ip add show" command but ifconfig no longer shows the loopback 
interface.Is this a problem or is ifconfig confused?
Asher




From: ariaber@xxxxxxxxxxx
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: LVS 4 SIP setup help needed‏
Date: Tue, 18 Aug 2009 06:18:10 +0000








Hi,


In fact I did read the SIP how-to before I send my email.

My SIP source distributes the traffic evenly per IP and port
pairs.

The SIP source is also aware of the SIP call ID so I don’t
need SIP call ID stickiness.

My main issue is the failback that doesn’t restore after the SIP service is
restored.

The balancing didn't work evenly when I used the wrr so I setup sh or dh.

Do the weight settings apply to sh and dh or only to wrr and
wlc? 

Why is the default UDP timeout set to 300?

# ipvsadm -L --timeout

 Timeout (tcp tcpfin
udp): 900 120 300

Does the load balancing mechanism direct traffic by IP only or
by IP & port paired?

 

Thx for your help,

 

Asher




On Sun, 16 Aug 2009, Ashi Aber wrote:

> Need to balance SIP from a 
single source to two clustered servers.

have you read the LVS-HOWTO about 
SIP?

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North 
Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator 
at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's 
GNU/Linux!





What can you do with the new Windows Live? Find out
_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx
_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>