Streaming Media Supplement sa2150 and sa2250

87
Chapter 8 Configuring Media-IXT for WMT
Next, the mms map rule:
map mms://10.10.10.10:1755/ mms://source.pix.com:1755/
The mms map
rule can alternatively be in this form:
map mms://10.10.10.10:1755/ mms://11.11.11.11:1755/
The reverse_map rules (naturally) reverse the terms of the map rules:
reverse_map http://relay.pix.com/ http://www.pix.com/
reverse_map mms://11.11.11.11:1755/ mms://10.10.10.10:1755/
reverse_map mms://source.pix.com:1755/ mms://www.pix.com:1755/
The last mms reverse_map rule can alternatively be in this form:
reverse_map mms://source.pix.com:1755/ mms://10.10.10.10:1755/
The use of the IP address in remapping rules is unique to WMT. For both RealNetworks and QuickTime,
remapping rules use Media-IXT’s hostname and not its IP address.
A port number appears in a remapping rule for reverse proxy only when the port used for the rule’s protocol is
a non-standard port. So, if you use port 1755 for MMS, which is the standard port for that protocol, your map
rule takes this form:
mms://11.11.11.11/ mms://10.10.10.10/
If you use a non-standard port for MMS, say 9090, the rule must specify the port:
mms://11.11.11.11:9090/ mms://10.10.10.10/
As of Media-IXT 4.x, rules with a scheme of mms work for URLs whose scheme is mmsu and mmst as well.
After we modify remap.config, tell Media-IXT to re-read the file. From Media-IXT’s bin directory, run the
command:
traffic_line -x
Configuring hierarchical proxy caching for WMT
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.
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.
To set the child cache to redirect streaming media traffic to a specific parent cache:
Next, you need to add a parent proxy rule to the Media-IXT parent.config file on the child cache to
redirect streaming media traffic to a specific parent cache. (Adding a list of parent caches here is unsupported
in Media-IXT 4.x).