Kbase P106042: How do I setup the Batch mode DCU to update my ICFDB on a Unix/Linux machine?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/03/2009 |
|
Status: Verified
GOAL:
How do I setup the Batch mode DCU to update my ICFDB on a Unix/Linux machine?
GOAL:
How to upgrade a Dynamics repository on Unix without using a Windows client to load the ADO's ?
FACT(s) (Environment):
Progress 9.1x
Dynamics 2.1B
All Supported Operating Systems
FIX:
1) First create the deployment to be deployed using the Release Version Control (see Progress Dynamics? Version 2.1A Application Deployment from PSDN (http://psdn.progress.com/library/whitepapers/dynamics/docs/deployment_v21a.pdf)). Remember to set a DB Patch level and to dump the ADO?s.
2) Setup a shortcut to run the DCU to generate the batch-mode data (as described in 5.7.1 of the Dynamics Administration Guide). Having this as a shortcut is optional but helps in the next step.
3) Go to the <DynInstallDir>\src\icf\db\icf\dfd directory and copy the setup0201B.xml to the directory where the batch-mode DCU will be run from (i.e. the Start-in directory of the shortcut from point 2. On of the things that should have been created in step 1 was an xml file called Patchlist.xml in the base of the release directory. Edit the setup0201B.xml file that was just copied to add the Patchlist.xml file to the DB node. The DB node is located at the bottom of the setup file and once edited will look something like this (note the last entry is the one manually added):
<DBName>ICFDB</DBName>
<VersionSeq>seq_icfdb_dbversion</VersionSeq>
<MinimumVersion>20021</MinimumVersion>
<ConnectParams>-1</ConnectParams>
<DBDir>#path_db#\icfdb\icfdb.db</DBDir>
<DBDump>#path_src#\#dynamics_rootname#\db\icf\dump</DBDump>
<patch PatchLevel="0" DBBuild="Yes" NodeURL="db/icf/dfd/icfdbbuild.xml"/>
<patch PatchLevel="020022" NodeURL="db/icf/dfd/icfdb020022adolist.xml"/>
<patch PatchLevel="020022" NodeURL="db/icf/dfd/icfdb020022patch.xml"/>
<patch PatchLevel="020023" NodeURL="db/icf/dfd/icfdb020023patch.xml"/>
<patch PatchLevel="020024" NodeURL="db/icf/dfd/icfdb020024patch.xml"/>
<patch PatchLevel="020025" NodeURL="db/icf/dfd/icfdb020025patch.xml"/>
<patch PatchLevel="020025" NodeURL="db/icf/dfd/icfdb020025adolist.xml"/>
<patch PatchLevel="020027" NodeURL="db/icf/dfd/icfdb020026adolist.xml"/>
<patch PatchLevel="020027" NodeURL="db/icf/dfd/icfdb020026patch.xml"/>
<patch PatchLevel="020027" NodeURL="db/icf/dfd/icfdb020027adolist.xml"/>
<patch PatchLevel="020027" NodeURL="db/icf/dfd/icfdb020027patch.xml"/>
<patch PatchLevel="020028" NodeURL="db/icf/dfd/icfdb020028adolist.xml"/>
<patch PatchLevel="020028" NodeURL="db/icf/dfd/icfdb020028patch.xml"/>
<patch PatchLevel="333333" NodeURL="ver13894.00000012/patchlist.xml"/>
4) Run the Batch-mode DCU to create the files for doing the patch install (i.e. Update to the ICFDB). Make sure not to do a create or Load of the ICFDB Schema. A window should be shown listing the patches to be loaded and the one for the new deployment should be there. Finish this process off and the two files for running the DCU in batch-mode should be generated.
5) Copy these files along with the new release. Make sure that the release files are on the Propath. Also, the files will need to be edited to replace windows folders with the Unix equivalents.
6). Next set up the propath, run the phase1.r pointing to the new DCUSCRIPTFILE created.
6a) To test if this is working, log in from a windows GUI - it should report it wants to load ADO?s
7) Next on the linux machine, run the Phase2 and this should load all the ADO?s.
8) Test the database and it should have all the data that was released..