Rank: Newbie
Joined: 1/16/2008 Posts: 8
|
Hi,
I have two different web servers, both of which are pointing to the same database (QA and Dev web servers). They share the same db since it is practically impossible (for now) to migrate data from one Umbraco db to another. Not exactly ideal, but at least we can modify the user controls in peace.
Anyhow, it is very strange to me how publishing data from one web server makes the data visible and available only on that web server, whereas the other web server has different info.
I tried deleting the data in the /data folder (excluding the folder that says 'DontDelete') and modified the web.config (I read one post that mentioned that this forced the server to regenerate the cached data).
However, this has only resulted in hosing some of my data types that were based on custom controls.
My main question, as per the title of the post, is so that I can know what exactly gets stored on the web server. I am pretty concerned, since we will be going to production soon on load-balanced web servers.
Other than that, what exactly is up with this /data folder? What does it cache and am I screwed now that I deleted some of the files in there? I recovered the deleted cache files and it didn't fix things...
Thanks!
Christophe
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,698 Location: KY, USA
|
Running two sites pointing to the same database is an interesting idea, but one that will lead to difficulties. You see, umbraco keeps data in the database, in an xml file, and in the webserver's memory, not to mention files on the web server itself. Even if you keep the databases in sync (by pointing to the same database), you also need to keep the file systems on both web servers in sync as well. Additionally, umbraco needs to know when to update the content kept in memory on each web server. This is exactly what load-balanced webservers need to do, and this is fully supported in umbraco. For more info on load balancing "how to" (and what versions of umbraco have a bug and how to correct it), read these threads: http://forum.umbraco.org/14354http://forum.umbraco.org/18691http://forum.umbraco.org/19251cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
Rank: Newbie
Joined: 1/16/2008 Posts: 8
|
Thanks Doug! That was enormously useful.
Best,
Christophe
|