Installing Bi Apps 11
Installing Bi Apps 11
Installing Bi Apps 11
1: PART 2
INSTALL & CONFIGURE BI APPS
by Paul Cannon on 23rd May 2014 51 comments
Before beginning the pre-requisites in Part 1 must have been performed they install
the OBIEE platform onto which BI Apps will be installed as well as setup ODI and the
database warehouse & repository schemas.
Carrying on then, we are now at the point of starting the BI Apps installation.
INSTALL ORACLE BI
APPLICATIONS
From the files downloaded in Part 1, unzip Oracle Business Intelligence Applications
(11.1.1.8.1).zip into a temporary directory. From within here go to the biappsshiphome
directory and run:
./runInstaller -jreLoc <OBIEE_HOME>/Oracle_BI1/jdk
The Oracle Home Directory must be the same directory under which OBIEE is installed
I seen this screen default to the next number up (Oracle_BI2) sometimes in previous
installations of BI Apps, so double check it and change it back to the original OBIEE
directory if necessary. If you dont change this the installer just hangs, no messages, no
files being copied, it just sits there indefinitely!
This has installed the BI Apps software into the OBIEE 11g home directory, but as yet it
is not configured or ready to use.
Before beginning ensure OBIEE, ODI and Weblogic is stopped including the node
manager.
Download and unzip to a temporary directory three patch files:
Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications
(Part 1 of 2).zip
Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications
(Part 2 of 2) .zip
Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications
for Microsoft Windows x86 (64bit).zip
WL_HOME=/scratch/aime/work/mw_home/wlserver_10.3
SOA_HOME=/scratch/aime/work/mw_home/Oracle_SOA1
ODI_HOME=/scratch/aime/work/mw_home/Oracle_ODI1
#RequiredAnexistingwritabledirectorytocreatelogsandtemppatchfiles
WORKDIR=/scratch/aime/tmp/work
#RequiredPathofpatchdirectorytillthereleasepatchsetfolderwhichisinside
patches4fa/dist
#i;ethepatchsetfolderforaparticularreleasetoapplypatchfrom
#eg;/scratch/aime/tmp/ps1/biappsshiphome/patches4fa/dist/ps6rc3
PATCH_ROOT_DIR=/scratch/aime/tmp/patches4fa/dist/ps6rc3
cd /u01/app/biapps/Oracle_BI1/biapps/tools/bin
perl APPLY_PATCHES.pl
/u01/app/biapps/Oracle_BI1/biapps/tools/bin/apply_patches_import.txt
PatchSucceded:p18204886_111170_Generic.zip
*WeblogicPatchingReport..........
If any of the patches fail you can see individual patch logs in the WORKDIR directory
which may help resolve any issues.
Both commands generate a log of steps which should end with Completed component
upgrade:
Weblogic and OBIEE can now be restarted by running your normal start script
(biapps.sh if you used the one from part 1 of this blog).
You can see the impact of the patching by logging into OBIEE with the Weblogic admin
user and clicking in the Administration link at the top of the page. In the Administration
screen you can see that the version of OBIEE has changed from the 11.1.1.7.0 that was
originally installed to 11.1.1.7.131017:
CONFIGURE BI APPLICATIONS.
At this point the BI Apps and ODI software has been installed but not yet deployed to the
weblogic server. So the next step is run the configuration wizard to perform the
deployments.
In summary the following components are about to be deployed:
ODI
Java EE Agent
ODI Console
Also an Administrator user for BI Apps will be created and the ODI repository will be
configured.
To start the configuration wizard locate and run the following command:
<OBIEE_HOME>/Oracle_BI1/bin/configApps.sh
Skip past the welcome screen:
Enter the password for the Weblogic admin user (the other fields should be default
filled):
The next screen shows you the home location details, but you cant change anything:
You now need to specify a password for the OBIEE repository a new RPD file will be
installed by this process.
Next you need to create a new admin user for BI Apps. This will be the main admin user
for both BI Apps and ODI:
Now you need to provide the location and user-id/password for the OBIEE MDS schema
created by the RCU when OBIEE was installed.
Then it needs the connection details for the data warehouse schema, BIAPPS_DW:
Next you can specify the ports, but again Im keeping defaults 9704 for BIACM and
15001 for the ODI Console:
Then confirm the details are correct before starting the configuration:
Take a note of the installation details (URLs etc) and save them before closing the
Configuration tool.
Again choose to skip the Repository Configuration in this case because its already
been done.
For the client studio installation FTP these two files from the OBIEE server to this
directory on the client machine.
Note: these files will need to be regenerated and copied whenever the bi apps
administrator password, or any ODI users passwords, are changed in weblogic.To
regenerate these files run:
ORACLE_HOME/common/bin/wlst.sh
<MW_Home>/Oracle_BI1/bifoundation/install/createJPSArtifactsODI.py embedded
--ADMIN_USER_NAME <Administrator> --DOMAIN_HOSTNAME <Hostname>
--DOMAIN_PORT 7001 --DOMAIN_HOME_PATH <MW
Home>/user_projects/domains/bifoundation_domain
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odi_hfm.jar
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_common.jar
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/ess_es_server.jar
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/ess_japi.jar
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_essbase.jar
AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_planning.jar
AddVMOption -Dnative.canonicalization=false
AddVMOption -Doracle.security.jps.config=./jps-config.xml
AddVMOption -Doracle.odi.studio.ess=false
AddVMOption -Dide.AssertCheckingDisabled=true
AddVMOption -Dide.AssertTracingDisabled=true
AddVMOption -DLOG_FILE=studio.log
AddVMOption -Dsun.java2d.noddraw=true
SetJavaHome /u01/app/biapps/Oracle_BI1/jdk
SETUP REPOSITORY
CONNECTION IN ODI STUDIO.
Each Studio client installation will need a connection setup to the BI Apps ODI
repository.
Launch the ODI studio. If you are running from the server this can run from:
<OBIEE_HOME>/Oracle_ODI1/oracledi/client/odi.sh
Now fill in the details of the repository, using the biapps user-id created above during the
BI Apps configuration and the BIAPPS_BIA_ODIREPO repository.
To make like easier you should select the work repository now as well
(BIAPPS_WORKREP was setup by the BI Apps configuration above) and set it as the
default connection. Click Test to ensure all is ok before saving.
Now back in the login screen connect with the biapps user-id:
This will by default be pointing at the /etl directory under the OBIEE home directory. This
needs changing to the new directory you copied the ETL files to above.
Then change the Directory (Schema) and Directory (Work Schema) to point to the new
ETL location, including the /data_files/src_files/BIA_11 directory, in my case:
/u01/app/etl/data_files/src_files/BIA_11
Then click save (the disk icon in the menu bar)
Now exit from ODI Studio.
If you are using the script I used in Part 1 on this blog then do then edit this file
(biapps.sh) and perform the following:
After the line:
BIEE_SERVER=bi_server1
echo "********************************************************************************"
REGISTERING SOURCE
SYSTEMS AND PROPAGATING
CONNECTION DETAILS TO ODI
We now need to setup the connection details for the source data systems in my case
Im using the Vision demo in an E-Business suite 12.1.3 database.
Open a browser and enter the following URL:
http://<host>.<port>/biacm
e.g. http://biapps_server.local.com:9704/biacm
In this screen you specify which Product you are using as your data source and its
version. Im using E-Business Suite 12.1.3 so thats what Ive selected.
The source instance name and description are what the connections will be called in BI
Apps, so anything appropriate will do.
The data source number is used in the warehouse to identify where data records come
from, useful if you have more than one source. Enter a 1 in this field as its the first. If
you add additional data sources later on these will increment to 2, 3 and so on.
Click next.
You now need to enter the connection details to the source system
Firstly in the middle context details section select Global as the context. This is the
default context used in the ODI ETL.
In the Connection details section give the connection a name and fill out the driver, url,
username and password fields appropriately. For an E-Business suite connection it
should connect with the APPS user.
Click the Test button to ensure all is ok:
Next in the Connection details section click on the Technology: File System tab.
In here you need to specify the location of the data files for BI Apps. These are located
under the /etl directory created above, under data_files/src_files, then the directory
applicable to the source system, in my case EBS_12_1_3
Enter a name for the server, its host name and then the full path to this directory.
Then click Save and Close
Scroll down the list and select all the Functional Areas you require.
As you check each one you will get a window informing you of shared functional areas
that are also required and therefore also selected:
You can expand the modules and individually include/exclude selected functional areas.
Here I have drilled into Financial Analysis and de-selected Federal Financials:
Once you have selected all the required Module and Functional Areas click save.
Now click on the Business Intelligence Application Offerings and Associated Sources
tab:
This is where you map each functional area to a data source. By default all functional
areas will map to all sources. I have only created one source (E-Business Suite), so that
is all that appears, but in reality you may have multiple sources each used for different
functional areas, so you must disable those combinations which dont apply.
Click save.
In this screen you can change the Preferred Currency Name for each Currency Code
used by BI Apps. As you click on each currency you can see which Functional Areas it
is used by in the bottom window (e.g. contract currency is only used by Project
Analytics). The currency names are displayed on the dashboard in the Account
dialogPreferences settings window for each user.
To change a Currency Name click on it, then click the edit icon. Click save when done.
If you install more than one language you can set the default base language by
highlighting the required language then clicking Set Base Language icon in the toolbar
above.
Click save when done.
to
<ORACLE_HOME>/Oracle_BI1/biapps/biarpdutil/lib
To:
<BI_ORACLE_HOME>/biapps/biarpdutil/lib
Next execute the bi-init.sh script file. This initialises various environment variables for
the OBIEE instance.
This file is located in:
<OBIEE_HOME>/
instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup
As it set variables under Linux make sure you run it with a .-space command, e.g.:
In addition to the OBIEE enbironment variables you also need to add the following
directory to the PATH variable:
<OBIEE_HOME>>/Oracle_BE1/bifoundation/server/bin
export PATH=$PATH:/u01/app/biapps/Oracle_BI1/bifoundation/server/bin
Next edit the Config.txt file that you copied above as follows:
RPD File Name <RPD file name>
RPD Password <RPD password>
RPD Database List <Comma separated list of database names in RPD physical layer for
which the initialization block has to be enabled>
The RPD file will be the RPD file you copied just above, its password was created
earlier on in the BI Apps configuration (screen Step 6 of 15)
Note: The values in the RPD Database List must include all initialization blocks related
to the source system that need to be enabled. Oracle BI Server must be included as a
value in the RPD Database List if an initialization block that needs to be refreshed from
the Oracle BI EE Server is to be enabled.
The full list is:
RPD Database List
<
Oracle Data Warehouse,
Oracle BI Application Configuration,
Oracle DB InitBlock Initialization,
Oracle EBS OLTP,
PeopleSoft OLTP,
Siebel OLTP,
Oracle BI Server,
oracle.apps.crm.model.analytics.applicationModule.CrmAnalyticsAM_CrmAnalyticsAMLoc
al,
oracle.apps.fscm.model.analytics.applicationModule.FscmTopModelAM_FscmTopModelA
MLocal,
oracle.apps.hcm.model.analytics.applicationModule.HcmTopModelAnalyticsGlobalAM_Hc
mTopModelGlobalAMLocal,
CRM_OLTP
>
In the Home page in the left hand pane there is a section called Get Started and
under here a drop-down option called Download BI Desktop Tools. Under here choose
the Oracle BI Client Installer (either 32 or 64 bit depending on your client windows
version):
and you will need to access this directory in a dos command window later on, so I
usually shorten it to C:Program FilesOBIEE_Client
When you close the installer it will automatically open the window ODBC Data Source
Administrator:
The reason for this is to setup an ODBC link using the Oracle BI Server driver to the
OBIEE server to enable on-line editing of the repository. This is something I generally
discourage off-line editing and keeping versioned copies of the RPD file is a much
safer way of maintaining the repository especially with very large complex repositories
like the BI Apps one. I therefore usually cancel out of the ODBC Admin tool without
creating the data source.
You now need to copy (ftp) the repository OracleBIApps.rpd file from the BI Apps server
to your client pc.
From above this repository file is stored in:
<OBIEE_HOME>/instances/instance1/bifoundation/OracleBIServerComponent/coreappl
ication_obis1/repository
Now launch the Administration Tool from the start menu:
Once open, use File -> Open Offline to open the RPD file. The password when it
prompts for it is the one you entered during the BI Apps configuration above (screen
Step 6 of 15).
It will take a short while to open, it is very large the new version for 11.1.1.8.1 now
contains the mappings for Fusion Apps, so its almost twice the size as the previous
version. Later on Ill cover trimming out the unneeded mappings to reduce its size.
OBIA_CRM_CURRENCY_PREFERENCES
OBIA_FINANCIAL_CURRENCY_PREFERENCES
OBIA_HCM_CURRENCY_PREFERENCES
OBIA_MARKETING_CURRENCY_PREFERENCES
OBIA_MFG_CURRENCY_PRFERENCES
OBIA_PARTNER_CURRENCY_PREFERENCES
OBIA_PROCUREMENT_CURRENCY_PREFERENCES
OBIA_PROJECT_CURRENCY_PREFERENCES
OBIA_SALES_CURRENCY_PREFERENCES
OBIA_SCM_CURRENCY_PREFERENCES
From in the open repository, select Manage -> Identity from the menu.
In the list of Application Roles locate each of the above roles one at a time:
Copy the contents of the Data Filter field into a text editor (re-format across multiple
lines to make it easy to read):
Then paste it back into the data filter field (you need to edit back into a single line before
pasting)
Click ok to save and then repeat for all of the other currency roles.
if you are running this on a windows server where OBIEE was installed run bi-init.cmd
from the
<obiee_home>instancesinstanceXbifoundationOracleBIApplicationcoreapplicationsetup
directory.
Note this doesnt appear to do much, but it alters the path and environment variables
ready for the next commands.
Repeating the -I project_name parameter for each project that has been purchased.
To see a full list of the projects included in this release see the Supported Source
Applications tab of the certification spread sheet downloaded at the start of the install
process in part 1 of this blog. The Oracle BI Application column lists the projects:
However this spread sheet does not contain the actual project names, for this look in the
RPD in the Manage -> Projects window:
In this case I just want the Financial,HR, Procurement & Spend and Supply Chain &
Order Management analytics projects, which are called:
If you then open the new RPD in the Administration Tool you see it opens a lot faster
and contains less content:
All that remains is to deploy this RPD to OBIEE. First rename the file back to
OracleBIApps.rpd (deleting or renaming the original one).
Now open a browser and enter the URL for the enterprise
manager: http://servername:7001/em and login with as Weblogic admin user.
In the left hand pane expand Business Intelligence and click on coreapplication:
Now click on the Deployment tab and Repository Sub-tab. Then click Lock and Edit
Configuration and wait for the confirmation screen to appear.
Click the Browse button in the Upload BI Server Repository section and navigate to
and select the new OracleBIApps.rpd file. Wait a few seconds for the new file to be
upload this has completed when the Browse button disappears and an Update
button appears in its place:
Now enter the repository password twice then click the Apply button. Note that the
Default RPD file name as incremented to OracleBIApps_BI0003. Now click Activate
Changes
Once the changes have been activated the OBIEE services need to be restarted. Click
on the link to Restart to apply recent changes.
Now in the overview screen click the Restart button:
Thats it! BI Apps is now installed and ready for use. In Part 3 Ill run through the steps
to perform a basic data load from my E-Business Suite source system and give access
to the reports in OBIEE.