Streaming Media Supplement sa2150 and sa2250

68
Chapter 7 Configuring Media-IXT for RealNetworks
If you see output, you have a VIP-capable cache plugin; if you see no output at all, you do not have a VIP-
capable plugin.
3. Copy the patched plugin to the Plugins/ directory of every RealServer in the server farm.
4. Add this line to each RealServers' rmserver.cfg file, substituting the virtual IP address of the layer 4
switch for xxx.xxx.xxx.xxx:
<Var TSVirtualIP="xxx.xxx.xxx.xxx"/>
5. Now, on your Media-IXT host, edit the RealProxy rmserver.cfg file, adding this line:
<Var InkIsRelative="1"/>
6. Restart Media-IXT.
7. Restart each RealServer in the server farm.
Configuring reverse proxy for QuickTime and RealNetworks simultaneously
A single Media-IXT can perform reverse proxy for both RealNetworks and QuickTime origin servers
simultaneously. By adding a designator to a reverse proxy mapping rule in the remap.config file, you can
determine that the rule applies exclusively to either RealNetworks or QuickTime content.
You can do this either through Traffic Manager, or by manually editing remap.config.
The extra field appears at the end of an entry in remap.config and may have the value RNI for
RealNetworks, or QT for QuickTime.
These example remap.config entries would enable remapping of requests:
from RealPlayer clients to an origin RealServer called actual-rni-server.com
from QuickTime Player clients to an origin QuickTime server called actual-qt-server.com
map rtsp://rniserver.com rtsp://actual-rni-server.com RNI
map rtsp://qtserver.com rtsp://actual-qt-server.com QT
Configuring hierarchical proxy caching for RealNetworks
Before you begin configuring for hierarchical proxy caching, decide which Media-IXT is to be a child and
which is to be a parent. Decide which caches should serve as parents for each child cache.
Configuring Media-IXT for hierarchical proxy caching is done in two stages:
First, edit the records.config file to enable parent caching on each child cache.
Then, edit the parent.config file on each child cache to redirect streaming media traffic to specific
parent caches.
Remember, you make no changes on parent caches. All configuration is done on child caches.
To enable parent caching:
1. In VI, open the Media-IXT records.config file located in the Traffic Server config directory.
2. Search for the variable proxy.config.http.parent_proxy_routing_enable
.
3. Change the value of the variable from
0
to
1
:
CONFIG proxy.config.http.parent_proxy_routing_enable INT 1
4. Save the file.
NOTE In a standard configuration, you should never need to specify a port number in either the
URLs or the remap rules for RealNetworks streams.