Professional Documents
Culture Documents
OBIA 11 1 1 8 1 Upgrade Guide
OBIA 11 1 1 8 1 Upgrade Guide
1 UPGRADE GUIDE
1
Table of Contents
Overview ....................................................................................................................................................... 5
Pre-requisites ................................................................................................................................................ 6
2
Noting the ID of the 11.1.1.7.1 ODI Repository .................................................................................. 45
Executing Upgrade Load Plan(s) to upgrade data in the Business Analytics Warehouse................... 79
Post-Upgrade Tasks................................................................................................................................. 81
Appendix ..................................................................................................................................................... 92
3
This document describes the steps to upgrade BI Applications 11.1.1.7.1 to version 11.1.1.8.1.
Overview
The Upgrade of BI Applications 11.1.1.7.1 to version 11.1.1.8.1 consists of the upgrade of the following
components, repositories (schema and content) and data:
1. Platform components
2. BI Applications binaries
NOTE: The upgrade from BI Applications 7.9.6.x to BI Applications 11.1.1.8.1 is not supported. Upgrade
from BI Apps for Fusion Apps (11.1.1.5.x – 11.1.1.7.0, 11.1.1.8.0) is also not supported
Sequence of Steps
The sequence of the steps in the upgrade of BI Applications 11.1.1.1.7.1 to 11.1.1.8.1 is outlined below.
2. Run the BI Applications 11.1.1.8.1 installer to upgrade the BI Application binaries from version
11.1.1.7.1 to 11.1.1.8.1.
5. Use the BI Applications Upgrade Tool to upgrade the BIACOMP schema (ATGLite, FSM and
BIACM component upgrades). Use scripts to upgrade the BIACM_IO schema
4
8. Apply Client-Side Patches.
10. Upgrade Business Analytics Warehouse schema and Migrate Data in Data Warehouse
Instructions for each step of the upgrade process are provided below.
Pre-requisites
Complete the following pre-requisites before performing the upgrade from BI Applications 11.1.1.7.1 to
BI Applications 11.1.1.8.1.
Before upgrading your BI Applications 11.1.1.7.1 environment to version 11.1.1.8.1, you must
have applied the following patches. The ODI Cumulative Patch for BI Applications 11.1.1.7.1 is
available on My Oracle Support > Patches & Updates.
Before starting the Upgrade process from BI Applications 11.1.1.7.1 to 11.1.1.8.1, you must have
executed at least one incremental run in addition to a full data load in your BI Applications
11.1.1.7.1 environment.
Review the Certification Matrix for BI Applications version 11.1.1.8.1. The Certification Matrix is
available on the Fusion Middleware Certification Page on Oracle Technology Network (OTN).
5
Download the BI Applications 11.1.1.8.1 installer, the BI Applications Repository Creation Utility (RCU)
11.1.1.8.1 and the FMW Platform Patch zip files from the Oracle Business Intelligence Applications
11.1.1.8.1 Media Pack available on Oracle Software Delivery Cloud.
1. Shut down the WebLogic Administration Server, BI and ODI Managed Servers, and Node
Manager. Shut down BI processes using Oracle Process Manager and Notification Server
(OPMN).
2. On the machine which hosts the Middleware Home and BI Oracle Home for the BI Applications
11.1.1.7.1 environment, run the BI Applications 11.1.1.8.1 installer.
On Windows:
On Linux or UNIX:
4. The Specify Installation Location screen displays the MW_HOME and BI_ORACLE_HOME for your
existing BI Applications 11.1.1.7.1 environment. Verify the locations and click Next.
5. A Warning dialog is received asking if you wish to upgrade the existing BI_ORACLE_HOME. Click
Yes.
6
6. On the Summary screen, review the installation details and click the Install button to proceed.
7. Click Next on the Installation Progress screen when the installation is complete.
You must apply Fusion Middleware platform patches for BI Applications 11.1.1.8.1. The patches are
available for download as part of the Oracle Business Intelligence Applications 11.1.1.8.1 media pack.
The minimum version of Oracle BI EE supported for BI Applications 11.1.1.8.1 is BI EE 11.1.1.7.0 with
Bundle Patch 131017. The patches from Bundle Patch 131017 are included and will be applied to BI EE
11.1.1.7.0. If you have already applied BI EE Bundle Patch 131017 or higher to your BI EE environment
for BI Applications 11.1.1.7.1, then the BI EE patches will not be applied as part of this step.
7
The version of ODI used by BI Applications has not change between BI Applications 11.1.1.7.1 and
11.1.1.8.1. The version of ODI supported for BI Applications 11.1.1.8.1 is 11.1.1.7.0. An ODI patch is
applied to 11.1.1.7.0 as part of this FMW patch application step.
NOTE: You will run a script to apply the patches. The script is a Perl script and is available in
<BI_Oracle_Home>/biapps/tools/bin/APPLY_PATCHES.pl.
The Perl script you will run to apply the patches requires a parameter input file
(apply_patches_import.txt). In this procedure, before you run the Perl script, you will update the
parameter input file to reflect the appropriate directory paths
1. Ensure that the WebLogic Administration Server, BI and ODI Managed Servers, Node Manager
and BI processes are shut down.
2. Download "Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence
Applications" and "Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence
Applications for <OS> from the Oracle Business Intelligence Applications 11.1.1.8.1 media pack
on Oracle Software Delivery Cloud. Download all parts.
3. Extract all .zip files into the same Patch Home directory, as follows:
Extract the contents of the downloaded .zip files containing the patches into the same directory,
for example, C:\patches or PATCH_HOME/patches.
Note: The directory structure of the extracted contents is not patches4fa/dist/ps6rc3. The
patches are contained in folders: biappsshiphome, odi, weblogic and oracle_common. You do
not have to unzip the individual patches.
4. Update the parameter input file (apply_patches_import.txt) to reflect the paths as specified in
the text file:
1. Create a writable directory where logs and temporary patch files will be stored. In the
apply_patches_import.txt file, you will set the WORKDIR parameter to point to the path
for this directory.
Directory Path
8
Directory Path
For example:
C:\Program Files\Oracle\Inventory.
For example:
C:\patches
or
PATCH_HOME/patches
9
Directory Path
<BI_Oracle_Home>/perl/bin/perl <BI_Oracle_Home>/biapps/tools/bin/APPLY_PATCHES.pl
<BI_Oracle_Home>/biapps/tools/bin/apply_patches_import.txt
6. Confirm that all patches have been applied successfully by reviewing the following log files in
the directory specified by WORDIR:
o biappshiphome_generic_patches.log
o biappshiphome_<OS specific>_patches.log
o odi_generic_patches.log
o oracle_common_generic_patches.log
o weblogic_patching.log
For example:
The <prefix>_BIACOMP schema contains tables for ATG, FSM and BIACM (Configuration Manager). The
<prefix>_BIACOMP schema is upgraded by updating these component schemas to version 11.1.1.8.1
individually. The <prefix>_BIACM_IO schema must also be upgraded to version 11.1.1.8.1. Details to
upgrade the <prefix>_BIACOMP and <prefix>_BIACM_IO schemas are described in this section.
Before performing the upgrades, first verify the versions of ATG , FSM and BIACM and BIACM_IO by
running the following command in the database hosting the <prefix>_BIACOMP and <prefix>_BIACM_IO
schemas:
11.1.1.7.1 VALID DW
9 rows selected.
11
Upgrading ATG, FSM and BIACM
The ATG, FSM and BIACM component schemas are upgraded using the BI Applications Repository
Upgrade Tool which is a command line utility. You must upgrade these component schemas in the order
described – that is, ATG first, then FSM and finally BIACM.
1. Create a writable directory where logs will be stored. For example, C:\WorkRepoUtil or
WORKDIR_HOME/ workRepoUtil
2. Upgrade ATG
Parameter Description
Log files will be created for each run and saved in this directory. The naming
convention for the SQL log file is atgUpgradeSQLYYYY-MM_DD_HH_MM.log. Log files
will be available only if they are not empty.
db.conn.sid.url Connection to the database that hosts the BIACOMP schema. The format is
host:port:SID.
12
Parameter Description
Note: If this parameter is not passed in the command line, then the tool will request
the password at runtime.
Example:
/Middleware_Home/Oracle_BI1/jdk/bin/java -jar
/Middleware_Home/Oracle_BI1/biapps/tools/lib/biappsrepositoryutil.jar upgradeATG
bi.oracle.home=/Middleware_Home/Oracle_BI1/ work.dir=/WORKDIR_HOME/workRepoUtil
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
atg.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
On Windows:
C:\MiddleWare_Home\Oracle_BI1\jdk\bin\java -jar
C:\MiddleWare_Home\Oracle_BI1\biapps\tools\lib\biappsrepositoryutil.jar upgradeATG
bi.oracle.home=C:\ Middleware_Home\Oracle_BI1 work.dir=C\WorkRepoUtil
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
atg.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
3. Upgrade FSM
Parameter Description
13
Parameter Description
Log files will be created for each run and saved in this directory. The naming
convention for the SQL log file is fsmUpgradeSQLYYYY-MM_DD_HH_MM.log. Log
files will be available only if they are not empty.
db.conn.sid.url Connection to the database that hosts the <prefix>_BIACOMP schema. The format is
host:port:SID.
fsm.db.seed.url URL used to connect to the BIACOMP schema. The format is host:port/ServiceName.
For example: host:port/orcl.mycompany.com.
Note: If this parameter is not passed in the command line, then the tool will request
the password at runtime.
Example:
/Middleware_Home/Oracle_BI1/jdk/bin/java -jar
/Middleware_Home/Oracle_BI1/biapps/tools/lib/biappsrepositoryutil.jar upgradeFSM
bi.oracle.home=/Middleware_Home/Oracle_BI1/ work.dir=/WORKDIR_HOME/workRepoUtil
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
fsm.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
On Windows:
C:\MiddleWare_Home\Oracle_BI1\jdk\bin\java -jar
C:\MiddleWare_Home\Oracle_BI1\biapps\tools\lib\biappsrepositoryutil.jar upgradeFSM
bi.oracle.home=C:\Middleware_Home\Oracle_BI1 work.dir=C\WorkRepoUtil
14
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
fsm.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
4. Upgrade BIACM
Parameter Description
Log files will be created for each run and saved in this directory. The naming
convention for the SQL log file is fsmUpgradeSQLYYYY-MM_DD_HH_MM.log. Log
files will be available only if they are not empty.
db.conn.sid.url Connection to the database that hosts the <prefix>_BIACOMP schema. The format is
host:port:SID.
Note: If this parameter is not passed in the command line, then the tool will request
the password at runtime.
15
Example:
/Middleware_Home/Oracle_BI1/jdk/bin/java -jar
/Middleware_Home/Oracle_BI1/biapps/tools/lib/biappsrepositoryutil.jar upgradeBIACM
bi.oracle.home=/Middleware_Home/Oracle_BI1/ work.dir=/WORKDIR_HOME/workRepoUtil
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
biacm.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
On Windows:
C:\MiddleWare_Home\Oracle_BI1\jdk\bin\java -jar
C:\MiddleWare_Home\Oracle_BI1\biapps\tools\lib\biappsrepositoryutil.jar upgradeBIACM
bi.oracle.home=C:\Middleware_Home\Oracle_BI1 work.dir=C\WorkRepoUtil
biacomp.user=DEV_BIACOMP biacomp.password=password db.conn.sid.url=dbhost:1521:orcl
biacm.db.seed.url=dbhost:1521/orcl.mycompany.com db.sys.user=sysuser
db.sys.password=password
upgrade_grant_sysnonym_io.sql
upgrade_synonym_io.sql
Example:
sqlplus DEV_BIACOMP/password
2. Run the upgrade_grant_sysnonym_io.sql file with the input of <prefix>_BIACM_IO user name.
The <prefix> value is the same as the prefix for your BIACOMP schema.
Example:
16
SQL> @<path to script>/upgrade_grant_sysnonym_io.sql DEV_BIACM_IO
Disconnect from the SQL Plus session once the script completes.
Example:
sqlplus DEV_BIACM_IO/password
Example:
Disconnect from the SQL Plus session once the script completes.
5. If above two scripts ran successfully, then perform the following step:
Log in as the System user to the database hosting the <prefix>BIACOMP schema using SQL Plus
or equivalent tool. Execute the command:
update schema_version_registry
upgraded = 'Y',
start_time = sysdate,
status = 'VALID',
modified = sysdate
NOTE: The value of <prefix> for the <prefix>_BIACM_IO schema is the same prefix as that for
the <prefix>_BIACOMP schema.
17
Granting Privileges to <prefix>_BIACM_IO schema
Using SQL Plus or an equivalent tool, log in as <prefix>_BIACOMP and execute the following command:
1. Start the Weblogic Administration Server and Node Manager. Start the BI processes using Oracle
Process Manager and Notification Server (OPMN).
./wlst.sh
<BI_ORACLE_HOME>/dwtools/scripts/PS1_REL8_Upgrade_EnableATGAndFSMChanges.py --
DOMAIN_HOST <HOST_NAME> --DOMAIN_PORT <PORT_NUMBER> --DOMAIN_HOME_PATH
<DOMAIN_HOME_PATH> --DOMAIN_USERNAME <DOMAIN_USER>
Example:
./wlst.sh
/Middleware_Home/Oracle_BI1/dwtools/scripts/PS1_REL8_Upgrade_EnableATGAndFSMChang
es.py --DOMAIN_HOST BIDomainHost --DOMAIN_PORT 7001 --DOMAIN_HOME_PATH
/Middleware_Home/user_projects/domains/bifoundation_domain --DOMAIN_USERNAME
weblogic
On Windows:
wlst.cmd
C:\Middleware_Home\Oracle_BI1\dwtools\scripts\PS1_REL8_Upgrade_EnableATGAndFSMChan
ges.py --DOMAIN_HOST BIDomainHost --DOMAIN_PORT 7001 --DOMAIN_HOME_PATH
C:\Middleware_Home\user_projects\domains --DOMAIN_USERNAME weblogic
This script removes the 'TopologyManagerService' application and renames the ATG JNDI names.
./wlst.sh <ORACLE_HOME>/dwtools/scripts/PS1_REL8_Upgrade_EnableODIDeployChanges.py
--DOMAIN_HOST <HOST NAME> --DOMAIN_PORT <PORT NUMBER> --DOMAIN_HOME_PATH
<DOMAIN HOME PATH> --DOMAIN_USERNAME <DOMAIN USER> --ODI_SERVER_NAME
<ODI_SERVER_NAME> --ODI_HOME_PATH <ODI HOME PATH>
Example:
./wlst.sh
/Middleware_Home/Oracle_BI1/dwtools/scripts/PS1_REL8_Upgrade_EnableODIDeployChanges
.py --DOMAIN_HOST BIDomainHost --DOMAIN_PORT 7001 --DOMAIN_HOME_PATH
/Middleware_Home/user_projects/domains/bifoundation_domain --DOMAIN_USERNAME
weblogic --ODI_SERVER_NAME odi_server1 --ODI_HOME_PATH
/Middleware_Home/Oracle_ODI1
On Windows:
wlst.cmd
C:\Middleware_Home\Oracle_BI1\dwtools\scripts\PS1_REL8_Upgrade_EnableODIDeployChang
es.py --DOMAIN_HOST BIDomainHost --DOMAIN_PORT 7001 --DOMAIN_HOME_PATH
C:\Middleware_Home\user_projects\domains\bifoundation_domain --DOMAIN_USERNAME
weblogic --ODI_SERVER_NAME odi_server1 --ODI_HOME_PATH
C:\Middleware_Home\Oracle_ODI1
A new cluster for ODI will be created with name "bia_odi_cluster" and existing ODI servers and
ODI related applications are targeted to this cluster. Going forward, This cluster (
bia_odi_cluster) will be used by BI Applications.
If, In 11.1.1.7.1 environment, any cluster created for ODI, with name other than
“bia_odi_cluster” can be deleted from environment, by logging into admin console. Please make
sure no servers are targeted to the cluster (which is getting deleted)
6. Follow the below steps for BIACM during the upgrade. Run the below SQL in BIACOMP schema
19
UPDATE c_migration_log
UPDATE c_migration_log
UPDATE c_migration_log
UPDATE c_migration_log
UPDATE c_migration_log
COMMIT;
b. Create a writable directory where logs will be stored. For example, C:\RPD_Upgrade or
WORKDIR_HOME/ RPD_Upgrade
20
<BI_Oracle_Home>/jdk/jre/bin/java -cp <BI_Oracle_Home>/biapps/patch/biappspatch.jar
oracle.as.biapps.patch.update.UpdateBIAppsMetadata bi.oracle.home=<BI Oracle Home>
bi.admin.url=<BI EM Admin URL> bi.admin.username=<bi EM Admin User> bi.admin.password=<BI
EM Admin User Password> only.apply=rpd log.file=<Work dir>/rpd.log log.level=INFO
work.dir=<writable work dir path>
Example:
/Middleware_Home/Oracle_BI1/jdk/jre/bin/java -cp
/Middleware_Home/Oracle_BI1/biapps/patch/biappspatch.jar
oracle.as.biapps.patch.update.UpdateBIAppsMetadata
bi.oracle.home=/Middleware_Home>/Oracle_BI1 bi.admin.url=http://host:7001
bi.admin.username=weblogic bi.admin.password=password only.apply=rpd
log.file=/WORKDIR_HOME/RPD_Upgrade/rpd.log log.level=INFO work.dir=/
WORKDIR_HOME/RPD_Upgrade
Optional Parameters:
log.level - default is INFO. Valid values are FINEST, FINE, INFO, WARNING, SEVERE.
Follow the below steps if the upgraded RPD is a trimmed RPD and need a full RPD to be restored
Introduction
The customer after using the system for a period of time may decide to add new projects to the
RPD . In this case he would require the complete RPD with all the projects. The process below
provides a mechanism for the user to add projects to the existing rpd while retaining the exisitng
projects and customizations, thereby creating/restoring the complete RPD.
Use-Cases:
If the customer had made customizations to contents of their trimmed RPD those must be
preserved when putting back the other bits.
If the customer has applied any patches from Oracle then the changes those patches made
(to both trimmed and untrimmed stuff) must not be lost.
21
When the trimmed pieces are put back, any connection information in the RuntimeRPD
must only be available in Restored RPD
PREREQUISITE
1. A copy of the BI Oracle Home RPD also referred to as the Golden RPD.
This RPD is referred to the Golden RPD as this contains the orginal Oracle content including the
changes/fixes made to the content and shipped by Oracle.
This RPD is instance RPD which was trimmed and uploaded as part of provisioning. This RPD
is patched with content shipped from Oracle, it also contains all the customizations made by the
customer.
PROCESS
22
3. Open the Runtime RPD
Tip: To avoid typos, on the Projects popup double click on the Project, a new popup widget with
respect to the selected project comes up. Copy the Project name from here.
23
5. Extract Trimmed RPD from Golden RPD
Eg: C:\_CLIENT_INSTALL_DIR_\oraclebi\orahome\bifoundation\server\bin
d. copy the sections where the environment variables are being set.
Eg: Ctrl + C
set ORACLE_HOME=C:\RUP3\oraclebi\orahome
set ORACLE_INSTANCE=C:\RUP3\oraclebi\orainst
set ORACLE_BI_APPLICATION=coreapplication
g. Run the extractprojects command in the command prompt using the following parameters
and values.
-B GoldenRPD.rpd Path_Name
-O ExtractRPD.rpd Path_Name
Note: {-I "Project Name"} has to be repeated for as many projects as present in the project list.
Eg: C:\RUP3\oraclebi\orahome\bifoundation\server\bin>extractprojects.exe -B
C:\Work\GoldenRPD\GoldenRPD.rpd -O C:\Work\ExtractRPD\ExtractRPD.rpd -P Admin123 -I
"Fusion Incentive Compensation Transactional Analysis" -I "Fusion Marketing Transactional
Analysis" -I "Fusion Partner Transactional Analysis" -I "Fusion Sales Transactional Analysis" -I
"Marketing Analytics Fusion Edition" -I "Partner Analytics Fusion Edition" -I "Sales Analytics
Fusion Edition"
h. The output is an RPD which will be referred to as the ExtractRPD which has the same set of
projects as the Trimmed RPD.
a. Run the equalizerpd command in the command prompt using the following parameters and
values
-C ExtractRPD.rpd Path_Name
-F RuntimeRPD.rpd Path_Name
-O EqualizeRPD.rpd Path_Name
Eg: C:\RUP3\oraclebi\orahome\bifoundation\server\bin>equalizerpds.exe -C
C:\Work\ExtractRPD\ExtractRPD.rpd -B Admin123 -F C:\Work\RuntimeRPD\RuntimeRPD.rpd
-E welcome1 -O C:\Work\EqualizeRPD\EqualizedRPD.rpd
25
b. The output is an RPD which will be referred to as the EqualizedRPD. This RPD is an
equalized version of the Runtime RPD.
7. Create a Patch
a. The patch being created is a diff between the EqualizedRPD and the ExtractedRPD, this patch
will contain the all the configuration and customization changes that have been made by the
customer.
d. From the Compare Context Menu, Open the ExtractRPD as the Original Repository.
26
. The AdminTool opens the RPD and performs a Compare operation and shows a list of
differences between the two RPDs.
Select ‘No’ for pop up message ‘Do you want to mark differences in the repository immediately’
27
g. Click on the Create Patch Option, a new File-Directory menu comes up. –
h. Save the file as "Patch.xml" and store it in the Patch Folder Eg: C:\Work\Patch\patch.xml
a. Apply the patch obtained from Step 7 above using the biserverxmlexec command
28
b. Run the biserverxmlexec command in the command prompt using the following parameters
and values
-P Password of GoldenRPD
-B GoldenRPD.rpd Path_Name
-O RestoreRPD.rpd Path_Name
Please follow the below steps to upload the RPD if the RPD is size is greater than 50MB
1. Open EM page
29
2. Expand weblogic domain and click on bifoundation_domain.
Click on weblogic domain dropdown you see on the screen and select System MBean Browser
3.Under Application defined MBeans browser dropdown folder, expand oracle.biee.admin and
under that expand Domain: bifoundation_domain
One of them contains Operations tab which you can see when you click on it.
The one which contains the Operations tab can be either first or second. (Order in which you find
BIDomain might differ)
30
4.Click on lock under operations tab.
5. Click on Invoke.
31
After the operation completes, Click return.
<Middleware Home>/user_projects/domains/bifoundation_domain/
And in the text box “rpdFilePath”, please give only the name of the repository. (Note that you should
not give the entire path as it will look only in the path specified above)
32
8. Come back to the BIDomain (That you clicked previously for lock operation). Go to operations tab and
click on first commit operation. Click on invoke and then Return like you did previously
33
Follow the below steps if RPD Upgrade is attempted using a full RPD of 11.1.1.7.1 . If not , skip this
step and go to step 2
Restore the full RPD of 11.1.1.7.1 using the steps in RESTORING THE COMPLETE RPD. Ensure
Windows BI Client of version is equal or above the below version:
Build: 11.1.1.7.1.BISERVER_11.1.1.7.0OBIEEBP_WINDOWS.X64_130919.2217
Release Version: Oracle Business Intelligence 11.1.1.7.1
Package: 130920.0113.000
This is the recommended version and is already part of the Upgrade doc under section - "Applying
Patches to BI Administration Tool "
The commands to run to do 3-way merge manually with -A option so that the upgraded RPD
contains all Subject Areas-
In bash shell,
1. source
<BI_INSTANCE_HOME>/bifoundation/OracleBIApplication/coreapplication/setup/bi-init.sh
2. <BI_ORACLE_HOME>/bifoundation/server/bin/patchrpd -C <PS1_customer_RPD> -P
<PS1_customer_password> -G <PS1_Oracle_RPD> -Q Admin123 -I <8.1_Oracle_RPD> -S
Admin123 -O <Upgrade_81_RPD> -V <decision_file_path> -U -A
output_text_file - Should not contain any ERROR . Can contain WARNINGS which can be ignored
b. Create a writable directory where logs will be stored. For example, C:\Webcat_Upgrade
or WORKDIR_HOME/ Webcat_Upgrade
Example:
/Middleware_Home/Oracle_BI1/jdk/jre/bin/java -cp
/Middleware_Home/Oracle_BI1/biapps/patch/biappspatch.jar
oracle.as.biapps.patch.update.UpdateBIAppsMetadata
35
bi.oracle.home=/Middleware_Home>/Oracle_BI1 bi.admin.url=http://host:7001
bi.admin.username=weblogic bi.admin.password=password only.apply=webcat
log.file=/WORKDIR_HOME/Webcat_Upgrade/webcat.log log.level=INFO work.dir=/
WORKDIR_HOME/Webcat_Upgrade
Optional Parameters:
log.level - default is INFO. Valid values are FINEST, FINE, INFO, WARNING, SEVERE.
4. Restart all BI processes using Oracle Process Manager and Notification Server (OPMN).
During the upgrade to BI Applications 11.1.1.8.1, the code grant changes to a path
oracle.biacm_11.1.1.8.1. This path doesn’t exit. The code grant path has to be changed.
http://host:port/em
Example, http://BIDomainHost:7001/em
2. Navigate to Weblogic_Domain -> bifoundation_domain. Right Click and select Security > System
Policies
Change Codebase -
file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/oracle.biacm_11.1.1.8.1/-
36
To:
file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/oracle.biacm_11.1.1.7.1/-
System administrators must provide this patch to developers who have installed ODI Studio on their
machines.
Follow the instructions in the Patch Readme to apply the patch on all instances of ODI Studio.
Note: If you installed ODI Studio on the BI Domain host machine, you do not
have to apply the patch, as the patch is applied as part of the procedure
Rolling back any latest BIFNDN patch
Webcat upgrade needs BIFNDN patch supplied as part of patch bundle, If environment has newer/one-
off patch of BIFNDN patch, than of
“BIFNDN_11_1_1_7_0OBIEEBP_LINUX_X64_131008_1224_5_17463376.zip”, It should be rolled back. If
BIFNDN patch newer than mentioned exists in environment, Webcat upgrade might fail.
NOTE: VERSION OF ODI STUDIO DOES NOT CHANGE – IT WILL STILL BE 11.1.1.7.0
37
Applying Patches to BI Administration Tool
If you have applied the BI EE Bundle Patch 131017 as part of the procedure
Rolling back any latest BIFNDN patch
Webcat upgrade needs BIFNDN patch supplied as part of patch bundle, If environment has newer/one-
off patch of BIFNDN patch, than of
“BIFNDN_11_1_1_7_0OBIEEBP_LINUX_X64_131008_1224_5_17463376.zip”, It should be rolled back. If
BIFNDN patch newer than mentioned exists in environment, Webcat upgrade might fail.
Applying Fusion Middleware Platform Patches for BI Applications 11.1.1.8.1, or if you had applied
Bundle Patch 13107 earlier but had not applied the patch to your BI Administration Tool instances, then
you must patch BI Administration Tool as part of this procedure.
NOTE: If you have applied a Bundle Patch version higher than 131017 then ensure that BI Administration
Tool has been appropriately patched.
System administrators must provide the BI EE Client Installer executable to developers who have
installed BI Administration Tool on Windows machines.
Run biee_client_install_x64.exe obtained on unzip of the patch zip file. Select "Modify an existing
instance".
Note: If BI Clients have not been installed then provide the biee_client_install_x64.exe executable file in
the patch to developers to install the BI Clients. Run biee_client_install_x64.exe obtained on unzip of the
patch zip file. Select "Install a new instance"
38
Upgrading the ODI Repository
(NOTE: For customers on clustered ODI environments, please contact Oracle BI Applications support for
additional information on upgrading your environment with reference to bug number 19221613.)
This section describes the steps to upgrade an existing BI Applications ODI Repository from version
11.1.1.7.1 to 11.1.1.8.1.
In order to retain the existing topology and security configuration in ODI while at the same time
minimizing the impact on other tools that interact with ODI (that is, BI Applications Configuration
Manager and the BI Applications instance of Weblogic Server), the upgrade process has you export the
existing or pre-upgrade configurations from the ODI Master Repository, drop the existing pre-upgrade
ODI Work and Master Repositories, import the new upgrade ODI Work and Master Repositories into the
same schema, then import the pre-upgrade ODI Repository configurations.
This effectively replaces all content (interfaces, packages, models, knowledge modules, load plans, etc)
while retaining the configuration definitions.
The process also allows you to retain any customizations performed by exporting the customizations
from the pre-upgrade repository and importing them back in after the repository has been upgraded.
Use the Oracle Database Export and Import utility of your choice to export the ODI Repository for BI
Applications 11.1.1.7.1 from the existing schema and import it into another schema. This will allow you
to connect to the 11.1.1.7.1 ODI repository in case you need to reference it. Refer to Appendix >
Creating a Connection in ODI to the 11.1.1.7.1 Back-up ODI Repository for information how to create a
new connection in ODI Studio to the back-up of the ODI Repository for 11.1.1.7.1 which is now in a new
database schema.
If you have applied the patch any patch for (Subledger Accounting Analytics), remove the following
artifacts to mitigate the risk of id conflicts (if necessary, take a backup of the repository before this):
Task Folder:
Remove the task folder SDE_ORA_SLAJournalFact under the SDE_ORAR1213_Adaptor folder and
SIL_SLAJournalFact under the SILO folder.
Model:
Remove the following data stores:
39
- W_SLA_XACT_F (Oracle BI Applications -> Fact)
- W_SLA_XACT_FS (Oracle BI Applications -> Fact Stage)
- XLA_TRANSACTION_ENTITIES (EBS R12.1.3 -> Subledger Accounting)
Load Plan:
Remove the following load plans:
3 SDE Fact SLAJRNLS_FG EBS_12_1_3
3 SIL Fact SLAJRNLS_FG
Remove the step $${3 SDE Fact SLAJRNLS_FG} from 2 SDE Fact Group and step $${3 SIL Fact
SLAJRNLS_FG} from 2 SIL Fact Group.
1. Launch the ODI Studio client and connect to the ODI repository for BI Applications 11.1.1.7.1.
(Do not connect to the back-up of the ODI Repository).
2. Navigate to the Topology tab. From the Connect Navigator (Topology icon dropdown on the top
right side of the navigator pane), select Export. As part of the procedures described below, you
will export files to a local directory.
40
Exporting Connections
3. Launch the Smart Export wizard from the Export selection dialog
4. Drag the ‘Global’ context into the ‘Objects to be Exported’ window. Provide a meaningful name
for the export file. Click Export. This will export the logical and physical topology including
assigned Datasource Num ID values and database connect details.
41
Exporting Security
1. Navigate to Topology > Export and select the ‘Export Security Settings’ action.
42
2. Choose to export to a local file (directory). This action exports your user configurations.
Exporting Customizations
If you have introduced any customizations in your ODI repository, you will need to export these as well.
43
44
Export Customized Datastores
Click the ‘Export…’ option from the navigator window.
Drag and drop your purely custom and customized datastores. Be sure the ‘Export child objects’ option
is checked. In the example below, WC_ALLOC_INV_BALANCES_F/FS are purely custom tables while
W_GL_OTHER_F/FS are out of the box tables that have been customized.
45
Noting the ID of the 11.1.1.7.1 ODI Repository
ODI requires the ID of the repository you import objects into be different from the ID of the repository
that objects were exported from. The ID of the 11.1.1.7.1 ODI Repository will need to be noted and
after the repository is replaced with the 11.1.1.8.1 repository, the repository ID will be updated to a
non-conflicting number.
The default value 500 is assigned to all repositories that are shipped by Oracle. If you have migrated the
repository across environments, the value could be different from this default value.
1. Navigate to Topology -> Repositories -> Master Repository -> Right Click and select ‘Open’ ->
Version -> Information -> Internal ID.
46
3. Do the same for the Work Repository. The Repository ID should have the same value.
47
Use the BI Applications RCU to drop the existing 11.1.1.7.1 ODI Repository schema. You can use either
the BI Applications 11.1.1.7.1 RCU or the 11.1.1.8.1 RCU. You will be prompted with a list of schemas
that have already been installed – select the schema where the ODI Repository for 11.1.1.7.1 exists.
Important – ONLY drop the <prefix>_BIA_ODIREPO. Do not drop any other schema.
2. In the Database Connection Details screen, provide the connection details to the database which
hosts the ODI Repository for BI Applications 11.1.1.7.1.
3. From the Prefix All Schema Owners dropdown, select the prefix for your BI Applications
11.1.1.7.1 schemas.
4. Select only the Oracle Data Integration Master and Work Repository from the Select
Components screen. Do NOT select any of the other schema components.
48
5. Click Drop to drop the ODI Repository schema for 11.1.1.7.1.
The following steps are the same as when installing a refresh ODI repository. The only difference is that
we select the option to restore the ODI Master and Work repositories only.
You must run the BI Applications 11.1.1.8.1RCU to create the schema for the ODI Repository for
11.1.1.8.1. This schema will use the same name as the 11.1.1.7.1 ODI Repository schema that was just
dropped.
Important – You must select the option to use an existing prefix and re-use the same prefix that
was used by the schema that was previously dropped.
49
1. Unzip the BI Applications 11.1.1.8.1 RCU downloaded from the BI Applications 11.1.1.8.1 media
pack.
2. If you are not running RCU on the database host machine, then you must copy the obia_odi.dmp
file to a directory with global write access on the appropriate database server machine. (RCU
writes log files to this directory.) The .dmp file is located in
BIA_RCU_HOME/rcu/integration/biapps/schema.
UNIX: ./rcu
Windows: rcu.bat
5. In the Database Connection Details screen, provide the connection details to the database which
previously hosted the ODI Repository for BI Applications 11.1.1.7.1 which you dropped in the
previous procedure.
50
6. In the Select Components screen, from the Select an existing Prefix dropdown, select the same
prefix as that of your ODI Repository for 11.1.1.7.1. If you do not see the prefix as an existing
prefix then choose the Create a new Prefix radio button and enter the same prefix as you had
used before for the ODI Repository for 11.1.1.7.1.
7. Select the Oracle Data Integration Master and Work Repository. Do not select any other
component.
8. In the Value field in the Custom Variables screen, for the <prefix>_BIA_ODIREPO schema enter
the directory path of the folder on the database server that contains the obia_odi.dmp file. See
step 1 above.
Note: Do not include the name of the .dmp file in the directory path.
51
Create a connection in ODI Studio to the ODI Repository for 11.1.1.8.1 which you created in the previous
step. The repository is set to Internal Authentication. The user and password you use to connect to the
repository:
User: SUPERVISOR
Password: welcome
The ID of the repository has to be changed from the default to avoid conflicts when importing the
configurations, objects and customizations from the ODI Repository for 11.1.1.7.1. In the section
“Noting the ID of the 11.1.1.7.1 ODI Repository” above you made a note of the Repository ID for the
Master and Work repositories (default value is 500). In this procedure you will update the value in the
ODI Repository for 11.1.1.8.1 to a different value.
1. In ODI Studio, navigate to Topology -> Repositories -> Master Repository -> Right Click and select
‘Renumber’
52
3. On the Renumbering the repository – Step 2 dialog, enter a new ID that has not been used for
any of your existing ODI Repositories. Oracle suggests incrementing the value you noted in
section “Noting the ID of the 11.1.1.7.1 ODI Repository” by 1. Click OK.
Note that this incremented value should not be same number as the Repository ID of any
existing ODI Repository. The value you enter must be a numeric ID between 501 and 899.
4. Verify the new number by selecting the Master Repository. Right click and select Open to view
the Internal Id value that was set in the previous step.
53
5. Repeat for steps 1-4 to renumber the Work repository to the same value as the renumbered
Master repository.
54
Importing Content into the 11.1.1.8.1 ODI Repository
1. Launch the ODI Studio client and connect to the ODI repository for BI Applications 11.1.1.8.1.
2. Navigate to the Topology tab. From the Connect Navigator (Topology icon dropdown on the top
right side of the navigator pane), select Import. As part of the procedures described below, you
will import the file created by exporting the ’Global’ context in step Exporting Connections
above.
55
4. In the File Selection screen, specify the export file created in step Exporting Connections above.
5. The default behavior of Smart Import is to Merge details in the target repository. Ensure that no
issues are reported – if issues are reported, resolve them to ensure the existing details are
replaced by the details being imported. Select the BIAPPS_DW and BIAPPS_BIACOMP Data
Servers and select the ‘Overwrite’ option and continue.
56
Verifying the Imported Details
As part of this procedure you will verify that the Physical Servers have the correct details and the
Physical Schemas have the correct Datasource Num ID value set in the DATASOURCE_NUM_ID flexfield.
1. In ODI Studio, navigate to Topology > Physical Architecture. Open the BIAPPS_DW physical
server.
2. Verify the User and Password are correctly populated under the Definition tab.
57
3. On the JDBC tab, verify that the JDBC URL is correctly set. If you used the default ‘Merge’ action
during the Smart Import, the User and Password will be updated but the JDBC URL will remain
unchanged.
5. Verify the Physical schema for BIACOMP and DW are set as defaults. If they are not set as
defaults, Load Plans will fail.
58
2. Open the physical schema under the BIAPPS_BIACOMP physical server.
3. Verify that the Default check box is checked on the Definition tab.
5. Repeat steps 2 to 4 for the physical schema under the BIAPPS_DW physical server.
59
6. Verify the source connection details. For example, if you need to extract from an instance of
eBusiness Suite 11.5.10, open the corresponding physical server (here named
EBS11510_DEFAULT) and verify the User/Password and JDBC.
7. Also verify the associated physical schema. Navigate to the Flexfields tab and verify the
DATASOURCE_NUM_ID flexfield is set to the value you originally assigned. This value of the
DATASOURCE_NUM_ID must match the value in BI Applications Configuration Manager for this
source connection.
60
8. Open the corresponding logical schema and verify the DATASOURCE_NUM_ID flexfield is also
set with the same value.
61
Importing Security
As part of this procedure you will import the Security settings that you exported in step Exporting
Security above. The import of Security settings is done using the Insert/Update option.
1. In the Topology tab, from the Connect Navigator (Topology icon dropdown on the top right side
of the navigator pane), select Import.
62
3. In the Import Security Settings dialog, select Synonym Mode INSERT_UPDATE for the Import
Mode. Select the Import from a Folder radio button. Enter the directory location to which you
had exported the Security settings in step Exporting Security above.
63
After the import is complete, the SUPERVISOR user may no longer be enabled. To ensure you can still
connect to the ODI repository in case of any issues, you should enable this user by ensure the
‘Supervisor’ property is set and this user does not have an expiration date. Once external authentication
is complete, you can log in with another administrative user and disable the Supervisor user.
Once logged out of ODI Studio, you will have to log in with the administrative user configured in the
prior ODI repository. For example, if your administrative user that you previously used to connect to the
pre-upgrade ODI repository was named Administrator1, you would log in with this user. Follow these
steps to enable this user for external authentication.
In order to be able to log into the ODI Repository as the administrative user, the ODI Repository for BI
Applications 11.1.1.8.1 has to be configured for External Authentication, as described below.
1. Disconnect from the ODI Repository by selecting the ODI menu and then the Disconnect
“<User>” menu item.
64
2. From the ODI menu select the Switch Authentication Mode menu item
3. Enter the database connection details on the Login screen. Click Next.
The following Information dialog is displayed to indicate that the repository was successfully switched to
External Authentication. You should see at least two users are matched. Note that the SUPERVISOR user
defined in ODI will not be matched to anything in the security store.
65
You can now connect to ODI using externally authenticated users; for example, the BI Applications
Administrator User.
If you receive the following error when switching to External Authentication, then you have not
configured the security files required for external authentication on the instance of ODI Studio you are
using.
To configure user access, see section 3.3.9.2 Configuring User Access for ODI Studio in the BI
Applications Installation Guide for 11.1.1.8.1.
5. If required, create a connection in ODI Studio to the ODI Repository for 11.1.1.8. The repository
is set to External Authentication. The credentials you use to connect to the repository are those
of the BI Applications Administrator user.
6. You should now connect as this user and disable access for the SUPERVISOR user.
66
NOTE:
a) When switching from ODI internal to FMW security, Make sure that the ODI users had no expiry
dates (including SUPERVISOR)
b) If users had expiry dates , Change the expiry dates and make sure none of the users were disabled,
after doing the security import
Load Plans that were originally generated in the ODI Repository for 11.1.1.7.1 do not exist in the ODI
Repository for 11.1.1.8.1. The steps to transfer content from the 11.1.1.7.1 Repository to the 11.1.1.8.1
Repository do not include transferring the original load plans. The load plans will not reflect any changes
introduced as part of the upgrade so a new load plan must be generated.
Configuration Manager retains the Load Plan definitions on upgrade even though any metadata
associated with this load plan that was stored in ODI is no longer available. Use these existing
definitions in Configuration Manager to regenerate load plans including Domains Only Load Plans. Note
that any tasks that had previously executed pre-upgrade will execute in incremental mode post-upgrade
while any new tasks that may be introduced in the generated load plan will initially execute in full mode.
Refer to the Configuration Manager online help for the Manage Load Plans screen and the BI
Applications ETL Guide for 11.1.1.8.1 for more details on how to regenerate the load plan with
the existing load plan definition.
This section outlines the steps to perform a warehouse schema and data upgrade from
11.1.1.7.1 to 11.1.1.8.1. Before performing the steps outlined in this section of the document,
you must have completed all steps described in section Part I - BI Applications Infrastructure,
Metadata and Schema UpgradesBefore starting the Upgrade process from BI Applications
67
11.1.1.7.1 to 11.1.1.8.1, you must have executed at least one incremental run in addition to a
full data load in your BI Applications 11.1.1.7.1 environment.
Review the Certification Matrix for BI Applications version 11.1.1.8.1. The Certification Matrix is
available on the Fusion Middleware Certification Page on Oracle Technology Network (OTN).
The upgrade of the Business Analytics Warehouse schema and data upgrade are achieved by executing
predefined Upgrade Load Plans in ODI Studio. You need to select the appropriate Load Plan, based on
the source version deployed.
NOTE: The Upgrade Load Plans can only be executed from ODI Studio.
BI Applications 11.1.1.8.1 requires that the <prefix> _DW schema/user be granted the CREATE JOB
privilege.
Work with your Database Administrator to grant the CREATE JOB privilege to the <prefix> _DW
schema/user.
68
This privilege must be granted before you can execute the Upgrade Load Plans described later in this
section.
You will run an Upgrade Load Plan for each source you have registered in your BI Applications. You must
first identify which Upgrade Load Plans you need to execute:
1. Log into ODI Studio using the connection for the BI Applications Administrator user.
3. Expand the Predefined Load Plans folder and then the Upgrade folder.
4. From the list of Upgrade Load Plans, determine and note which Upgrade Load Plans you will run
based on the transactional systems from which you are sourcing data into BI Applications.
You will later run an Upgrade Load Plan for each source registered in your BI Applications.
As part of this procedure you will modify the Upgrade Load Plans which you have identified in section
Identifying the Upgrade Load Plans to Execute above.
1. In ODI Studio > Designer tab > Load Plans and Scenarios > Predefined Load Plans > Upgrade,
select an Upgrade Load Plan which you will be executing. Double-click the Load Plan to open for
editing.
69
2. Navigate to the Steps tab, and select the highest level node (example, EBS_1150 as shown in the
screenshot). Open the Property Inspector, which displays in the lower pane.
4. If you are modifying the BIApps 111171 to 111180 EBS 11510 Load Plan, then perform the
action documented in this step. If you are not modifying the BIApps 111171 to 111180 EBS
11510 Load Plan then move to step 5 below.
On the Upgrade BIApps 111171 to 111180 EBS 11510 Load Plan > Steps tab:
70
b. Expand the Upgrade_DW_Copy node
5. If you are modifying any of the following Upgrade Load Plans, then perform the actions
documented in this step. If you are not modifying any of these Load Plans then move to step 6
below.
b. Select the ‘Is PROJECTS enabled’ case statement. Check the check box in the Enabled
column
6. Save all changes made to the Upgrade Load Plan being modified.
7. Repeat steps 1 through 6 for each Upgrade Load Plan you will execute.
In this procedure, you will make a copy of each Upgrade Load Plan you will run based on the
transactional systems from which you are sourcing data into BI Applications. The copied Load Plans will
72
then be modified to include only the step that upgrades the Business Analytics Warehouse schema. You
will run a copied and modified Upgrade Load Plan for each source registered in your BI Applications.
You will run an Upgrade Load Plan for each source you have registered in your BI Applications. You must
first identify which Upgrade Load Plans you need to execute:
5. Log into ODI Studio using the connection for the BI Applications Administrator user.
7. Expand the Predefined Load Plans folder and then the Upgrade folder.
8. From the list of Upgrade Load Plans, determine and note which Upgrade Load Plans you will run
based on the transactional systems from which you are sourcing data into BI Applications.
You will later run an Upgrade Load Plan for each source registered in your BI Applications.
73
3. In the Confirmation dialog, click Yes.
4. A copy of the Upgrade Load Plan is created with prefix “Copy of” added to the name of the
original Upgrade Load Plan.
5. Select the copied Upgrade Load Plan and double-click to open for editing.
6. Navigate to the Steps tab and disable all steps below the Upgrade_DW step by unchecking the
check box in the Enabled column.
Repeat steps 1 through 8 for each Upgrade Load Plan you modified in section
You will run an Upgrade Load Plan for each source you have registered in your BI Applications. You must
first identify which Upgrade Load Plans you need to execute:
9. Log into ODI Studio using the connection for the BI Applications Administrator user.
11. Expand the Predefined Load Plans folder and then the Upgrade folder.
12. From the list of Upgrade Load Plans, determine and note which Upgrade Load Plans you will run
based on the transactional systems from which you are sourcing data into BI Applications.
You will later run an Upgrade Load Plan for each source registered in your BI Applications.
Before you run the Upgrade Load Plans to upgrade the data in the Business Analytics Warehouse, you
must first execute the Domains-Only Load Plans. This loads any new source domains into Configuration
Manager.
Note: Before running Domain-Only Load Plans. You must first execute “Upgrade BIApps 111171 to
111180 BIA11 Internal Tables” predefined load plan in order to upgrade the data warehouse domain
specific internal tables.
75
Load plan should be available under the below location
2. In the Tasks pane of Oracle BI Applications Configuration Manager, select Manage Load Plans,
which appears under the Load Plans Administration heading.
3. The Manage Load Plans page displays the list of generated Load Plans including the Domains-
Only Load Plans.
NOTE: If you have not regenerated the Load Plans as described in section NOTE:
a) When switching from ODI internal to FMW security, Make sure that the ODI users had no expiry
dates (including SUPERVISOR)
b) If users had expiry dates , Change the expiry dates and make sure none of the users were disabled,
after doing the security import
Regenerating Load Plans above then you must do so before you can execute the Domains-Only
Load Plans.
4. Execute the Domains-Only Load Plans. If you have more than one Domain-Only Load Plan then
you must execute all of them.
76
Performing Domain Member Mappings
Perform domain member mappings for any new conformed domains that have been introduced in
BI Applications Configuration Manager. See the BI Applications Configuration Guide for 11.1.1.8.1.
Also, map externally conformed domains as described in section 4.7 Mapping Externally Conformed
Domains of the BI Applications Installation Guide
In this step, you execute SQL statements (DML and DDL) in order to synchronize the Business
Analytics Warehouse.
Execute the SQL statements listed below against the Business Analytics Warehouse (<prefix_DW).
These statements must be executed before you run the Upgrade Load Plans to upgrade the data in
warehouse.
update w_hr_person_leg_d
set integration_id = integration_id || '~' || legislation_code
where integration_id <> '0'
and exists
(select 1 from w_ora_wevt_asg_ps x
where x.datasource_num_id = w_hr_person_leg_d.datasource_num_id);
commit;
77
ALTER TABLE W_FLEX_COLUMN_G ADD (COLUMN_CONTEXT_CASE VARCHAR2(4000 CHAR));
ALTER TABLE W_FLEX_COLUMN_G ADD (ATTRIBUTE_CATEGORY VARCHAR2(30 CHAR));
ALTER TABLE W_FLEX_COLUMN_G ADD (COMPONENT_VALUE VARCHAR2(30 CHAR));
ALTER TABLE W_FLEX_COLUMN_G ADD (DISPLAY_SEQUENCE NUMBER(10));
When executing the Upgrade Load Plan in a later step, you will need to provide the Data Source Number
for the source. During the set up of BI Applications 11.1.1.7.1, you provided a Data Source Number for
each registered source in BI Applications Configuration Manager. As part of this step, you will identify
the Data Source Number for each source:
2. In the navigation pane, select the Define Business Intelligence Applications Instance link.
3. In the Source Systems tab, in the Source Systems table, for each enabled registered source, note
the Data Source Number.
Updating ETL Parameters (Required for Supply Chain and Order Management Analytics for
EBS and JDE sources)
You must perform the tasks described in this section if you have deployed Supply Chain and Order
Management Analytics. If you have not deployed Supply Chain and Order Management Analytics then:
78
Skip to section Noting Variable Value (Required if your source is PeopleSoft versions 9.0, 9.1 or
9.2) below if you are sourcing data from PeopleSoft version 9.0, 9.1 or 9.2.
Skip to section
Executing Upgrade Load Plan(s) to upgrade data in the Business Analytics Warehouse below if
you are not sourcing data from PeopleSoft version 9.0, 9.1 or 9.2.
If you have deployed Supply chain and Order Management Analytics in BI Applications 11.1.1.7.1 and
have enabled the Customer Status History Fact Group (OM_CUSTSTATHISTFG), then you must update
the certain ETL parameters prior to executing the Upgrade Load Plans to upgrade data in the
warehouse.
3. Navigate to Is ORDER MANAGEMENT enabled > When Value = Y > ORDER MANGEMENT >
OM_SERIAL > OMCUSTSTATIST_FG
79
4. Open the Property Inspector.
You will update the following variables as described in the next steps:
BIAPPS.CURRENT_DATE
BIAPPS.CURRENT_DATE_WID
BIAPPS.PERIOD
80
5. The value of the CURRENT_DATE variable depends on the last incremental run. To obtain the
value that this variable should be set to and to update the variable:
b. In ODI Studio, update the value of the BIAPPS.CURRENT_DATE variable to the value
returned by the above query.
6. The value of the CURRENT_DATE_WID variable depends on the last incremental run. To obtain
the value that this variable should be set to and to update the variable:
81
SELECT ROW_WID FROM W_DAY_D WHERE W_CURRENT_CAL_DAY_CODE='Current';
7. The value of the PERIOD variable depends on the last incremental run. To obtain the value that
this variable should be set to and to update the variable:
b. In ODI Studio, update the value of the BIAPPS.PERIOD variable to the value for
PARAM_VALUE returned by the above query.
Noting Variable Value (Required if your source is PeopleSoft versions 9.0, 9.1 or 9.2)
You must perform the tasks described in this section if you are sourcing data from PeopleSoft version
9.0, 9.1, or 9.2. If you are not sourcing data from PeopleSoft version 9.0, 9.1 or 9.2 then skip to section
Executing Upgrade Load Plan(s) to upgrade data in the Business Analytics Warehouse below
If you are sourcing data from PeopleSoft version 9.0, 9.1, or 9.2 then you must complete the tasks
described in this section.
82
When upgrading BI Applications sourcing from PSFT 9.0, 9.1, 9.2, the W_INT_ORG_D dimension requires
a special set of parameters to be passed while starting the Upgrade Load Plans. These parameters will
take values depending on your configuration.
Determine the values for these parameters by running queries against the BI Applications Components
schema (<prefix>_BIACOMP) as described below. The query to obtain the values for these parameters is
of the format:
1. For each variable noted column A in the table below, run the SQL Query noted in column B
against the <prefix>_BIACOMP schema.
2. In the query results, select the value for the row with the correct DATASOURCE_NUM_ID value.
The DATASOURCE_NUM_ID should match DSN value you identified for your PeopleSoft source
in step Identifying Data Source Number for a Registered Source above.
A B C
Variable SQL Query (against <prefix>_BIACOMP Value (returned from query run
and for the DATASOURCE_NUM_ID for in your environment
the source)
83
group_code = 'INTORG_DIM';
The screen shot below shows the result from the <prefix>_BIACOMP for the
‘TREE_SETID_NAME_LIST_DEPT' variable.
Executing Upgrade Load Plan(s) to upgrade data in the Business Analytics Warehouse
As part of this procedure, you will execute Upgrade Load Plans to upgrade the data in the Business
Analytics Warehouse.
You will execute the Upgrade Load Plans based on the transactional systems and versions that are
sources of data for your BI Applications. You identified the Upgrade Load Plans you need to run in
section Identifying the Upgrade Load Plans to Execute above.
3. Expand the Predefined Load Plans folder and then the Upgrade folder.
4. From the list of Upgrade Load Plans, select the Upgrade Load Plan which you will run.
NOTE: You must have completed the modifications described in section Modifying the Upgrade
Load Plans above to the Upgrade Load Plan you will execute.
When the execute button is clicked a Start Load Plan dialog window appears. You will provide
Start Up Values for variables in this dialog.
7. Enter the value for the BIAPPS.DATASOURCE_NUM_ID variable. This value is the Data Source
Number that you identified for the source in section Identifying Data Source Number for a
Registered Source above.
85
Note that it is critical to provide the correct DATASOURCE_NUM_ID (DSN) which matches the
value for DSN entered in Configuration Manager for this source. This DSN is a composite key
used to update the Warehouse tables.
8. If you are running an Upgrade Load Plan for PeopleSoft source version 9.0, 9.1 or 9.2, then
additionally enter the values for the following variables:
TREE_CURRENT_VERSION_ONLY
TREE_SETID_NAME_LIST_DEPT
TREE_STRUCT_ID_LIST_DEPT
TREE_SETID_NAME_LIST_COMPANY
86
TREE_STRUCT_ID_LIST_COMPANY
The values for these variables were identified in step Noting Variable Value (Required if your
source is PeopleSoft versions 9.0, 9.1 or 9.2) above.
The relevant steps in the Upgrade Load Plan are executed based on the BI Applications Offerings
that are enabled in Configuration Manager.
10. When the Load Plan completes execution, repeat steps 4 to 9 for each additional Upgrade Load
Plan you had identified to execute.
87
Post-Upgrade Tasks
After you have completed execution of the Upgrade Load Plan(s), you need to execute a set of SQL
statements. For the SQL Statements that need to be run, see Appendix > Post-Upgrade SQL Statements
If you have separate ODI repositories for Development (DEV), Testing (TEST) and Production (PROD),
there is a difference in the steps for getting the customizations into the post-upgrade DEV repository
and into the post-upgrade TEST or PROD repository. Assuming that only DEV is open to developers to
make changes and TEST and PROD instances are locked down so content can only be migrated, the
following summarizes the steps.
DEV TEST/PROD
Test/Prod Repo
Version Model
Reapply Customizations
88
Apply Customizations to Generated Load
Plan
The following sections describe the process to import the customizations previously exported from the
pre-upgrade repository into the post-upgrade DEV repository. Refer to the T2P ODI Migration
document for the steps to migrate the customizations from the DEV repository to TEST and PROD
repositories.
An important difference in the two processes is the use of Regular and Smart import. Smart import’s
default behavior is to overwrite the target while Regular import allows us to merge with the target.
Smart import brings a lot of extra objects while Regular import just brings the objects you specified.
When moving from pre-upgrade to post-upgrade, we want to move only the customized objects. Using
Smart import would bring almost all objects from the pre-upgrade repository and by default overwrite
the objects in the post-upgrade repository. As the post-upgrade repository includes bug fixes and
enhanced functionality, we would lose all of that and replace it with the legacy pre-upgrade objects.
Regular import does not bring these extra objects with it.
When moving from DEV to TEST, the objects in the DEV repository should be replacing the objects in
TEST as they represent the bug fixes and enhanced functionality. For migrating, we use Smart Import to
bring all objects as these objects should always take precedence and overwrite what is in the target.
Very important! The following steps are implemented in the DEV repository only. For migrating
changes to TEST and PROD repositories, you follow the T2P Migration document.
Import Datastores
It is important to import the datastores first prior to importing the customized ETL tasks.
1. Launch the ODI Studio client and connect to the ODI Repository for BI Applications 11.1.1.8.1.
2. Navigate to Designer -> Models -> Oracle BI Applications (folder) -> Oracle BI Applications
(Model)
a. Right click the model, select Version -> Create Version. Create an initial version.
89
b. Perform these steps again to create the version with customizations.
c. Once the second version is complete, the two versions will match. However, after the
customizations are imported, the two will no longer match. The original version reflects
the out-of-the-box datastores while the new version reflects the merged datastores,
allowing comparison between the two.
In the Import Datastore window, ensure ‘Import Type’ is ‘Synonym Mode INSERT’. Update
mode will update existing columns to reflect their pre-upgrade state while Insert/Update
90
mode will delete columns that were introduced in the upgrade repository but do not exist in
the pre-upgrade repository.
Navigate to the directory where you previously exported the custom datastores
Check the boxes for each datastore to be imported and click ‘OK’
If prompted to declare the repository ID and continue with the import, select ‘Yes’. You may see this
prompt multiple times, click ‘Yes’ each time.
When the import completes, you should see a summary report similar to the following.
91
The upgrade datastores will now be merged with the pre-upgrade customizations.
In INSERT mode, the import will bring in the custom columns into datastore. In the 7.1 repository, these
are usually the last columns. In the 8.1 repository, Oracle may have added columns and these will have
a conflicting position ID. Or a column simply may have moved between 7.1 and 8.1. These columns will
92
appear to have the same position number but this does not cause any issues. As an optional step, you
can have ODI recalculate the position numbers.
Double click on any column in the datastore. Without making any changes, now select another column.
ODI will automatically recalculate the position numbers. Save the datastore.
93
In the Import Sub-Folder window, ensure ‘Import Type’ is ‘Synonym Mode INSERT’
Navigate to the directory where you previously exported the custom folders
Check the boxes for each folder to be imported and click ‘OK’
94
When the import completes, you can see your custom folder and its corresponding customized objects.
At this point, it is necessary to merge any customizations with any changes that may have been
introduced in the upgrade repository. For example, a column may have been added to a table that was
customized (as in the W_GL_OTHER_F example earlier) or bug fixes applied or content otherwise
changed by Oracle.
There is no automatic merge mechanism available. The customized and out-of-the-box ETL tasks must
be inspected for changes and the changes manually incorporated into the other. The recommended
approach is to re-copy the out-of-the-box ETL task and re-apply the customizations to this new copy.
Since you are far more familiar with the changes you have made it should be easier to incorporate these
into the new copy rather than figure out the changes Oracle made and incorporate these into your
original copy.
1. Rename the customized ETL task to reflect the pre-upgrade version it was based on.
2. Duplicate the out-of-the-box ETL task per the customization methodology and move to the
Custom folder
95
Inspect the customized ETL task. The custom columns are populated but any new columns
introduced by Oracle are not.
96
Below is the copied interface where the new columns introduced by Oracle are populated but
the custom columns are not. Apply the customizations noted previously in this interface.
97
Generate a Scenario for the newly customized ETL task. Ensure the Scenario Name matches the
out-of-the-box Scenario Name but use a Version Number that is larger than any previously used
Version Number. The BI Apps Load Plans are configured to run the scenario with the largest
number. By retaining the same scenario name and assigning the largest scenario version
number, you do not have to make any changes to the load plan.
98
Apply Customizations to the Generated Load Plans as per the Customization methodology.
Appendix
This section describes how to create a new connection in ODI Studio to the back-up of the ODI
Repository for 11.1.1.7.1 which is now in a new database schema. See section Creating a Back up of the
11.1.1.7.1 ODI Repository above for reference.
To create a new connection in ODI Studio to the back-up of the ODI Repository for 11.1.1.7.1:
99
Configure the connection to use the same ODI user you used before. Configure the connection as a
Master Repository connection. Connect to the repository and navigate to Topology -> Repositories ->
BIAPPS_WORKREP. Edit the repository to change the database user details used by the Work Repository
to use the new schema.
Disconnect from the repository, reconfigure the connection to include the Work Repository, connect
and verify all details are correct.
100
ASSIGNMENT_ID,
WRKFC_SNP_WID,
SNAPSHOT_EFFECTIVE_DT,
MANAGER_ROLE_IND,
HOME_ASSIGNMENT_ID,
PERSON_INTEGRATION_ID,
CHANGE_EVENT_TYPE,
EVENT_YEAR,
ASSIGNMENT_NUMBER,
ASSIGNMENT_TYPE,
EVENT_DT_WID,
EVENT_MONTH_WID,
EVENT_QTR_WID,
EVENT_YEAR_WID,
EMPLOYEE_WID,
HR_ASSIGNMENT_WID,
HR_PERSON_WID,
HR_PERSON_LEG_WID,
HR_ORG_WID,
HR_ORG_PRV_WID,
JOB_WID,
JOB_PRV_WID,
PAY_GRADE_WID,
PAY_GRADE_PRV_WID,
HR_POSITION_WID,
HR_POSITION_PRV_WID,
LOCATION_WID,
LOCATION_PRV_WID,
SUPERVISOR_WID,
SUPERVISOR_PRV_WID,
SUP_HR_PERSON_WID,
EMPLOYMENT_WID,
SUP_HR_ASSIGNMENT_WID,
ESTABLISHMENT_WID,
HR_BUSINESS_UNIT_WID,
SUP_HR_PERSON_PRV_WID,
SUP_HR_PERSON_LEG_WID,
COMPANY_ORG_WID,
EVENT_TYPE_RSN_WID,
EMP_POSTN_DH_WID,
INTL_ASSGN_WID,
AGE_BAND_WID,
PERFORMANCE_BAND_WID,
PERFORMANCE_BAND_PRV_WID,
PRD_OF_WRK_BAND_WID,
101
ENTERPRISE_WID,
COST_CENTER_WID,
COMPARATIO_BAND_WID,
SALARY_BAND_WID,
HIRE_DT,
LAST_HIRE_DT,
POW_START_DT,
BIRTH_DT,
ORG_ENTRY_DT,
JOB_ENTRY_DT,
GRD_ENTRY_DT,
POS_ENTRY_DT,
LOC_ENTRY_DT,
LAST_PROM_DT,
LAST_SAL_INCR_DT,
HEADCOUNT,
HEADCOUNT_ASG,
FTE,
FTE_ASG,
SALARY_ANNL,
SALARY_MONTH,
SALARY_DAY,
SALARY_HOUR,
SALARY_ANNL_ASG,
SALARY_MONTH_ASG,
SALARY_DAY_ASG,
SALARY_HOUR_ASG,
COMPARATIO,
TOTAL_SERVICE_DAYS,
CURRENT_SERVICE_DAYS,
CURRENT_SERVICE_MONTHS,
AGE_IN_MONTHS,
NRMLSD_PERF_RATING,
NRMLSD_PERF_RATING_ASG,
ORIG_PERF_RATING,
STD_HOURS_MONTH,
STD_HOURS_DAY,
IASG_ALLCTN_FACTOR,
EMP_IND,
CWK_IND,
DOC_CURR_CODE,
LOC_CURR_CODE,
LOC_EXCH_RATE_TYPE,
LOC_EXCHANGE_RATE,
EXCHANGE_DT,
102
GLOBAL1_EXCHANGE_RATE,
GLOBAL2_EXCHANGE_RATE,
GLOBAL3_EXCHANGE_RATE,
CREATED_BY_WID,
CHANGED_BY_WID,
CREATED_ON_DT,
CHANGED_ON_DT,
AUX1_CHANGED_ON_DT,
AUX2_CHANGED_ON_DT,
AUX3_CHANGED_ON_DT,
AUX4_CHANGED_ON_DT,
EFFECTIVE_FROM_DT,
EFFECTIVE_TO_DT,
DELETE_FLG,
W_INSERT_DT,
W_UPDATE_DT,
DATASOURCE_NUM_ID,
ETL_PROC_WID,
INTEGRATION_ID,
TENANT_ID,
X_CUSTOM)
select
ASSIGNMENT_ID,
WRKFC_SNP_WID,
SNAPSHOT_EFFECTIVE_DT,
MANAGER_ROLE_IND,
HOME_ASSIGNMENT_ID,
PERSON_INTEGRATION_ID,
CHANGE_EVENT_TYPE,
EVENT_YEAR,
ASSIGNMENT_NUMBER,
ASSIGNMENT_TYPE,
EVENT_DT_WID,
EVENT_MONTH_WID,
EVENT_QTR_WID,
EVENT_YEAR_WID,
EMPLOYEE_WID,
HR_ASSIGNMENT_WID,
HR_PERSON_WID,
HR_PERSON_LEG_WID,
HR_ORG_WID,
HR_ORG_PRV_WID,
JOB_WID,
JOB_PRV_WID,
PAY_GRADE_WID,
103
PAY_GRADE_PRV_WID,
HR_POSITION_WID,
HR_POSITION_PRV_WID,
LOCATION_WID,
LOCATION_PRV_WID,
SUPERVISOR_WID,
SUPERVISOR_PRV_WID,
SUP_HR_PERSON_WID,
EMPLOYMENT_WID,
SUP_HR_ASSIGNMENT_WID,
ESTABLISHMENT_WID,
HR_BUSINESS_UNIT_WID,
SUP_HR_PERSON_PRV_WID,
SUP_HR_PERSON_LEG_WID,
COMPANY_ORG_WID,
EVENT_TYPE_RSN_WID,
EMP_POSTN_DH_WID,
INTL_ASSGN_WID,
COALESCE(AGE_BAND_WID, -2),
PERFORMANCE_BAND_WID,
PERFORMANCE_BAND_PRV_WID,
COALESCE(PRD_OF_WRK_BAND_WID, -1),
ENTERPRISE_WID,
COST_CENTER_WID,
COMPARATIO_BAND_WID,
SALARY_BAND_WID,
HIRE_DT,
LAST_HIRE_DT,
POW_START_DT,
BIRTH_DT,
ORG_ENTRY_DT,
JOB_ENTRY_DT,
GRD_ENTRY_DT,
POS_ENTRY_DT,
LOC_ENTRY_DT,
LAST_PROM_DT,
LAST_SAL_INCR_DT,
HEADCOUNT,
HEADCOUNT_ASG,
FTE,
FTE_ASG,
SALARY_ANNL,
SALARY_MONTH,
SALARY_DAY,
SALARY_HOUR,
104
SALARY_ANNL_ASG,
SALARY_MONTH_ASG,
SALARY_DAY_ASG,
SALARY_HOUR_ASG,
COMPARATIO,
TOTAL_SERVICE_DAYS,
CURRENT_SERVICE_DAYS,
CURRENT_SERVICE_MONTHS,
AGE_IN_MONTHS,
NRMLSD_PERF_RATING,
NRMLSD_PERF_RATING_ASG,
ORIG_PERF_RATING,
STD_HOURS_MONTH,
STD_HOURS_DAY,
IASG_ALLCTN_FACTOR,
EMP_IND,
CWK_IND,
DOC_CURR_CODE,
LOC_CURR_CODE,
LOC_EXCH_RATE_TYPE,
LOC_EXCHANGE_RATE,
EXCHANGE_DT,
GLOBAL1_EXCHANGE_RATE,
GLOBAL2_EXCHANGE_RATE,
GLOBAL3_EXCHANGE_RATE,
CREATED_BY_WID,
CHANGED_BY_WID,
CREATED_ON_DT,
CHANGED_ON_DT,
AUX1_CHANGED_ON_DT,
AUX2_CHANGED_ON_DT,
AUX3_CHANGED_ON_DT,
AUX4_CHANGED_ON_DT,
EFFECTIVE_FROM_DT,
EFFECTIVE_TO_DT,
DELETE_FLG,
W_INSERT_DT,
W_UPDATE_DT,
DATASOURCE_NUM_ID,
ETL_PROC_WID,
INTEGRATION_ID,
TENANT_ID,
X_CUSTOM
from W0WRKFC_SNP_F;
commit;
105
UPDATE W_PROJ_COST_LINE_F
SET PRVDR_ENTERPRISE_GL_DT_WID =
TO_NUMBER(SUBSTR(PRVDR_ENTERPRISE_GL_DT_WID, LENGTH(PRVDR_GL_MCAL_CAL_WID)+ 1, 8))
WHERE PRVDR_ENTERPRISE_GL_DT_WID <> 0;
COMMIT;
UPDATE W_ETL_LOAD_DATES
SET COMMITTED = '0'
WHERE TARGET_TABLE_NAME IN ('W_PROJ_COST_A','W_PROJ_COST_LINE_TMP','W_PROJ_COST_A_TMP');
COMMIT;
UPDATE W_ETL_LOAD_DATES
SET COMMITTED = '0'
WHERE PACKAGE_NAME LIKE '%SDE_ORA_DOMAINGENERAL_PROJECTSTATUS'
OR PACKAGE_NAME LIKE '%SDE_ORA_STATUSDIMENSION_PROJECTSTATUS';
COMMIT;
106