We have a load balanced site; it has been in production for about 12 months, and has load balancing set up with a single server used as the back office.
However, occasionally we've seen odd behaviour, where e.g. a user moves a section of the site and no redirects are created, or an automated import process does not seem to publish nodes to the front end server correctly.
I took a look in God Mode and very often the back office server is not the "master" server; however, the umbracoApplicationUrl is set explicitly to the back office server.
Does anybody know if it's likely to be what's causing this issue? It seems like we would see it more often given how often the back office server is not the master server.
(Also, if this is the problem, shouldn't this be a bit more prominent in the documentation? It seems like something that should be essential in a load balanced environment rather than an "advanced technique" if it can cause this sort of issue).
If not the first server to startup will be your master server. And if this is one of your front end servers things like redirects are not created. Because they only happen on a master server.
We did not - the article there makes it sound as if this is an optional thing, being "Advanced techniques with Flexible Load Balancing".
I think this could do with a more explicit statement that it's essential for a load balanced environment and more prominence in the load balancing documentation as it's not clear that e.g. URL redirects won't be created correctly if users are editing on the back office server but the back office server is not the master server.
Anyway - I've set this up locally and will test in our UAT environment today - thanks for your help! #H5YR
Thanks - I think that's the problem - we are not using scheduled publishing at all, so we haven't seen any issues until users started to move nodes around because they're reorganising the site a bit and noticed there were no redirects; I think it would be helpful if this was mentioned there as I have read that article before and it didn't occur to me that it might affect redirects :).
Load balancing, redirects and Master Server
Hi,
We have a load balanced site; it has been in production for about 12 months, and has load balancing set up with a single server used as the back office.
However, occasionally we've seen odd behaviour, where e.g. a user moves a section of the site and no redirects are created, or an automated import process does not seem to publish nodes to the front end server correctly.
I've just taken a look at this article:
https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible-advanced-v7
And this issue: https://issues.umbraco.org/issue/U4-9511
I took a look in God Mode and very often the back office server is not the "master" server; however, the umbracoApplicationUrl is set explicitly to the back office server.
Does anybody know if it's likely to be what's causing this issue? It seems like we would see it more often given how often the back office server is not the master server.
(Also, if this is the problem, shouldn't this be a bit more prominent in the documentation? It seems like something that should be essential in a load balanced environment rather than an "advanced technique" if it can cause this sort of issue).
Thanks,
Chris.
Hi Chris,
Did you set up the explicit master election as specified in this document : https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible-advanced-v7#explicit-master-scheduling-server
If not the first server to startup will be your master server. And if this is one of your front end servers things like redirects are not created. Because they only happen on a master server.
Dave
Hi Dave,
We did not - the article there makes it sound as if this is an optional thing, being "Advanced techniques with Flexible Load Balancing".
I think this could do with a more explicit statement that it's essential for a load balanced environment and more prominence in the load balancing documentation as it's not clear that e.g. URL redirects won't be created correctly if users are editing on the back office server but the back office server is not the master server.
Anyway - I've set this up locally and will test in our UAT environment today - thanks for your help! #H5YR
Thanks,
Chris.
Hi Chris,
Aactually it is explained, except for the part of the redirect creation. https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/#scheduling-and-master-election
Hi Dave,
Thanks - I think that's the problem - we are not using scheduled publishing at all, so we haven't seen any issues until users started to move nodes around because they're reorganising the site a bit and noticed there were no redirects; I think it would be helpful if this was mentioned there as I have read that article before and it didn't occur to me that it might affect redirects :).
Thanks,
Chris.
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.