Difference between revisions of "Building Helix Server Cluster using LVS"
From LVSKB
(→VS/NAT) |
(→VS/NAT) |
||
Line 13: | Line 13: | ||
== Configuration Example == | == Configuration Example == | ||
=== VS/NAT === | === VS/NAT === | ||
− | || VIP/EXTIP || 192.168.9.244 | | + | {| |
− | ||RS1 || 192.168.0.150 | | + | |- |
− | ||RS2 || 192.168.0.160 | | + | || VIP/EXTIP || 192.168.9.244 |
+ | |- | ||
+ | ||RS1 || 192.168.0.150 | ||
+ | |- | ||
+ | ||RS2 || 192.168.0.160 | ||
+ | |} | ||
+ | |||
Run the follwing script on LB Server: | Run the follwing script on LB Server: |
Revision as of 13:42, 1 January 2007
Introduction
RealNetworks' streaming service uses the following protocols:
- PNM (TCP on port 7070, UDP from server -> player on ports 6970-7170)
- RTSP (TCP on port 554, similar UDP as above, but often on multiple ports)
- PNM was our original, but now mostly legacy, protocol used in our versions 1 through 5.
- There's also a HTTP/TCP-only fallback mode which is (usually) on port 8080.
Architecture
Configuration Example
VS/NAT
VIP/EXTIP | 192.168.9.244 |
RS1 | 192.168.0.150 |
RS2 | 192.168.0.160 |
Run the follwing script on LB Server:
ipvsadm -A -t 192.168.9.244:554 -s rr
ipvsadm -a -t 192.168.9.244:554 -r 192.168.0.150 -m
ipvsadm -a -t 192.168.9.244:554 -r 192.168.0.160 -m
Run
realplay rtsp://192.168.9.244/test.rm
for a test.
Conclusion
References
"Building Helix Server Cluster using LVS" is an LVS Example related stub. You can help LVSKB by expanding it |