Copied to clipboard

Flag this post as spam?

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


  • Koen Bezemer 4 posts 34 karma points
    Mar 24, 2016 @ 23:49
    Koen Bezemer
    0

    Configuring master / slave on Microsoft Azure Web App Hosting

    Hi,

    Could someone explain how to configure a Web App as master / slave?

    I have one Azure Web App with the CMS , and a front-end Web App, running multiple instances.

    I don't get scheduled (de)publishing to work. I allways get the error that it cannot run scheduled (de)publishing on a slave machine.

    How do I configure my CMS Web App as master and the other ones as slave?

    Thnx,

    Koen

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Mar 25, 2016 @ 09:59
    Dave Woestenborghs
    100

    Hi Koen,

    Which version of Umbraco are you running.

    If you are running a version higher than 7.3.x, are you using flexible loadbalancing (using the db) or traditional loadbalancing (defined in umbracoSettings.config)

    If you are using flexible loadbalancing you can define in startup if a server needs to act as master : https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/load-balancing/flexible-advanced

    When using flexible loadbalancing the first server that registers it self in the database is considered master.

    When using traditional loadbalacing the first server in your config file is considered master.

    Also i would recommend that you read up on all the config settings needed.

    I also created a small package that you can install that will add a dashboard to the developer section where you can see all the registered servers : https://our.umbraco.org/projects/backoffice-extensions/loadbalancing-information-dashboard/

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft