By default, when an RTSP connection between RealPlayer and Helix Mobile Server becomes unavailable, RealPlayer tries to reestablish the connection to the same server. However, you can designate alternate servers to set up redundancy in case of server failure. A single Helix Mobile Server can have any number of alternate servers.
For more information: For information about defining redundant servers using Helix Administrator, see "Redundant Servers".
The following synax demonstrates how to specify two alternates for Helix Mobile Server:
<List Name="ServerAlternates">
<List Name="Alternates">
<List Name="Alternate_1">
<Var Host="main.rbn.com"/>
<Var Port="554"/>
</List>
<List Name="Alternate_2">
<Var Host="home.rbn.com"/>
<Var Port="554"/>
</List>
</List>
<List Name="RedirectRules">
<List Name="100">
<Var Rule="/path/1"/>
<List Name="Alternates">
<Var 100="Alternate_1"/>
<Var 200="Alternate_2"/>
</List>
</List>
<List Name="200">
<Var Rule="/path/2"/>
</List>
</List>
<List Name="ExcludePaths">
<Var Path_1="/path1/"/>
<Var Path_2="/path2/"/>
</List>
</List>
The following lists set up the alternate servers used during failover. When a server becomes unavailable, RealPlayer attempts to connect to any designated alternate server in the list, beginning with the first alternate.
|
parent: |
|
|
registry: |
config.ServerAlternates.Alternates |
|
function: |
Encloses lists of alternate servers. |
|
variables: |
none |
|
parent: |
|
|
registry: |
config.ServerAlternates.Alternates.alternate_name |
|
function: |
Defines each alternate server. |
|
variables: |
BroadcastDistributionMountPoint, BroadcastDistributionMountPoint |
Tip: The list name can be any unique string that identifies the alternate server. Do not include spaces in the name.
The following lists define the rules for failover to the alternate servers. Each rule identifies content streamed from a specific mount point. If Helix Mobile Server becomes inaccessible while streaming content from that mount point, RealPlayer requests the same content from an alternate server.
For more information: See "On-Demand Mount Point Configuration" for more about mount points.
|
parent: |
|
|
registry: |
config.ServerAlternates.RedirectRules |
|
function: |
Defines the rules for a failover to an alternate server. |
|
variables: |
none |
|
parent: |
|
|
registry: |
config.ServerAlternates.RedirectRules.rule_number |
|
function: |
Creates a set of redirect rules. |
|
variables: |
none |
Tip: For the list name, use a unique number as in <List Name="100">.
|
parent: |
|
|
registry: |
config.ServerAlternates.RedirectRules.RuleNumber.Alternates |
|
function: |
Indicates the failover servers to use for the redirect rule. |
|
variables: |
For more information: Each server must already be defined in one of the ServerAlternates lists.
|
list: |
|
|
syntax: |
<Var Host="address"/> |
|
value: |
DNS name|IPv4 address|IPv6 address |
|
default: |
none |
|
example: |
<Var Host="205.23.5.108"/> |
This variable specifies the host name or IP address of the designated alternate server.
|
list: |
|
|
syntax: |
<Var Port="integer"/> |
|
value: |
RTSP port number |
|
default: |
554 |
|
example: |
<Var Port="554"/> |
This variable provides the RTSP port number on the alternate server.
|
list: |
|
|
syntax: |
<Var Rule="string"/> |
|
value: |
content mount point or path |
|
default: |
none |
|
example: |
<Var Rule="/"/> |
This variable defines a path or mount point on Helix Mobile Server.
Tip: To provide server alternates for all content under the main Content directory, use the primary content mount point ( / ) as the value for this variable.
|
list: |
|
|
syntax: |
<Var number="string"/> |
|
value: |
name of the alternate server to act as a failover server |
|
default: |
none |
|
example: |
<Var 100="Alternate_1"/> |
Each alternate server that acts as a failover server for content served under this rule is listed using a number as the variable name. The value of this variable is the name of a server that was defined in an ServerAlternates list.
|
list: |
|
|
syntax: |
<Var Path_n="string"/> |
|
value: |
path from which to exclude content |
|
default: |
none |
|
example: |
<Var Path_1="/restricted"/> |
This variable sets the path or mount point of the content to be excluded. Number variables sequentially, starting with 1.
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
Main List