Streaming Media Supplement sa2150 and sa2250

88
Chapter 8 Configuring Media-IXT for WMT
1. In VI, open the Media-IXT parent.config file located in the Traffic Server config directory.
Each line in the parent.config file contains a parent proxy rule. Traffic Server recognizes three space-
delimited tags:
<primary destination>=<value> <secondary specifier>=<value> <action>=<value>
2. Using the syntax below, add a rule to the Traffic Server parent.config file to specify protocol
redirection.
For Windows Media Players, specify MMS redirection. (For RealPlayers, specify RTSP redirection.
The syntax for the parent proxy rule is:
dest_host=hostname scheme=rtsp|mms parent="parent_cache:port_id" go_direct=true
The following table describes the syntax for the parent proxy rule:
Example
The parent.config entry below directs all requests for URLs starting with mms://host1 to
host2.domain.com. If host2.domain.com is unavailable, then all requests go directly to the origin
server.
dest_host=host1 scheme=mms parent="host2.domain.com:1755" go_direct=true
3. Tell Media-IXT to re-read its configuration files. From Media-IXT’s bin directory, run the command:
traffic_line -x
Configuring hierarchical live splitting for WMT
To configure hierarchical live splitting for WMT, just configure hierarchical proxy caching. See “Configuring
hierarchical proxy caching for WMT” on page 87.
Configuring selective caching for WMT
Using selective caching, you specify criteria to determine whether to proxy certain content or not, and whether
to cache certain content or not.
When content is not proxyable, Media-IXT denies the client connection, with an appropriate message to the
client (if possible).
IMPORTANT The parent proxy for MMS is usually listening for traffic on port 1755. (The parent
proxy for RTSP is usually listening for traffic on port 1091.) Because the protocols
use different ports, you must specify one rule for each protocol in the
parent.config file.
dest_host The rule’s primary destination tag, representing the requested host name for the rule to
apply.
scheme The rule’s secondary specifier, representing a request URL media protocol to redirect:
rtsp or mms.
parent An action tag specifying a single parent proxy or an ordered list of parent proxies. If
the request cannot be handled by the last parent server in the list, it is routed to the
origin server if the go_direct action tag, described below, is true.
go_direct An action tag determining how the rule should treat redirection requests when parent
proxies are unavailable. You can set go_direct to true or false. Enter true if you
want requests to bypass unavailable parent hierarchies and go directly to the origin
server. Enter false if you do not want requests to bypass parent hierarchies.