How does umbraco determine which entry in this table is the master server?
Our environment isn’t a typical load-balanced configuration, but rather a master/slave configuration i.e. 1 authoring server where umbraco changes are made, and slave webnodes that are public facing. It’s only the authoring server that should ever be considered the master.
Could it be possible, without custom code, for umbraco to consider one of my slave nodes the ‘master’?
thanks Dave!
i had since found a blog post with similar code (im guessing what became the basis for that official documentation). will give that a try, because yeah, its not really a load-balanced configuration per se, but more a master/slave(s) type of arrangement. thanks :)
UmbracoServer – isMaster flag
How does umbraco determine which entry in this table is the master server?
Our environment isn’t a typical load-balanced configuration, but rather a master/slave configuration i.e. 1 authoring server where umbraco changes are made, and slave webnodes that are public facing. It’s only the authoring server that should ever be considered the master.
Could it be possible, without custom code, for umbraco to consider one of my slave nodes the ‘master’?
Hi Andrew,
I assume your are using the "flexible" loadbalancing that uses the database introduced in v7.3.0
I think by default the first server that registers it self is considered as master.
But there is a way to override this behavior : https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/load-balancing/flexible-advanced
Haven't tried this myself
Dave
thanks Dave! i had since found a blog post with similar code (im guessing what became the basis for that official documentation). will give that a try, because yeah, its not really a load-balanced configuration per se, but more a master/slave(s) type of arrangement. thanks :)
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.