Copied to clipboard

Flag this post as spam?

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


  • Nigel Wilson 944 posts 2076 karma points
    Jul 06, 2015 @ 20:42
    Nigel Wilson
    0

    Load Balanced Environment - Not Refreshing Cache on "slave"

    Hey

    Umbraco Version 7.1.8

    Load Balancer sitting on top of 2 sites - web01 and web02.

    The distributedCall functionality was not enabled when the sites were setup so the content team have been manually logging in to each site and publishing / republishing content to ensure the umbraco.config cache is syncronised.

    I have today tried activating the distrbutedCall functionality to rectify this but it isn't working. :-(

    The intended solution is to use web01 as the master and push changes to web02.

    So I updated the umbracoSettings. config with the following:

    <distributedCall>
    <servers>
    <server>web01.mysite.co.nz</server>
    <server>web02.mysite.co.nz</server>
    </servers>
    </distributedCall>
    

    The following is from web01 logs:

    Umbraco.Web.BatchedServerMessenger - [Thread 72] Submitting calls to distributed servers
    

    The following is from DEBUG mode in log4net on web02:

    2015-07-07 07:38:11,671 [43] DEBUG Umbraco.Web.UmbracoModule - [Thread 99] Begin request: http://web02.mysite.co.nz/umbraco/webservices/cacheRefresher.asmx.
    2015-07-07 07:38:11,671 [43] DEBUG umbraco.content - [Thread 99] Content initialized (was already in context)
    

    The Application Pool on WEB02 uses the "NETWORK SERVICE" account this has correct permissions on the app_data so don't see permissions as being the problem.

    Can anyone please suggest other places to look / try.

    Thanks

    Nigel

  • Nigel Wilson 944 posts 2076 karma points
    Jul 12, 2015 @ 19:24
    Nigel Wilson
    0

    bump !!!

  • Almir Vereget 62 posts 150 karma points
    Jul 12, 2015 @ 21:47
    Almir Vereget
    1

    Hi Nigel,

    can this be related to your issue?

    http://issues.umbraco.org/issue/U4-5491

  • Nigel Wilson 944 posts 2076 karma points
    Jul 13, 2015 @ 00:12
    Nigel Wilson
    0

    Hey

    Yep the APPID was the problem - had previously glanced at the posts but never fully read / understood, so now taking the time to do so paid off - the cache is updated on the slave. YAY !

    Cheers Nigel

Please Sign in or register to post replies

Write your reply to:

Draft