Streaming Media Supplement sa2150 and sa2250

67
Chapter 7 Configuring Media-IXT for RealNetworks
For this configuration example we assume:
a Media-IXT host, whose IP address is 10.10.10.10
,
and which answers to
front.myreality.com
an origin RealNetworks server where our RealNetworks streaming content resides; its IP address is
11.11.11.11, and it answers to back.myreality.com
To configure reverse proxy caching for RealNetworks:
1. Set the proxy.config.reverse_proxy.enabled variable in the records.config file on the
Media-IXT host to
1
(true).
2. Edit the remap.config file on Media-IXT, adding
map
and reverse_map
rules. Note that the trailing
slashes in all of the rules are required.
Add the RTSP map rule:
map rtsp://front.myreality.com/ rtsp://back.myreality.com/
3. If our Media-IXT is performing reverse proxy for an origin QuickTime server as well as an origin
RealServer, we need separate sets of rules for each origin server, and we must add tags to the rules to specify
the protocol to which each rule applies.
Assuming that this is so, and that the origin QuickTime server answers to back.myquickness.com,
our rules would be:
map rtsp://front.myreality.com/ rtsp://back.myreality.com/ RNI
map rtsp://front.myreality.com/ rtsp://back.myquickness.com/ QT
4. After you modify the remap.config file, tell Media-IXT to re-read its configuration files. From Media-
IXT’s bin directory, run the command:
traffic_line -x
For RealNetworks and QuickTime, map rules only are used. For WMT, map and reverse_map rules are
used.
A port number appears in a remapping rule only when it is a non-standard port. So, if you use port 1091 for
RTSP, which is Media-IXT’s standard port for that protocol, your map rule takes this form (note that an RNI
tag can be added if desired):
map rtsp://front.myreality.com/ rtsp://back.myreality.com/
If you use a non-standard port for RTSP, say 9090, the rule must specify the port:
map rtsp://front.myreality.com:9090/ rtsp://back.myreality.com/
Configuring reverse proxy for a RealNetworks server farm with a layer 4 switch
For an explanation of where and why this procedure is needed, see “Server farms” on page 11.
To configure reverse proxy for a RealNetworks server farm with a layer 4 switch:
1. Contact HP Technical Support to obtain a patched version of the HP Caching plugin for RealServer
(inktpln.so.6.0 on UNIX; inkpln.dll on Windows).
2. You can verify that the file you have is patched by seeing if TSVirtualIP appears anywhere in the
plugin. Examine the response to the command:
strings inktpln.so.6.0 | grep TSVirtualIP
NOTE For RealNetworks and QuickTime, remapping rules use Media-IXT’s hostname and not
its IP address. Only WMT remapping rules use Media-IXT’s IP address.