Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
DataDeploy Differential Deployment Problem
nickcolorado
We are having a production issue with datadeploy 5.6sp1.
We are using datadeploy to deploy incremental changes between editions. However, datadeploy seems to be deploying the differences found in both the basearea and the and the new area, instead of just deploying what has been changed in the new area. Here's a more detailed description:
The basearea contains a file with these attributes:
File name: article.jhtml
Metadata field preferred_partner: PRES
Metadata field submit_date: 10/30/03
The new area contains a file with these attributes:
File name: article.jhtml
Metadata field preferred_partner: {THE VALUE FOR THE FIELD HAS BEEN REMOVED}
Metadata field submit_date: 11/07/03
A differential deployment is run between the basearea and the new area and this is what is getting deployed:
File name: article.jhtml
Metadata field preferred_partner: PRES
Metadata field submit_date: 11/07/03
The data that ends up getting deployed is a combination of the base area and the new area's attributes. This is causing a major problem because we essentially are unable to remove the preferred_partner value from the file. This is what we expect to get deployed:
File name: article.jhtml
Metadata field preferred_partner:
Metadata field submit_date: 11/07/03
How can we achieve the expected functionality using datadeploy? Is this the way a differenital deployment is supposed to work?
Here is the content of the deployment configuration file named mdxml.cfg:
-----------------------------------------------
iwpt_encoding.ipl* iwpt_encoding.ipl.example* iwtemplates.cfg.example
<data-deploy-configuration>
<client>
<deployment name="mdxmldelta">
<source>
<!-- Pull data tuples from TeamSite EA's -->
<teamsite-extended-attributes options="differential,wide" area="$current^" base-area="$prev^">
<path name="." />
</teamsite-extended-attributes>
</source>
<destinations>
<xml-formatted-data file="$xmlfile" serialize="yes" tag="stuff"/>
</destinations>
</deployment>
<deployment name="mdxmlfull">
<source>
<!-- Pull data tuples from TeamSite EA's -->
<teamsite-extended-attributes options="wide" area="$current^" >
<path name="." />
</teamsite-extended-attributes>
</source>
<destinations>
<xml-formatted-data file="$xmlfile" serialize="yes"/>
</destinations>
</deployment>
</client>
</data-deploy-configuration>
------------------------------------------------
And here is the command being executed to kick off the differential deployment:
/opt/iw-home/datadeploy/bin/iwdd.ipl cfg=/opt/iw-home/local/config/mdxm
l.cfg deployment=mdxmldelta -k xmlfile=/export/home/opendeploy/Projects/label/Atg561Tem-www-11-07-13-52/metadata_delta_t
emplate.xml -k prev=/default/main/WWW-TemplatedContent/EDITION/Atg561App-www-10-28-15-11 -k current=/default/main/WWW-
TemplatedContent/EDITION/Atg561Tem-www-11-07-13-52
Find more posts tagged with
Comments
deeps79
Hi,
Did U get a resolution to this ?
I am facing a similar problem while deploying the edition difference to database.Additions are working but deletions are not working.
Please let me know if u succeedded in solving the problem.
Thanks,
Regards,
Deepa
aputnam
I am also having this problem.
The case I am having problems with is this:
My STAGING area has a set of files
My Workarea has the same set of files minus 1 which has been deleted. Now I want to do a differential deployment. The result should be that the record corresponding to the DCR that was deleted should be deleted from the DB. This is not happening. The following is the error I see in the log:
DD:Generate ChangedDirectoryContents start:Fri Mar 18 11:24:46 PST 2005
DD:Generate ChangedDirectoryContents end :Fri Mar 18 11:24:46 PST 2005
DD:ERROR:FileNotFoundException:/iwmnt/default/main/USTestBranch/WORKAREA/work/templatedata/ContentTypes/PRD_SRV_DISPL
AY/data/AccessAccount not found.
This is correct since "AccessAccount" is the DCR I have deleted.
The log also shows that the DCR is deleted yet the rows that correspond to it are not.
Any help would be great.
this is my config:
<source>
<xml-source area="$vpath"
base-area="$basearea"
area-type="ts-filesystem"
xml-type="interwoven"
options="wide,differential">
<path name="$path"></path>
</xml-source>
</source>
aputnam
I seem to have fixed my problem at least. It seems to have to do with how the "path" and "area" columns are getting populated by Datadeploy in the IWDELTRACKER table.
In my case when doing differential deployments the area is like:
/default/main/myBranch
When I just did filelist deployments from my workarea the area is like:
/default/main/myBranch/WORKAREA/myWorkarea
If I originally got the DCRs there by a filelist (so that area=default/main/myBranch/WORKAREA/myWorkarea), the differential deployment cannot find the keys to delete (since the area it wants is default/main/myBranch).
If the DCRs get there by differential to begin with (using basearea=/default/main/myBranch/EDITION/INITIAL which is empty) then the right area is put into the IWDELTRACKER table and I can now perform incremental deployments by comparing two areas.