Difference between revisions of "Building Helix Server Cluster using LVS"
From LVSKB
(→Configuration Example) |
|||
Line 12: | Line 12: | ||
== Configuration Example == | == Configuration Example == | ||
− | ===vsnat mode | + | === vsnat mode |
+ | 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 | ||
== Conclusion == | == Conclusion == |
Revision as of 13:16, 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
=== vsnat mode 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
Conclusion
References
"Building Helix Server Cluster using LVS" is an LVS Example related stub. You can help LVSKB by expanding it |