[f-nsp] anyone using a serveriron to load balance rtsp
Peter Clark
pclark at raindance.com
Mon Oct 10 16:58:32 EDT 2005
About four years ago, we were also in the streaming business. We were
very successful in load balancing rtsp for Real Networks, as well as
Windows Media streaming and Mac Quicktime. I've included one of the
configs. It was on the ServerIron XL platform. The sticky option is
very important. If you are not aware of it, you have to create loopback
interfaces on the real servers, using the virtual server IP (the x.x.x,
which were public IPs in this config) as the IP for the loopback. If
you do this on Linux, make sure you've applied the ARP modules or
patches, depending on your kernel rev., or else the Linux boxes will
respond to ARPs for the VIPs.
ver 07.0.07T12
no global-stp
!
trunk server ethe 25 to 26
!
server tcp-age 5
server port 554
tcp
server port 7070
tcp
server port 7071
tcp
server port 1755
tcp
server port 111
tcp
!
!
server real wm3 10.10.54.23
port 50086
port 50600
port http
port http url "HEAD /"
port 1755
!
server real wm4 10.10.54.24
port http
port http url "HEAD /"
port 1755
!
server real wm7 10.10.54.27
port 1755
port http
port http url "HEAD /"
!
server real wm11 10.10.54.31
port http
port http url "HEAD /"
port 1755
port 50001
port 50081
!
server real wm12 10.10.54.32
port http
port http url "HEAD /"
port 1755
port 50081
port 50001
!
server real rn3 10.10.54.73
port 7070
port 554
port http
port http url "HEAD /"
!
server real rn4 10.10.54.74
port http
port http url "HEAD /"
port 554
port 7070
!
server real wm9 10.10.54.29
port 1755
port http
port http url "HEAD /"
!
server real wm10 10.10.54.30
port 1755
port http
port http url "HEAD /"
!
server real wm3 x.x.x.103
port 50600
port 50086
port http
port http url "HEAD /"
port 1755
!
server real wm1 x.x.x.101
port 50600
port 50086
port http
port http url "HEAD /"
port 1755
!
server real wm2 x.x.x.102
port 50600
port 50086
port http
port http url "HEAD /"
port 1755
!
server real wm4 x.x.x.120
port 1755
port http
port http url "HEAD /"
port 50086
port 50600
!
server real wm11 x.x.x.111
port 50600
port 50086
port http
port http url "HEAD /"
port 1755
port 50001
port 50081
!
server real wm12 x.x.x.112
port 50600
port 50086
port http
port http url "HEAD /"
port 1755
port 50001
port 50081
!
server real wm8 10.10.54.38
port 1755
port http
port http url "HEAD /"
!
server real wm2 10.10.54.22
port 50086
port 50600
port 1755
port http
port http url "HEAD /"
!
server real stqt1 10.10.54.125
port 5004
port 5003
port 5002
port 5001
port 5000
port 1984
port 1982
port 1980
port http
port http url "HEAD /"
port 7070
port 554
!
server real stqt2 10.10.54.126
port 5004
port 5003
port 5002
port 5001
port 5000
port 1984
port 1982
port 1980
port http
port http url "HEAD /"
port 7070
port 554
!
!
server virtual vwm2 x.x.x.4
predictor least-conn
port 1755 sticky
no port 1755 translate
port 1755 dsr
port http sticky
no port http translate
port http dsr
bind 1755 wm3 50600 wm2 50600
bind http wm3 50086 wm2 50086
!
server virtual vwm4 x.x.x.6
predictor least-conn
port http sticky
port http dsr
port 1755 sticky
port 1755 dsr
bind http wm7 http wm8.damit http
bind 1755 wm7 1755 wm8.damit 1755
!
server virtual vwm6 x.x.x.8
predictor least-conn
port http sticky
no port http translate
port http dsr
port 1755 sticky
no port 1755 translate
port 1755 dsr
bind http wm12.radiow 50081 wm11.radiow 50081
bind 1755 wm12.radiow 50001 wm11.radiow 50001
!
server virtual vrn2 x.x.x.10
port 7070 sticky
port 7070 dsr
port 554 sticky
port 554 dsr
port http sticky
port http dsr
bind 7070 rn4 7070 rn3 7070
bind 554 rn4 554 rn3 554
bind http rn4 http rn3 http
!
server virtual vqt1 x.x.x.15
port 5004 sticky
port 5004 dsr
port 5003 sticky
port 5003 dsr
port 5002 sticky
port 5002 dsr
port 5001 sticky
port 5001 dsr
port 5000 sticky
port 5000 dsr
port 1984 sticky
port 1984 dsr
port 1982 sticky
port 1982 dsr
port 1980 sticky
port 1980 dsr
port http sticky
port http dsr
port 7070 sticky
port 7070 dsr
port 554 sticky
port 554 dsr
bind 5004 stqt2 5004 stqt1 5004
bind 5003 stqt2 5003 stqt1 5003
bind 5002 stqt2 5002 stqt1 5002
bind 5001 stqt2 5001 stqt1 5001
bind 5000 stqt2 5000 stqt1 5000
bind 1984 stqt2 1984 stqt1 1984
bind 1982 stqt2 1982 stqt1 1982
bind 1980 stqt2 1980 stqt1 1980
bind http stqt2 http stqt1 http
bind 7070 stqt2 7070 stqt1 7070
bind 554 stqt2 554 stqt1 554
!
ip address 10.10.54.12 255.255.255.128
ip default-gateway 10.10.54.2
no span
________________________________
From: foundry-nsp-bounces at puck.nether.net
[mailto:foundry-nsp-bounces at puck.nether.net] On Behalf Of Alexander
Sharaz
Sent: Saturday, October 08, 2005 1:34 AM
To: foundry-nsp at puck.nether.net
Subject: [f-nsp] anyone using a serveriron to load balance rtsp
Chaps,
I'm looking to implement a load shared rtsp video steaming
service ( Darwin streaming server on RLEL4)
and wondered if anyone has already gone down this route.
any inital play gets me connected to the server but the video
stream is awful
Tried setting up my config to use DSR but didn't make any
difference
Any input would be appreciated
alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/foundry-nsp/attachments/20051010/05e8b703/attachment.html>
More information about the foundry-nsp
mailing list