Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Dingley 1474 posts 3451 karma points c-trib
    Oct 13, 2016 @ 17:28
    Simon Dingley
    0

    Load Balanced Environment - Urls in umbracoServer table Keep Changing

    We have a load balanced multi site install that consists of 2 servers sat behind the load balancer, 1 Master and 1 Slave. This has been working well for a couple of years.

    We recently upgraded to v7.5.3 and disabled the previous distributedCall setting in umbracoSettings.config

    <distributedCall enable="false">
    

    We did this as per the docs so we could use Flexible load balancing.

    As per the docs:

    Each server hosts copies of the load balanced website files and a file replication service is running to ensure that all files on all servers are up to date

    We tick this box as well.

    We force all editors on to the Master to make their updates, this appears to be working fine and both copies of the site show the same id in the LMW3SVC4ROOT-lastsynced.txt file in the ~/App_Data/Temp/DistCache folder.

    Both servers are registered in the umbracoServer table, the correct one is the master and the other is the slave. However, the urls are incorrect for each server! I have changed them numerous times to be what they should be which is:

    http://live1.example.org.uk/umbraco http://live2.example.org.uk/umbraco

    For some reason the urls get changed to other urls that are used to reference the sites hosted in the installation e.g. http://fr.example.org.uk/umbraco

    The computernames remain correct and untouched.

    Does this matter? What are the implications of having the wrong urls in this table? The problem I see here is that the urls that get inserted will resolve to the load balancer and could terminate on either the master or the slave.

    Thanks, Simon

  • Simon Dingley 1474 posts 3451 karma points c-trib
    Oct 14, 2016 @ 08:24
    Simon Dingley
    0

    Last night I added the preferred server address to the UmbracoApplicationUrl attribute on the <web.routing /> node in umbracoSettings.config. This has had some effect and this morning the umbracoServer table is showing both servers with a url matching what I set as the UmbracoApplicationUrl. Is that expected and is it OK they are both the same url?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies