I followed the instructions detailed here to elect a master and slaves server. I created an "ApplicationEventHandler" and in the "ApplicationStarting" method, I set the current "ServerRegistrarResolver" on either "MasterServerRegistrar" or "FrontEndReadOnlyServerRegistrar".
Note that I'm testing this on my development machine, so I launch the site via "Visual Studio" (meaning that I have only one server).
When I modify the code to explicitly define the registrar as "FrontEndReadOnlyServerRegistrar", it seems that I can use the back office as I want (I tried to created document types and document and I didn't get any issue). However, in the documentation, it's written that a server using this registrar has read only access to the database and shouldn't be allowed to write in it.
This is my first concern, but my second is: "Does using this class really ensure that the server won't be elected as the scheduling one?"?
Is this documentation outdated or I didn't understand the point of this?
My slave server can create content
Hello,
I followed the instructions detailed here to elect a master and slaves server. I created an "ApplicationEventHandler" and in the "ApplicationStarting" method, I set the current "ServerRegistrarResolver" on either "MasterServerRegistrar" or "FrontEndReadOnlyServerRegistrar".
Note that I'm testing this on my development machine, so I launch the site via "Visual Studio" (meaning that I have only one server).
When I modify the code to explicitly define the registrar as "FrontEndReadOnlyServerRegistrar", it seems that I can use the back office as I want (I tried to created document types and document and I didn't get any issue). However, in the documentation, it's written that a server using this registrar has read only access to the database and shouldn't be allowed to write in it.
This is my first concern, but my second is: "Does using this class really ensure that the server won't be elected as the scheduling one?"?
Is this documentation outdated or I didn't understand the point of this?
Did you find out why?
is working on a reply...