Deploy Umbraco on 2 front servers and 1 backend server
The title might be a little confusing, I have 3 servers, on 1 server all the relevant Umbraco files and DLLs are present.
The 2 front servers only rely on the APP_DATA folder and have no access to the back office. We have a service running in the background that copies files from the main backend server to the 2 front servers, basically replicating the website (excluding DLL's and other files).
Now the problem with the service is that it sometimes isn't able to delete files in the TEMP folder because it is used by IIS and then the website starts acting up since the APP_DATA folder starts to go crazy (files keep getting copied to it whilst old files aren't deleted)
Deploy Umbraco on 2 front servers and 1 backend server
The title might be a little confusing, I have 3 servers, on 1 server all the relevant Umbraco files and DLLs are present.
The 2 front servers only rely on the APP_DATA folder and have no access to the back office. We have a service running in the background that copies files from the main backend server to the 2 front servers, basically replicating the website (excluding DLL's and other files).
Now the problem with the service is that it sometimes isn't able to delete files in the TEMP folder because it is used by IIS and then the website starts acting up since the APP_DATA folder starts to go crazy (files keep getting copied to it whilst old files aren't deleted)
What is the correct way to handle this situation? I had a look at the following topic: https://our.umbraco.org/documentation/getting-started/setup/server-setup/load-balancing/
I am not sure if it's relevant since the 2 front servers don't have a backend.
Hi Eran,
You should not synchronize the App_Data folder. These are server specific.
See this documentation what folders/files you should replicate
https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/files-replicated
Dave
is working on a reply...