I have umbraco in a load balanced environment.
Web01 is the master Umbraco i.e. editors all log in here and do edits and schedule publishing etc.
Web01 replicates the media / forms etc to web02.
They share a sql db.
On web02 I get the following error in the logs every 5minutes
ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "http://www.myDomain.aero:xxx/umbraco"). Given that web02 doesn't do anything bar render the site for end users is there a way to turn off Scheduling for web02? Error doesnt appear on web01.
Any thoughts or suggestions would be most welcome.
In your umbracoSettings.config, have you set the umbracoApplicationUrl to the backoffice URL? I.e. https://admin.mydomain.co.uk/umbraco. It shouldn't be trying to ping your site URL for the back office, but rather the actual URL for the backoffice. The admin URL should be outside of the load balancing setup, too, so shouldn't be one of the load balanced URLs.
If the above is done, then try adding a hosts file entry of your admin server, add an entry to it's own internal IP for the admin address, something like below (replace the IP with your server's internal IP):
Hi Harrison
Many thanks for coming back to me - in the
servers section in the umbracoSettings.config I had already added the IPs. Master First followed by second.
I try the host file early in the morning and let you know how I get on.
Also I deploy the umbracoApplicationUrl in the web.routing tag in umbracoSettings.config
scheduled tasks - Load Balancer - ERROR Umbraco.Web.Scheduling.KeepAlive
I have umbraco in a load balanced environment. Web01 is the master Umbraco i.e. editors all log in here and do edits and schedule publishing etc. Web01 replicates the media / forms etc to web02. They share a sql db.
On web02 I get the following error in the logs every 5minutes ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "http://www.myDomain.aero:xxx/umbraco"). Given that web02 doesn't do anything bar render the site for end users is there a way to turn off Scheduling for web02? Error doesnt appear on web01.
Any thoughts or suggestions would be most welcome.
In your umbracoSettings.config, have you set the umbracoApplicationUrl to the backoffice URL? I.e. https://admin.mydomain.co.uk/umbraco. It shouldn't be trying to ping your site URL for the back office, but rather the actual URL for the backoffice. The admin URL should be outside of the load balancing setup, too, so shouldn't be one of the load balanced URLs.
If the above is done, then try adding a hosts file entry of your admin server, add an entry to it's own internal IP for the admin address, something like below (replace the IP with your server's internal IP):
See how you get on with that!
Hi Harrison Many thanks for coming back to me - in the
servers section in the umbracoSettings.config I had already added the IPs. Master First followed by second.
I try the host file early in the morning and let you know how I get on. Also I deploy the umbracoApplicationUrl in the web.routing tag in umbracoSettings.config
Which version of Umbraco are you using? From v7.3.0 onwards, the servers section in umbracoSettings.config shouldn't be used, as that's for the traditional load balancing setup, whereas the flexible setup should be used as stated here: https://our.umbraco.com/documentation/getting-started/setup/server-setup/load-balancing/
is working on a reply...