Application Delivery (ADX)

Reply
Contributor
Posts: 24
Registered: ‎11-13-2009

Need serveriron xl - sip load balancing manuals ?

Hi Everyone !

Does any one have any white papers or manuals for load balancing SIP server using serveriron XL ? I am trying to configure load balancing on a serveriron xl and have following configuration , which is not working   !!! :_

server port 5061
tcp

server port 5060
tcp

server port 4040
tcp

server port 9876
tcp

server real foundry_dialer01 10.5.106.14
port 5060
port 5061
port 4040
port 9876

!

server real foundry_dialer02 10.5.106.17

backup
  port 5060
  port 5061
  port 4040
  port 9876

!

server virtual vip-foundry-tsdialer 10.5.106.150
port 5060
port 5060 stateless
port 5060 lb-pri-servers backup-stay-active
port 5061
port 5061 stateless
port 5061 lb-pri-servers backup-stay-active
port 4040
port 4040 stateless
port 4040 lb-pri-servers backup-stay-active
port 9876
port 9876 stateless
port 9876 lb-pri-servers backup-stay-active
bind 5060 foundry_tsdialer01 5060 foundry_dialer02 5060
bind 5061 foundry_tsdialer01 5061 foundry_dialer02 5061
bind 4040 foundry_tsdialer01 4040 foundry_dialer02 4040
bind 9876 foundry_tsdialer01 9876 foundry_dialer02 9876

The client when using the VIP as the dialer cannot establish connection to the real dialer ( i am using one dialer at a time only ) , here's a wireshark from the dialer :-

WHEN USING VIP AS A DIALER :-

No.     Time        Source                Destination           Protocol Info
      1 0.000000    10.5.112.70           10.5.106.14           SIP      Request: REGISTER sip:10.5.106.150:5061

Frame 1 (596 bytes on wire, 596 bytes captured)
Ethernet II, Src: Cisco_09:9f:f1 (00:23:04:09:9f:f1), Dst: Dell_25:e7:54 (00:22:19:25:e7:54)
Internet Protocol, Src: 10.5.112.70 (10.5.112.70), Dst: 10.5.106.14 (10.5.106.14)
User Datagram Protocol, Src Port: 15848 (15848), Dst Port: sip-tls (5061)
Session Initiation Protocol
    Request-Line: REGISTER sip:10.5.106.150:5061 SIP/2.0
        Method: REGISTER
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:15848;branch=z9hG4bK-d87543-755c704add7e7b41-1--d87543-;rport
        Max-Forwards: 70
        Contact: <sip:12345@10.5.112.70:15848;rinstance=60154aea83b40b23>
        To: "12345"<sip:12345@10.5.106.150:5061>
        From: "12345"<sip:12345@10.5.106.150:5061>;tag=c134184e
        Call-ID: ODY3MmZhZDQwOTZkNTRjMzI4Y2Y3M2NmYTMzZTEwNzc.
        CSeq: 1 REGISTER
        Expires: 3600
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
        User-Agent: X-Lite release 1011s stamp 41150
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
      2 0.000268    10.5.106.14           10.5.112.70           SIP      Status: 100 Trying    (0 bindings)

Frame 2 (389 bytes on wire, 389 bytes captured)
Ethernet II, Src: Dell_25:e7:54 (00:22:19:25:e7:54), Dst: Cisco_09:9f:f1 (00:23:04:09:9f:f1)
Internet Protocol, Src: 10.5.106.14 (10.5.106.14), Dst: 10.5.112.70 (10.5.112.70)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: 15848 (15848)
Session Initiation Protocol
    Status-Line: SIP/2.0 100 Trying
        Status-Code: 100
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:15848;branch=z9hG4bK-d87543-755c704add7e7b41-1--d87543-;rport=15848
        From: "12345"<sip:12345@10.5.106.150:5061>;tag=c134184e
        To: "12345"<sip:12345@10.5.106.150:5061>
        Call-ID: ODY3MmZhZDQwOTZkNTRjMzI4Y2Y3M2NmYTMzZTEwNzc.
        CSeq: 1 REGISTER
        Server: Brekeke SIP Server rev.239
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
      3 0.002038    10.5.106.14           10.5.112.70           SIP      Status: 200 OK    (1 bindings)

Frame 3 (501 bytes on wire, 501 bytes captured)
Ethernet II, Src: Dell_25:e7:54 (00:22:19:25:e7:54), Dst: Cisco_09:9f:f1 (00:23:04:09:9f:f1)
Internet Protocol, Src: 10.5.106.14 (10.5.106.14), Dst: 10.5.112.70 (10.5.112.70)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: 15848 (15848)
Session Initiation Protocol
    Status-Line: SIP/2.0 200 OK
        Status-Code: 200
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:15848;branch=z9hG4bK-d87543-755c704add7e7b41-1--d87543-;rport=15848
        From: "12345"<sip:12345@10.5.106.150:5061>;tag=c134184e
        To: "12345"<sip:12345@10.5.106.150:5061>;tag=b84e5e56as
        Call-ID: ODY3MmZhZDQwOTZkNTRjMzI4Y2Y3M2NmYTMzZTEwNzc.
        CSeq: 1 REGISTER
        Contact: <sip:12345@10.5.112.70:15848;rinstance=60154aea83b40b23>;expires=3600;q=1.0
        Server: Brekeke SIP Server rev.239
        Expires: 3600
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
      4 4.023320    10.5.112.70           10.5.106.14           SIP      Request: REGISTER sip:10.5.106.150:5061

Frame 4 (596 bytes on wire, 596 bytes captured)
Ethernet II, Src: Cisco_09:9f:f1 (00:23:04:09:9f:f1), Dst: Dell_25:e7:54 (00:22:19:25:e7:54)
Internet Protocol, Src: 10.5.112.70 (10.5.112.70), Dst: 10.5.106.14 (10.5.106.14)
User Datagram Protocol, Src Port: 15848 (15848), Dst Port: sip-tls (5061)
Session Initiation Protocol
    Request-Line: REGISTER sip:10.5.106.150:5061 SIP/2.0
        Method: REGISTER
       
       
    Message Header

=========

USING REAL SERVER ITSELF AS A DIALER :-

No.     Time        Source                Destination           Protocol Info
      7 4.829186    10.5.112.70           10.5.106.14           SIP      Request: REGISTER sip:10.5.106.14:5061

Frame 7 (591 bytes on wire, 591 bytes captured)
Ethernet II, Src: Cisco_09:9f:f1 (00:23:04:09:9f:f1), Dst: Dell_25:e7:54 (00:22:19:25:e7:54)
Internet Protocol, Src: 10.5.112.70 (10.5.112.70), Dst: 10.5.106.14 (10.5.106.14)
User Datagram Protocol, Src Port: dynamic3d (2150), Dst Port: sip-tls (5061)
Session Initiation Protocol
    Request-Line: REGISTER sip:10.5.106.14:5061 SIP/2.0
        Method: REGISTER
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:2150;branch=z9hG4bK-d87543-12566922db7c2a5b-1--d87543-;rport
        Max-Forwards: 70
        Contact: <sip:12345@10.5.112.70:2150;rinstance=c331e9a907308b20>
        To: "12345"<sip:12345@10.5.106.14:5061>
        From: "12345"<sip:12345@10.5.106.14:5061>;tag=c6658b0c
        Call-ID: NjE1MjY1MjI0ODZlZGFjYjYwYzcxYjcyNTQxMTg3ZGU.
        CSeq: 1 REGISTER
        Expires: 3600
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
        User-Agent: X-Lite release 1011s stamp 41150
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
      8 4.829467    10.5.106.14           10.5.112.70           SIP      Status: 100 Trying    (0 bindings)

Frame 8 (385 bytes on wire, 385 bytes captured)
Ethernet II, Src: Dell_25:e7:54 (00:22:19:25:e7:54), Dst: Cisco_09:9f:f1 (00:23:04:09:9f:f1)
Internet Protocol, Src: 10.5.106.14 (10.5.106.14), Dst: 10.5.112.70 (10.5.112.70)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: dynamic3d (2150)
Session Initiation Protocol
    Status-Line: SIP/2.0 100 Trying
        Status-Code: 100
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:2150;branch=z9hG4bK-d87543-12566922db7c2a5b-1--d87543-;rport=2150
        From: "12345"<sip:12345@10.5.106.14:5061>;tag=c6658b0c
        To: "12345"<sip:12345@10.5.106.14:5061>
        Call-ID: NjE1MjY1MjI0ODZlZGFjYjYwYzcxYjcyNTQxMTg3ZGU.
        CSeq: 1 REGISTER
        Server: Brekeke SIP Server rev.239
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
      9 4.831092    10.5.106.14           10.5.112.70           SIP      Status: 200 OK    (1 bindings)

Frame 9 (496 bytes on wire, 496 bytes captured)
Ethernet II, Src: Dell_25:e7:54 (00:22:19:25:e7:54), Dst: Cisco_09:9f:f1 (00:23:04:09:9f:f1)
Internet Protocol, Src: 10.5.106.14 (10.5.106.14), Dst: 10.5.112.70 (10.5.112.70)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: dynamic3d (2150)
Session Initiation Protocol
    Status-Line: SIP/2.0 200 OK
        Status-Code: 200
       
    Message Header
        Via: SIP/2.0/UDP 10.5.112.70:2150;branch=z9hG4bK-d87543-12566922db7c2a5b-1--d87543-;rport=2150
        From: "12345"<sip:12345@10.5.106.14:5061>;tag=c6658b0c
        To: "12345"<sip:12345@10.5.106.14:5061>;tag=b7aa1a6e5s
        Call-ID: NjE1MjY1MjI0ODZlZGFjYjYwYzcxYjcyNTQxMTg3ZGU.
        CSeq: 1 REGISTER
        Contact: <sip:12345@10.5.112.70:2150;rinstance=c331e9a907308b20>;expires=3600;q=1.0
        Server: Brekeke SIP Server rev.239
        Expires: 3600
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
     10 4.934168    10.5.112.70           10.5.106.14           SIP      Request: SUBSCRIBE sip:12345@10.5.106.14:5061

Frame 10 (595 bytes on wire, 595 bytes captured)
Ethernet II, Src: Cisco_09:9f:f1 (00:23:04:09:9f:f1), Dst: Dell_25:e7:54 (00:22:19:25:e7:54)
Internet Protocol, Src: 10.5.112.70 (10.5.112.70), Dst: 10.5.106.14 (10.5.106.14)
User Datagram Protocol, Src Port: dynamic3d (2150), Dst Port: sip-tls (5061)
Session Initiation Protocol
    Request-Line: SUBSCRIBE sip:12345@10.5.106.14:5061 SIP/2.0
        Method: SUBSCRIBE
       

So i am preety much sure it has something to do with the dialer but i just want to make sure that i am not doing anything wrong.

Thank you everyone

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

Below is a link for Microsoft LCS (SIP server) and ServerIron setup -  old but will give good config to work off no matter what the SIP server you are using.

http://office.microsoft.com/search/redir.aspx?AssetID=XT011721901033&CTT=5&Origin=HA011526621033

Also the "Advanced Load Balancing guide" also has a chapter on SIP in it.

Contributor
Posts: 24
Registered: ‎11-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

Thank for your reply MS but it isnt working and the advanced loadbalancing manual is for serveriron 400 etc not for serveriron xl. The only thing that is left for me to check is that i make  dialer server ( brekeke dialer ) directly connected to the serveriron. But i do not think it will work as the serveriron xl does not do any sip packet rewrite or anything.

thanks for your help , i will update you if i can make it work somehow. i did asked the brocade support ( my support is for serveriron 400 no xl ) , so the engineer wasnt sure what to do with it.

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

This works on a XL for LCS SIP. (Done in 2004) I would think your setup should not be too much different to this.

I know it is not exacly what you need. But should be of help - hopefully .

ServerIronA(config)# vlan 1
ServerIronA(config-vlan-1)# router-interface VE 1
ServerIronA(config-vlan-1)# interface VE 1
ServerIronA(config-vlan-1)# ip standby-address 10.0.0.5 255.255.255.0
ServerIronA(config)# ip forward
ServerIronA(config)# server port 5060
ServerIronA(config)# tcp
ServerIronA(config)# server port 5061
ServerIronA(config)# tcp
ServerIronA(config)# server port 135
ServerIronA(config)# tcp
ServerIronA(config)# server real EEServer1 10.0.0.10
ServerIronA(config)# port 5060
ServerIronA(config)# port 5061
ServerIronA(config)# port 135
ServerIronA(config)# server real EEServer2 10.0.0.20
ServerIronA(config)# port 5060
ServerIronA(config)# port 5061
ServerIronA(config)# port 135
ServerIronA(config)# server virtual EEPool1 10.0.0.100
ServerIronA(config)# port 5060 sticky
ServerIronA(config)# port 5061 sticky
ServerIronA(config)# port 135 sticky
ServerIronA(config)# bind 5060 EEServer1 5060 EEServer2 5060
ServerIronA(config)# bind 5061 EEServer1 5061 EEServer2 5061
ServerIronA(config)# bind 135 EEServer1 135 EEServer2 135
ServerIronA(config)# track-group 5061 135
ServerIronA(config)# vlan 2
ServerIronA(config-vlan-2)# untag ethernet 13
ServerIronA(config-vlan-2)# no spanning-tree
ServerIronA(config-vlan-2)# exit
ServerIronA(config)# server router-ports 10
ServerIronA(config)# server backup ethernet 13 00e0.5201.0c72 2


ServerIron B
ServerIronB(config)# vlan 2
ServerIronB(config-vlan-2)# untag ethernet 4
ServerIronB(config-vlan-2)# no spanning-tree
ServerIronB(config-vlan-2)# exit
ServerIronB(config)# server router-ports 10
ServerIronB(config)# server backup ethernet 4 00e0.5201.0c72 2
ServerIronB(config)# vlan 1
ServerIronB(config-vlan-1)# router-interface VE 1
ServerIronB(config-vlan-1)# interface VE 1
ServerIronB(config-vlan-1)# ip standby-address 10.0.0.5 255.255.255.0
ServerIronB(config)# ip forward
ServerIronB(config)# server port 5060
ServerIronB(config)# tcp
ServerIronB(config)# server port 5061
ServerIronB(config)# tcp
ServerIronB(config)# server port 135
ServerIronB(config)# tcp
ServerIronB(config)# server real EEServer1 10.0.0.10
ServerIronB(config)# port 5060
ServerIronB(config)# port 5061
ServerIronB(config)# port 135
ServerIronB(config)# server real EEServer2 10.0.0.20
ServerIronB(config)# port 5060
ServerIronB(config)# port 5061
ServerIronB(config)# port 135
ServerIronB(config)# server virtual EEPool1 10.0.0.100
ServerIronB(config)# port 5060 sticky
ServerIronB(config)# port 5061 sticky
ServerIronB(config)# port 135 sticky
ServerIronB(config)# bind 5060 EEServer1 5060 EEServer2 5060
ServerIronB(config)# bind 5061 EEServer1 5061 EEServer2 5061
ServerIronB(config)# bind 135 EEServer1 135 EEServer2 135
ServerIronB(config)# track-group 5061 135

External Moderator
Posts: 5,034
Registered: ‎02-23-2004

Re: Need serveriron xl - sip load balancing manuals ?

--->>>Does any one have any white papers or manuals for load balancing SIP server using serveriron XL ?

--->>>Thank for your reply MS but it isnt working and the advanced loadbalancing manual is for serveriron 400....

see this one here, is attached.

This guide discusses Advanced Server Load Balancing concepts for the ServerIron ADX. It covers features such as SIP Server Load Balancing, Transparent Cache Switching, IDS Server Load Balancing, HTTP Compression, and Total Content Analysis

TechHelp24
N/A
Posts: 1
Registered: ‎04-09-2010

Re: Need serveriron xl - sip load balancing manuals ?

Just curious;

your config states:

server port 5061
tcp

server port 5060
tcp

If this is SIP traffic, should it not be UDP?

Contributor
Posts: 24
Registered: ‎11-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

I thought so too , but looking at the access logs on the router it seems the agent machine uses tcp port 5060 5061 and couple more to access the sip dialer. To me it seems more like the sip server itself doesnot support load balancing as microsoft does . I had the dialer admin to call   the brekeke and have not heard anything from them.

I will update as soon as i get anything thanks for help

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

FYI

Different vendors use either TCP or UDP.

E.g. 3Com VCX uses UDP for SIP MS Live uses TCP for SIP, MS OCS R2 uses either TCP or UDP.

I think Trixbox uses UDP only.

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

Ok for brekeke the default is to use TCP first; then if that fails then try UDP

TCP Support Details

Configuring TCP Settings

TCP support is enabled by default.
To change the settings:

  1. Log into the browser-based PBX or SIP Server Admintool.
  2. Navigate to the SIP Server > menu.
  3. Scroll down to the TCP section to make setting changes.
    - if "On", the TCP-handling is enabled
    - the size of the connection queue
    - if "On", the SIP Server uses an UDP connection after the TCP connection fails

Above is from http://wiki.brekeke.com/wiki/ TCP support Details section - PS I have never seen this product or used it.  Just reading about it now.

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: Need serveriron xl - sip load balancing manuals ?

Ok given that TCP is on by defual, has this been changed to UDP only im your SIP server?

Your packet trace is for UDP and ServerIron config is for TCP - Tis could mean that the TCP failed (if the sip server is on deafult) - can you please check your packet trace?

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook