
9
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Deploying the server
Last updated 11/28/2012
4.
If you’re installing multiple edge servers, copy the Vhost.xml file to the same directory on each edge server.
5.
Verify that each edge server can communicate with the origin server.
6.
Place the origin server and those edge servers nearest to it on the same subnet.
7.
If you’re deploying more than one edge server, configure a load balancer.
Place the load balancer between the clients and the edges. Configure the load balancer to access the pool of edge servers
in round-robin mode and to monitor over TCP port 1935. Use the virtual IP (VIP) address of the pool as the IP address
in the
RouteEntry
element of each edge server’s Vhost.xml file. For detailed information on how to configure the
RouteEntry
element, see the comments in the
RouteEntry
element of the default Vhost.xml file, or see
RouteEntry
.
Configure edge servers
To configure the server to run as an edge server, edit the Vhost.xml configuration file of the virtual host you want to
run as an edge server. The Vhost.xml file defines how the edge server connects clients to the origin server.
Note:
You can also configure some virtual hosts to run applications locally (as origins), while others run applications
remotely (as edges); this is called mixed mode or hybrid mode.
Configure a virtual host to run as an edge server
1
Open the Vhost.xml file of the virtual host you want to configure and locate the following code (comments have
been removed):
<VirtualHost>
...
<Proxy>
<Mode>remote</Mode>
<Anonymous>false</Anonymous>
<CacheDir enabled="false" useAppName="true"></CacheDir>
<LocalAddress></LocalAddress>
<RouteTable protocol="">
<RouteEntry></RouteEntry>
</RouteTable>
<EdgeAutoDiscovery>
<Enabled>false</Enabled>
<AllowOverride>true</AllowOverride>
<WaitTime>1000</WaitTime>
</EdgeAutoDiscovery>
</Proxy>
</VirtualHost>
Note:
The default VHost.xml file is located in the RootInstall/conf/_defaultRoot_/_defaultVHost_ directory.
2
Edit the following XML elements, as needed.