Skip to main content
Participant
April 28, 2010
Question

Egde/Origin in Vhost.xml

  • April 28, 2010
  • 1 reply
  • 819 views

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>

    This topic has been closed for replies.

    1 reply

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    April 29, 2010

    That mechanism isn't sophisticated enough to handle failover if it doesn't work on the first one.  What it's doing is building a static map for those redirects and using them on the incoming.  So, by adding two FMS is only picking up one setting for the two (I'm not sure which one at the moment) - but it's not failover right now, only one per first part of configuration is being taken.

    Asa

    Participant
    April 29, 2010

    Thank you Asa for clarifying this. We will stick with using the Primary server in the Route Table, and using another option for the back-up Origin.