Copied to clipboard

Flag this post as spam?

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


  • Ismael 71 posts 354 karma points
    Dec 16, 2020 @ 19:15
    Ismael
    0

    Azure setup unclear about the use of MainDom.Lock

    Hi,

    Hoping someone can help clarify the documentation regarding a scalable Azure setup.

    My environment is:

    • Umbraco 8.6.4
    • 1 web app for admin (not scalable - no slots)
    • 1 web app for front-end (scalable - has a slot)

    Trying to follow the documentation here: https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/azure-web-apps#v864

    I'm not sure if the "Umbraco.Core.MainDom.Lock" should be set on both web apps, or just the admin, or maybe the frontend but not the slot (or mayby just the slot?)

    Instructions for the earlier versions made it clear to only do this on the Admin web app, but it's not mentioned for the 8.6.4+ instructions...

    Thanks!

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Dec 17, 2020 @ 06:40
    Marc Goodson
    100

    Hi Ismael

    Apply the setting to both.

    The confusion that makes it hard to explain, is that when the setting was introduced in 8.6.0 there was an issue with replica servers and scaling out in Azure, but it still really provided stability for the backoffice server that isn't scaled out.

    This was resolved in 8.6.4 and now replica and backoffice servers can have their domain locking controlled via the database.

    https://our.umbraco.com/download/releases/compare?from=8.6.3&to=8.6.4

    The other 'workarounds' in the documentation still 'work around' the issue, eg disabling overlapping recycling and ignoring the local db on a replica servers - but with the new MainDom setting in place you shouldn't need to use the workarounds for either server.

    regards

    Marc

  • Ismael 71 posts 354 karma points
    Dec 17, 2020 @ 17:50
    Ismael
    0

    Awesome, thanks lot Marc!

Please Sign in or register to post replies

Write your reply to:

Draft