We are planning a new Umbraco website in a load balanced environment and I hope that someone may help me to make a decision. The environment will be a dedicated hosting with two front end servers and we need to setup file replication for them. Looking at Umbraco guide it says what folders NOT to replicate.
We want to deploy to each server separately using a CI server. Is it a big mistake to replicate only what needs to be replicated? From the documentation it reads that everything but Media folder is synchronized via database (like umbraco.config cache or lucene indexes). Is this correct? If not, then what else would need to be replicated?
If you have your code deployed via a CI server then all you will need to replicate is the media folder. Just set one as master and only update the cms from this and it will replicate all the content itself on update.
Instead of replicating the media I would recommend using Azure Storage or Amazon S3 to centralise these and then use an one of the file providers to handle it all for you. The only change to the server wil be managed by your CI...
There is an excellent course I would recommend on 8th Dec, if you are anywhere near Bristol in the UK it would be worth going. I went on it a few weeks ago and it really helped my understanding.
thanks for reply! This is what I thought. I'll mark your post as answer later - when we setup the environments and test everything.
On other things: we cannot go for Azure for various reasons. Regarding courses - I am in London and it is a too short notice. However, this workshop sounds interesting.
Load balancing best options
We are planning a new Umbraco website in a load balanced environment and I hope that someone may help me to make a decision. The environment will be a dedicated hosting with two front end servers and we need to setup file replication for them. Looking at Umbraco guide it says what folders NOT to replicate.
We want to deploy to each server separately using a CI server. Is it a big mistake to replicate only what needs to be replicated? From the documentation it reads that everything but Media folder is synchronized via database (like umbraco.config cache or lucene indexes). Is this correct? If not, then what else would need to be replicated?
THANKS
If you have your code deployed via a CI server then all you will need to replicate is the media folder. Just set one as master and only update the cms from this and it will replicate all the content itself on update.
Instead of replicating the media I would recommend using Azure Storage or Amazon S3 to centralise these and then use an one of the file providers to handle it all for you. The only change to the server wil be managed by your CI...
https://our.umbraco.org/projects/collaboration/umbracofilesystemprovidersazure/
There is an excellent course I would recommend on 8th Dec, if you are anywhere near Bristol in the UK it would be worth going. I went on it a few weeks ago and it really helped my understanding.
https://www.umbx.live/
I don;t have all the details with me but if you need more help let me know and I'll add more details.
thanks for reply! This is what I thought. I'll mark your post as answer later - when we setup the environments and test everything.
On other things: we cannot go for Azure for various reasons. Regarding courses - I am in London and it is a too short notice. However, this workshop sounds interesting.
A shame you can't make the course, it really was very good. The settings you need to change can be found here
https://our.umbraco.org/documentation/getting-started/setup/server-setup/load-balancing/files-shared
Jeavon Leopold runs the course, if you contact him he might be able to send you some details.
https://our.umbraco.org/member/8157
is working on a reply...