copying instances Options
jason
Posted: Thursday, November 23, 2006 3:49:23 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 182
Location: Pittsburgh, Pennsylvania, USA
We run umbraco (a multiple domain installation) in a virtual server environment. Our plan to provide 'staging' was to use the ability to copy and redeploy entire virtual servers very effeciently. We thought we'd copy a server instance, copy the umbraco db and presto! we'd have an exact copy of the original.

We hit a snag. The copied server works perfect when pointed to the original umbraco db. But when it is pointed to the copied instance of the umbraco db, domains and updates don't work properly.

To be specific, the version of the page at http://intranet.webdev1/index.aspx and http://webdev1/index.aspx are not always the same. (IIS default website is set to the first domain in our installation) And changes to the page content when published only are visible at the non-domain url until the web config is touch after which the change is visible at the domain url. It is like the domain version doesn't know there was a new version published. And while touching web config fixes the problem, republishing the page or site from the umbraco console does not. I thought both of those actions caused umbraco.xml to be written.

We're running version 2.1.3 and I've seen posts regarding domain/publishing issues that were not fixed until 2.1.5. We were hoping to wait to upgrade until v3.0 was ready. But the the odd thing is that this instance (original and copied) works perfectly....until that copied db is used as the source.

Any ideas what could be wrong? Anyone else playing with virtual servers....any thoughs on this as way to effect staging?

Thanks




Jason
mortenbock
Posted: Thursday, November 23, 2006 4:15:50 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
Just a quick comment....

The umbraco.xml is not written on publish. It goes something like this:

Umbraco app starts
Umbraco.xml i written
Umbraco.xml is loaded into memory
On publish, the memory and db are updated, but not the umbraco.xml.

I'm not sure if the only time umbraco.xml is written is on application start, but it's something like that.

I've also seen a few posts about how simply copying the DB does not get all the info (fx. foreign keys etc.) Have you tried using Darrens Umbraco Backup util?

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

mortenbock
Posted: Thursday, November 23, 2006 4:16:23 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
...trying to fix linebreaks

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

mortenbock
Posted: Thursday, November 23, 2006 4:16:56 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
...trying (again) to fix linebreaks

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

mortenbock
Posted: Thursday, November 23, 2006 4:17:18 PM

Rank: Addict

Joined: 7/19/2006
Posts: 815
Location: Århus, Denmark
...trying to fix linebreaks for the last time


Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

jason
Posted: Tuesday, November 28, 2006 1:25:13 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 182
Location: Pittsburgh, Pennsylvania, USA
Thanks for clarifying umbraco.xml functioning. I'm still having the same issue....unless I touch webconfig, I don't see the latest version of the page. I have read the other posts on moving db but have not tried darrens backup utility. The thing is, we've successfully moved servers and databases by making copies of the virtual machines. This time, however, it isn't working properly.

The issue is still as described in the original post.

Any other ideas?

Thanks in advance!

Jason
jason
Posted: Tuesday, November 28, 2006 9:59:22 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 182
Location: Pittsburgh, Pennsylvania, USA
figured it out. IIS host headers were configured wrong.

Jason
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.