Oracle9i Warehouse Builder Configuration Guide Release 9.0.2 Part Number A95950-01 |
|
This chapter provides instructions for upgrading metadata from a previous version of Warehouse Builder to Oracle9i Warehouse Builder.
If you are upgrading from Warehouse Builder 3i, you can upgrade repository objects using the Warehouse Builder Repository Assistant. This option is only valid if you are upgrading from Warehouse Builder 3i to Oracle9i Warehouse Builder. It is not valid for upgrading Warehouse Builder versions 2.x.
The following topics are covered:
For information on migrating the runtime from Warehouse Builder 2.x, see "Install Warehouse Builder Runtime Objects" on .
To upgrade your metadata from an older version of Warehouse Builder to Oracle9i Warehouse Builder, use the new Metadata Loader File Upgrade utility. This tool enables you to upgrade any MDL file created from Warehouse Builder 2.0.4.78 repository or higher to the latest version of Warehouse Builder.
Before you perform the upgrade, be aware of the following:
To upgrade your metadata from a previous version of Warehouse Builder, follow the steps listed below.
To upgrade your current repository, you must export each project to Metadata Loader (MDL) files. Then, install Warehouse Builder, convert the MDL files using the Upgrade Utility, and import the files into Warehouse Builder.
To export existing metadata into an MDL file:
You can choose how you want to export the files within a project. For example, if you are exporting three source modules and two target modules, you can choose to export them separately or all together.
The Metadata Loader assigns a path and file name to the exported MDL file. Make a note of the path and filename for each module you export, or you can type a meaningful pathname and filename for the new MDL files and log files. The filename you assign must end with .mdl.
To install a new Warehouse Builder system in parallel to the existing one:
To perform the MDL File Upgrade, do one of the following:
The Upgrade utility eliminates the need to have your old repository running on the same system as your new Warehouse Builder repository or for older versions of Warehouse Builder to be installed on your system.
To access the MDL File Upgrade wizard:
The MDL File Upgrade Wizard Welcome page displays.
The Source page displays.
The Target page displays.
The Target page prompts you for your log file location. You can select the default path or click Browse to choose a new location.
The Summary page displays.
The Conversion Progress panel displays the status of the upgrade. At the end of the process, you receive an upgrade successful message.
After an upgrade, check the log file for warnings and errors.
Before using the command line, be aware of the following:
Use the following command line to upgrade MDL Files from an older version of the Warehouse Builder Repository:
mdlconvert sourcefile parameterfile
The source file contains the list of sources, targets and log file names. The parameter file contains the different attributes for conversion.
Example of a source file format:
SOURCE Mdl21Sample1.mdl Mdl21Sample2.mdl TARGET Mdl21Sample1_3i.mdl Mdl21Sample2_3i.mdl LOGFILE Mdl21Sample1.log Mdl21Sample2.log
Example of a parameter file format:
fieldseparator= ^ or | (default: ^ ) verbose= true/false (default: false) tempdir = some directory (default: .\temp) sourceversion = 2.0.4/2.0.5/2.1/3i (default: 2.1) targetversion = 2.0.4/2.0.5/2.1/3i (default: 3i)
Tips:
When you upgrade from Warehouse Builder 2.1 to the current version of Warehouse Builder:
If a mapping is used as a source by Fact 1 and Fact 2, then the order of the upgrade is as follows:
The source file format is:
SOURCE fact1.mdl fact2.mdl map.mdl TARGET fact1_owb3i.mdl fact2_owb31.mdl map_owb3i.mdl LOG fact1_owb3i.log fact2_owb3i.log map_owb3i.log
To import metadata into the new Warehouse Builder repository:
Locate the path and file name to the exported data from your former repository.
The MDL upgrade enables the mappings upgraded from your 2.x repository to generate the exact same code in your current repository.
However, certain operators can lose information on the keys of the objects they reference. If you want to continue working on your mapping design using the upgraded repository, you must first reconcile your mapping operators with their referenced objects. The keys of the referenced objects are then restored to the upgraded mapping operators.
Warehouse Builder displays the Inbound Reconcile dialog.
The referenced keys are restored in the upgraded mapping operator. You are now ready to continue with your mapping design.
|
Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|