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)
OD-DD-SYNC upgrade to OD6.x
marcussteiner
Hi all,
we're currently in the process of upgrading to OD 6.x and I was wondering if anybody has already done an upgrade using the new synchronization mode for OD-DD. The old way we've done it was to trigger DD through a dnr script in OD which was then triggerning ddsync.ipl to run DD. The command for our installation was as followed:
<dnrDeployment location="source"
when="after"
state="success">
<script cmd="g:\iw-home\iw-perl\bin\iwperl.exe
g:\iw-home\datadeploy\bin\ddsync.ipl
cfg=g:\iw-home\datadeploy\conf\CR.cfg
deployment=multi
-k state=$state^
-k ddarea=$ddarea^
-k BranchOfficeFileList=$branchofficefilelist^
-k ComponentFileList=$componentfilelist^
-k GlossaryFileList=$glossaryfilelist^
-k TrademarkFileList=$trademarkfilelist^
-k ContentFileList=$contentfilelist^
-k FilesFileList=$filesfilelist^
-k ImagesFileList=$imagesfilelist^
-Xwfid $wfid^
"
async="no" />
</dnrDeployment>
I've checked the documentation and found out that triggering DD module is done in the source definition of the OD config file. Beside many other problems we've got I've got no clue of how to pass over my -k parameters to my DD config file to replace the variables in it.
<sourceFilesystem area="$area^" filelist="$OD_filelist^">
<pathSpecification>
<path name="."/>
<dbLoader useDatabaseRef="live_db" databaseXmlFile="g:\iw-home\opendeploy\od6base\opendeployng\conf\database.xml">
<xmlData schemaMapFile="G:\iw-home\OpenDeploy\OD6base\OpenDeployNG\conf\6CR.cfg" xmlType="custom"/>
</dbLoader>
</pathSpecification>
</sourceFilesystem>
</source>
Can someone confirm that this call to DD is right in the first place and give me also a hint of how to resolve my variables problem in the DD config file.
Kind regards
Hollis
Find more posts tagged with
Comments
Migrateduser
Hi,
The <dbLoader> feature auto-generates an internal DD cfg that is executed.
An externally supplied DD cfg is not supported with dbLoader.
An externally supplied schema map file is supported (which is essentially the schema portion of your DD cfg).
Not clear on your existing OD-DD implementation,
but it appears you may need to revisit your deployment structure for OD6.
You seem to be doing a multiple DD "sub" deployments within your original DD cfg.
Try having an OD deployment that has multiple <sourceFilesystem> elements
each with its own dbLoader section.... all under a single <definition>.
Bill
Interwoven Engineering
End of Page 1.jpg
Start of Page 2.jpg
Migrateduser
continuing on my last reploy post...
So the -k params cannot be passed in when using dbLoader.
Alternatively, you could just set things up in OD6 to use DNR
to execute your DD cfg,
where the DNR command is:
iwodcmd start -k iwdd=multi -k param1=val1 -k param2=val2 .... <etc>.... CR.xml
Interwoven Engineering
aputnam
Is the ablility to pass -k parameters a future feature?
I am currently wanting this same functionality. I use a Tuple Processor to transform my data before it is sent to the DB, one of the parameters I require is vpath. Using a standalone DataDeploy deployment I can pass this through a -k parameter but when using DBLoader I cannot.
Thanks for any further information.
Migrateduser
Filed as Feature Request #59729.
Todd Scallan
Director of Product Management
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com