Technical data
22 ServerIron ADX Advanced Server Load Balancing Guide
53-1002435-03
Configuring SIP SLB
1
ServerIronADX(config-vs1)# port 5060 sip-alternative-port-start 5061
max-tcp-connections 3
Syntax: port <sip-port> sip-alternative-port-start <start-port> max-tcp-connections
<#connections>
The <sip-port> is the virtual SIP port. Typically, this is port 5060.
The <start-port> variable specifies the beginning port of the alternate virtual port. This port will be
used as the source-port of the client-side connection. The default value is the next unused port that
is greater than the virtual port.
The <#connections> variable specifies the maximum number of local connections allowed for a
client. This value takes precedence over the server sip tcp max-client-tcp-connections and server
sip max-server-tcp-connections (global) commands. The default number of connections is 64.
The port range between <start-port> and <start-port>+<max-tcp-connection> should be reserved
for alternative virtual port usage.
SIP SLB over TCP sample configuration
1. Configure a source IP address for the SIP proxy server.
ServerIronADX(config)# server source-ip 172.28.8.3 255.255.255.0 0.0.0.0
2. Configure a SIP real server.
ServerIronADX(config)# server real rs1 172.28.8.67
ServerIronADX(config-rs-sip)# source-nat
ServerIronADX(config-rs-sip)# sip max-tcp-connections 2
ServerIronADX(config-rs-sip)# port sip
ServerIronADX(config-rs-sip)# port sip sip-both-registrar-proxy-server
3. Configure a SIP virtual server and bind it to a SIP real server.
ServerIronADX(config)#server virtual vs-sip 172.28.8.100
ServerIronADX(config-vs-sip)# port sip
ServerIronADX(config-vs-sip)# port sip sip-stateful
ServerIronADX(config-vs-sip)# port sip sip-keyfield-call-id
ServerIronADX(config-vs-sip)# port sip sip-alternative-port-start 5061
max-connections 3
ServerIronADX(config-vs-sip)# bind sip rs1 sip
Other SIP SLB over TCP options
The following section describes SIP SLB over TCP options.
Configuring periodic keepalive
Use the keepalive commands to periodically check the real server state after it is brought up. You
can enable keepalive from the port profile configuration or from the real server port configuration.
SIP port profile configuration
To configure keepalive from the SIP port profile configuration, use the following commands.
ServerIronADX(config)# server port sip
ServerIronADX(config-port-sip)# udp keepalive protocol sip
Syntax: udp keepalive protocol sip










