Egde/Origin in Vhost.xml
I was reading a post from November 2009 about configuring the Edge/Origin Vhost.xml file. The sample configuration from that post reccommended this config to the user who was asking:
<VirtualHost>
<Proxy>
<Mode>remote</Mode>
<Anonymous>true</Anonymous>
<CacheDir enabled="true" useAppName="true"></CacheDir>
<LocalAddress>10.11.100.100</LocalAddress>
<RouteTable protocol="">
<RouteEntry>*:1935*;10.11.191.19:1935</RouteEntry>
<RouteEntry>*:80;10.11.191.19:80</RouteEntry>
</RouteTable>
<EdgeAutoDiscovery>
<Enabled>false</Enabled>
<AllowOverride>true</AllowOverride>
<WaitTime>1000</WaitTime>
</EdgeAutoDiscovery>
</Proxy>
</VirtualHost>
My question is, since I am also using a back-up Origin server, would I need to add the ip addresses of both my primary Origin and back-up Origin to the RouteTable?
<RouteTable protocol="">
<RouteEntry>*:1935*;primary.mysite.com:1935</RouteEntry>
<RouteEntry>*:1935*;backup.mysite.com:1935</RouteEntry>
<RouteEntry>*:80;primary.mysite.com:80</RouteEntry>
<RouteEntry>*:80;backup.mysite.com:80</RouteEntry>
</RouteTable>
