Announcement

Collapse
No announcement yet.

Multiple Redirects?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multiple Redirects?

    Dear Unreal Community,
    i'm an owner of a public server featuring many custom maps.. Actually we're using a public redirect, however now i came accross the question, if it's possible to make use of multiple redirect servers?
    (Like.. If the first server goes offline or whatever, the second one is used for downloads etc.)

    Maybe you can give me an advice or maybe it isn't even possible atm? (I'm pretty new to this..)

    Oh and excuse my bad english

    Thanks,
    paradox1911

    #2
    This is probably possible, but not through UT itself..
    You'll have to set up a webserver that will always be online and decides which server the downloaders will be forwarded to

    Comment


      #3
      In typical UT3 fashion, it only works with one redirect listed when UT2003/4 and even UT I believe would go to the next URL if the first one is unavailable. This is in the "lets rewrite the game from scratch and forget to put in some of the really useful stuff we already had" category.

      Comment


        #4
        I don't recall that being the case in UT or UT2004. One redirect, that was it....

        Either the server pushed it or one redirect alternative.......

        Comment


          #5
          Well, thank you for the fast responds to my question. Actually we set the redirect as the primary download source and optionally the gameserver itself get's used fot the map downloads, although these method results in very slow downloads.

          I think the idea with setting up a webserver for forwards is a quite good one, maybe we're even able to realize it with a .htaccess file + a simple php script.. I'll do some offline testing stuff according to this next week and will test it on our server asap.

          Thanks,
          paradox1911

          Comment


            #6
            Originally posted by PARADOX1911 View Post
            Well, thank you for the fast responds to my question. Actually we set the redirect as the primary download source and optionally the gameserver itself get's used fot the map downloads, although these method results in very slow downloads.

            I think the idea with setting up a webserver for forwards is a quite good one, maybe we're even able to realize it with a .htaccess file + a simple php script.. I'll do some offline testing stuff according to this next week and will test it on our server asap.

            Thanks,
            paradox1911
            Hey paradox1911,

            Let me know how you make out on this, I have been hoping for this feature for sometime as it would be great to have redirect content available on more than one server.

            Looking forward (pun intended) to your results with this concept.

            Cheers,

            Lexx000

            Comment


              #7
              Originally posted by PARADOX1911 View Post
              Well, thank you for the fast responds to my question. Actually we set the redirect as the primary download source and optionally the gameserver itself get's used fot the map downloads, although these method results in very slow downloads.

              I think the idea with setting up a webserver for forwards is a quite good one, maybe we're even able to realize it with a .htaccess file + a simple php script.. I'll do some offline testing stuff according to this next week and will test it on our server asap.

              Thanks,
              paradox1911
              Hey this would be sweet. I'd be interested to know how this turns out.

              Comment


                #8
                Originally posted by PARADOX1911 View Post
                Dear Unreal Community,
                i'm an owner of a public server featuring many custom maps.. Actually we're using a public redirect, however now i came accross the question, if it's possible to make use of multiple redirect servers?
                (Like.. If the first server goes offline or whatever, the second one is used for downloads etc.)

                Maybe you can give me an advice or maybe it isn't even possible atm? (I'm pretty new to this..)

                Oh and excuse my bad english

                Thanks,
                paradox1911
                I believe to do what your talking about would require round-robin dns and/or web load balancing.

                Comment


                  #9
                  i always wonder this too on ut it would be a nice feature i know cod4 has something like this i seen it in the freezetag mod

                  Comment


                    #10
                    In fact, there was a load balancer on UnrealAdmin.org for UT and UT2004. IIRC it works by exploiting HTTP Location header (redirect).
                    I believe it's possible in UT3, too.

                    As a web server that does the load-balancing and other things, I think Google App Engine would be great. It's free, stable, and it supports HTTP HEAD requests (so you can check whether remote mirror is online). You will need to write all logic from scratch (either Python or Java), but if you had some experience in programming, this shouldn't be a big problem.

                    P.S. I could do this in just few days, but the problem is I don't have enough enthusiasm to do anything for UT3.

                    Comment


                      #11
                      I know this is old BUT if this is just one UT3 server then just changing the redirect address in the ini file and restarting the server should work fine without any complicated system. I'm not sure how often your redirect server goes down but it may be a good idea to find another host. Maintaining two redirect servers could be more of a headache than having one redirect server go down every now and then.

                      We use two redirect servers- one in the US, one in Europe. UT3 wont obey the HTTP Location: so we used the GeoDNS patch ( http://www.caraytech.com/geodns/ ). Servers are selected via location at the DNS server. Round-robin DNS can be used for load balancing but isn't resilient to failure (I don't see the point of load balancing a redirect server for just a few servers). If you're looking for a software solution - a reverse proxy like Perlbal ( http://www.danga.com/perlbal/ ) or mod_proxy ( http://httpd.apache.org/docs/2.0/mod/mod_proxy.html ) MAY work but if the proxy goes down you loose the redirect again.

                      Comment


                        #12
                        Originally posted by {dFb}eMac View Post
                        I know this is old BUT if this is just one UT3 server then just changing the redirect address in the ini file and restarting the server should work fine without any complicated system. I'm not sure how often your redirect server goes down but it may be a good idea to find another host. Maintaining two redirect servers could be more of a headache than having one redirect server go down every now and then.

                        We use two redirect servers- one in the US, one in Europe. UT3 wont obey the HTTP Location: so we used the GeoDNS patch ( http://www.caraytech.com/geodns/ ). Servers are selected via location at the DNS server. Round-robin DNS can be used for load balancing but isn't resilient to failure (I don't see the point of load balancing a redirect server for just a few servers). If you're looking for a software solution - a reverse proxy like Perlbal ( http://www.danga.com/perlbal/ ) or mod_proxy ( http://httpd.apache.org/docs/2.0/mod/mod_proxy.html ) MAY work but if the proxy goes down you loose the redirect again.
                        I think you could actually let a mutator do this. The mutator can check whethere the redirect server is online. This WILL NOT work on Linux servers though http://forums.epicgames.com/showthread.php?t=604619

                        Comment

                        Working...
                        X