what exactly is on the web server? Options
cmarcel
Posted: Tuesday, February 12, 2008 12:59:42 AM
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
drobar
Posted: Tuesday, February 12, 2008 1:41:05 AM

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/14354
http://forum.umbraco.org/18691
http://forum.umbraco.org/19251

cheers,
doug.




MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
cmarcel
Posted: Tuesday, February 12, 2008 6:10:17 PM
Rank: Newbie

Joined: 1/16/2008
Posts: 8
Thanks Doug! That was enormously useful.

Best,

Christophe
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.