Copied to clipboard

Flag this post as spam?

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


  • Chris Norwood 131 posts 642 karma points
    Mar 11, 2020 @ 08:06
    Chris Norwood
    0

    Load balancing, redirects and Master Server

    Hi,

    We have a load balanced site; it has been in production for about 12 months, and has load balancing set up with a single server used as the back office.

    However, occasionally we've seen odd behaviour, where e.g. a user moves a section of the site and no redirects are created, or an automated import process does not seem to publish nodes to the front end server correctly.

    I've just taken a look at this article:

    https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible-advanced-v7

    And this issue: https://issues.umbraco.org/issue/U4-9511

    I took a look in God Mode and very often the back office server is not the "master" server; however, the umbracoApplicationUrl is set explicitly to the back office server.

    Does anybody know if it's likely to be what's causing this issue? It seems like we would see it more often given how often the back office server is not the master server.

    (Also, if this is the problem, shouldn't this be a bit more prominent in the documentation? It seems like something that should be essential in a load balanced environment rather than an "advanced technique" if it can cause this sort of issue).

    Thanks,

    Chris.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Mar 11, 2020 @ 08:53
    Dave Woestenborghs
    100

    Hi Chris,

    Did you set up the explicit master election as specified in this document : https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible-advanced-v7#explicit-master-scheduling-server

    If not the first server to startup will be your master server. And if this is one of your front end servers things like redirects are not created. Because they only happen on a master server.

    Dave

  • Chris Norwood 131 posts 642 karma points
    Mar 11, 2020 @ 09:13
    Chris Norwood
    0

    Hi Dave,

    We did not - the article there makes it sound as if this is an optional thing, being "Advanced techniques with Flexible Load Balancing".

    I think this could do with a more explicit statement that it's essential for a load balanced environment and more prominence in the load balancing documentation as it's not clear that e.g. URL redirects won't be created correctly if users are editing on the back office server but the back office server is not the master server.

    Anyway - I've set this up locally and will test in our UAT environment today - thanks for your help! #H5YR

    Thanks,

    Chris.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Mar 11, 2020 @ 09:26
    Dave Woestenborghs
    0

    Hi Chris,

    Aactually it is explained, except for the part of the redirect creation. https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/#scheduling-and-master-election

  • Chris Norwood 131 posts 642 karma points
    Mar 11, 2020 @ 09:35
    Chris Norwood
    0

    Hi Dave,

    Thanks - I think that's the problem - we are not using scheduled publishing at all, so we haven't seen any issues until users started to move nodes around because they're reorganising the site a bit and noticed there were no redirects; I think it would be helpful if this was mentioned there as I have read that article before and it didn't occur to me that it might affect redirects :).

    Thanks,

    Chris.

Please Sign in or register to post replies

Write your reply to:

Draft