With log4net debug enabled I see that the first server is polled correctly, but it appears an old hostname is used for the second server, rather than using the settings I want to use as above:
2016-06-24 18:09:14,735 [P3480/D3/T7] INFO Umbraco.Core.Sync.WebServiceServerMessenger - Submitting calls to distributed servers
2016-06-24 18:09:14,750 [P1716/D3/T37] DEBUG Umbraco.Web.UmbracoModule - Begin request: http://server1.com/umbraco/webservices/cacheRefresher.asmx.
2016-06-24 18:09:14,797 [P3480/D3/T30] DEBUG UmbracoExamine.DataServices.UmbracoLogService - Index created for node 1203, Provider=WebsiteIndexer, NodeId=1203
2016-06-24 18:09:14,813 [P1716/D3/T37] INFO Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
2016-06-24 18:09:14,813 [P1716/D3/T37] DEBUG Umbraco.Core.PluginManager - Loaded plugin types Umbraco.Core.Persistence.Mappers.BaseMapper with resolution FindTypesWithAttribute from persisted cache
2016-06-24 18:09:14,813 [P1716/D3/T37] DEBUG Umbraco.Core.PluginManager - Caching of typelist for type Umbraco.Core.Persistence.Mappers.BaseMapper and resolution FindTypesWithAttribute was successful = True
2016-06-24 18:09:14,813 [P1716/D3/T37] INFO Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 0 (took 1ms)
2016-06-24 18:09:14,860 [P3480/D3/T30] DEBUG UmbracoExamine.DataServices.UmbracoLogService - Index created for node 1203, Provider=InternalIndexer, NodeId=1203
2016-06-24 18:09:14,906 [P3480/D3/T30] DEBUG UmbracoExamine.DataServices.UmbracoLogService - Index created for node 1203, Provider=ExternalIndexer, NodeId=1203
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.UmbracoModule - Begin request: http://altdomain.com/.
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - FindDomain: Uri="http://altdomain.com/"
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - FindDomain: Matches no domain
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - FindDomain: Culture="en-US"
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - FindPublishedContentAndTemplate: Path="/"
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - FindPublishedContent: Begin finders
2016-06-24 18:09:16,644 [P1716/D3/T20] DEBUG Umbraco.Web.Routing.ContentFinderByNiceUrl - Test route "/"
The second server still isn't updating but I see that a POST is now being made to the second server /umbraco/webservices/cacheRefresher.asmx page and is getting a 200 response. This is evident from the web server log files.
However, on the second server, the umbraco.config is not updating.
I have a question related to this.
Is there any way to keep using the traditional load balancing for 7.3.0+?
I have just find a site which use the same database for both Staging and Live environments which is on umbraco 7.3.7 and I cannot use the Flexible load balancing because the changes on the staging site will affect to the live one.
My solution is creating a new DB and isolate both environments but I wish to know if the traditional load balancing is still an option.
Second server not updating in load-balanced environment
Umbraco version 7.4.1
Architecture: Two load-balanced (virtualised) webservers on different physical machines, using shared Azure DB and Windows DFSR file replication.
--
Hi,
I'm experiencing a problem where the distributed call isn't updating the second server.
On the first server I see that the '/app_data/umbraco.config' is updating, but on the second server this file isn't being updated.
umbracoSettings.config :
With log4net debug enabled I see that the first server is polled correctly, but it appears an old hostname is used for the second server, rather than using the settings I want to use as above:
Any ideas what is happening here please?
Thank you.
An update...
The second server still isn't updating but I see that a POST is now being made to the second server /umbraco/webservices/cacheRefresher.asmx page and is getting a 200 response. This is evident from the web server log files.
However, on the second server, the umbraco.config is not updating.
What could cause the cache file to not update?
Hi James, I believe that since umbraco 7.3.0 you need to use the Flexible load balancing instead of the traditional one.
See https://our.umbraco.org/documentation/getting-started/setup/server-setup/load-balancing/
I have a question related to this. Is there any way to keep using the traditional load balancing for 7.3.0+? I have just find a site which use the same database for both Staging and Live environments which is on umbraco 7.3.7 and I cannot use the Flexible load balancing because the changes on the staging site will affect to the live one.
My solution is creating a new DB and isolate both environments but I wish to know if the traditional load balancing is still an option.
Kind regards, Lucio
Upgrade to the latest version, you can see here the changes between your version and 7.4.3:
https://our.umbraco.org/contribute/releases/compare?from=7.4.1&to=7.4.3
You'll note this issue that you are affected by:
http://issues.umbraco.org/issue/U4-8298
is working on a reply...
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.