Obiee and Obia 11g
Obiee and Obia 11g
I. Pre requisites
Oracle database must be there
JDK 7 must be there for 11.1.1.9.2 (initially it was jdk8 for me and I faced issues)
Setup loop back adapter and host file name:
Reference: http://gerardnico.com/wiki/windows/loop_back_adaptater
setup env variables: path and java_home
java -d64 –version
Reference: http://dwteam.in/weblogic-10-3-6-installation-on-64-bit-os-with-jdk-7/
https://docs.oracle.com/cd/E24902_01/doc.91/e18840/install_config_10_3_6.htm#EOHWL188
The config.bat file is located in /bin. In my case the file is shown in the below path:
Right click on the bat file and selected run as Administrator:
pAssword: welcome1
d. Issues faced during Configure Domain:
Issues I faced till successful BI config process:
1. JDK issue :
2. OUI issue
Solution: The Classpth env variable was set to the lib directory of jdk previously itself, had to remove
it
3. Then next issue came as instance cannot be created faced during BI config process itself:
Solution: removed the env variable that was previously set as oracle_HOME
4. Issue faced since I resued the same metadata schema to when I did the BI config process for the
second time:
Solution:
Login into SQLPLUS and connect BIPLATFORM Schema with the same credentials which we have given
when we installed.
once we connected with BIPLATFORM Schema delete the entry which is available in the
HSS_COMPONENT table and commit the table.
SQL> COMMIT;
Commit Complete;
Now start the installation and give the BIPLATFORM AND MDS schema details in its related steps. The
error will no more exist.
NB: But better to use a new metadata schema on a safer side if you face issue during Bi config process.
5 .Last type of issue that I faced during Bi config process was
java heap space issue in admin server :
Solution:
set the USER_MEM_ARGS as system environment variable. As given below:
NB:
If you face Java Heap space issue after you have done the installation then you can edit the
setdomainenv.bat file and set it up.
D:\FMWHome2\user_projects\domains\bifoundation_domain\bin\ setDomainEnv.cmd
6 . Did the reinstallation after a clean uninstallation
Reference for clean uninstallation including registry clean up:
http://pagelock.blogspot.in/2012/07/how-to-clear-registry-and-do-clean.html
NB :
No need to apply the bundle patches of obiee because that would be automatically taken care by the
technology patches
The RCU uses .dmp files to create the required schemas. The .dmp files for each schema must be copied
to a directory with global write access on the database server machines(System on which DB is
installed). RCU writes log files to this directory.
The .dmp files are located in BIA_RCU_HOME/rcu/integration/biapps/schema.
Navigate to the below folder and click on the rcu.bat file:
Password: welcome1
In the below screen; In the Value field in the Custom Variables screen, for each schema enter the
directory path of the folder on the database server that contains the .dmp file(mentioned at the start of
the RCU process).
So You must now enter the name of the directory where the .dmp file (obia.dmp in this case) was
copied to on the database server . You do not need to specify the file name(VERY
IMPORTANT ;otherwise it will fail; it has failed for me due to the same reason):
Click Manage Tablespaces.
In the left-side navigation panel, select the appropriate tablespace name.
In the main window, select the tablespace name under the Datafiles heading.
Click the Edit icon to display the Datafile dialog.
In the Edit Datafile dialog, set the temporary tablespace size according to the screenshots below.
Give 20 in the Size column
Give 10 GB in the size column
Enter 15 GB in the temp space.
b. ODI Installaiton
NB :No need to apply the bundle patches for ODI 11.1.1.7.0 because that would be automatically
taken care by the technology patches. The version does get patched up during the patching process
later on, but not up to ODI 12c.
To start the installer, go to the directory where the archived file has been unpacked and switch to
the Disk1 directory.
cd <unpacked_archive_directory>\Disk1
setup.exe -jreLoc <JRE_LOCATION>
The installer requires the full path to the location of a Java Runtime Environment (JRE) on the system,
which must be specified using the –jreLoc parameter. While installing Oracle WebLogic Server, a JRE was
installed on the system in the jdk directory inside the Middleware home. We can use this location as
the JRE_LOCATION to start the installer.
Below screenshot highlights my jre path in middleware home.
Reference: http://www.redstk.com/installing-bi-apps-11-1-1-8-1-part-2-installing-bi-apps/
( MAKE SURE ALL THE SERVICES ARE SHUT DOWN WHEN U APPLY PATCHES)
Run the BI Apps Installer from command prompt as we did for ODI.
setup.exe -jreLoc .
Reference: http://www.redstk.com/installing-bi-apps-11-1-1-8-1-part-2-installing-bi-apps/
https://docs.oracle.com/cd/E53672_01/doc.111191/e53673/GUID-0EAF50FB-0A44-4E88-B3B1-
09A5F3E806D2.htm#BIAIN24468
Generic Part 1
Generic Part 2
Microsoft Windows x86-64 bit
Unzip them simultaneously into the same folder(say C:\Patches)
Run a script to apply the patches. The script is a Perl script and is available in
/biapps/tools/bin/APPLY_PATCHES.pl.
The Perl script requires a parameter input file (apply_patches_import.txt) present in the same folder. In
this procedure, before running the Perl script, update the parameter input file to reflect the appropriate
directory paths.
Create a writable directory where logs and temporary patch files will be stored. In the
apply_patches_import.txt file, set the WORKDIR=variable to point to the path for this directory(here C:\
Windows\Temp\work)
Specify the following directory paths:
Directory Path
WINDOWS_UNZIP_TOOL_EXE If the platform is Windows, then specify an unzip tool exe with the
complete path. The supported unzip tools are Winzip command line and
7-Zip command line.
For example, for the Winzip tool:
c:{PathSep}Program Files{PathSep}WinZip{PathSep}wzunzip.exe
For example, for the 7-Zip tool:
c:{PathSep}Program Files{PathSep}7-Zip{PathSep}7z.exe
WORKDIR Path of a writable directory where logs and temporary patch files are
stored.
Example file:
Already applied patches were automatically skipped. No registry change and all happen during this patch
application only file movement happens. The final patching report log was as given below:
final_patching_report.log (summary of patch application)
biappshiphome_generic_patches.log
biappshiphome__patches.log
odi_generic_patches.log
oracle_common_generic_patches.log
weblogic_patching.log
I didn’t find the windows specific patch logs in the work directory. So I checked with the Opatch
command.
Navigate to the below path:
D:\FMWHome2\Oracle_BI1\OPatch
And type the below command opatch version
Then type opatch lsinventory just to verify whether that patch is applied or not.
You must start the BI Managed Server using WLS Admin Console. Start the BI processes using OPMN.
VI. UPDATING ATGLite(Must not skip this step)
Use these instructions to update the ATGLite data in the BIACOMP schema.
Upgrade ATGLite schemas from 11.1.1.7.0 to 11.1.1.7.3 before configuring BI Applications.
OR
In 11.1.1.9 series GUI is available to perform the upgrade.
I faced an issue at this point:
It was an Adhoc issue. But in order to resolve it out as per an oracle document I performed the below
steps.
But again I faced the same issue saying the status string in INVALID. So I manually updated the status
stirng of ATGLITE schema to VALID in schema_version_registry and then the examine was successful
and it allowed me to proceed. Actually what has happened was; initially when the psa has performed the
check it could not connect to the database and set the status string as INVALID ,which was being
reflected again and again in the next exam check. After changing it manually everything went fine.
Log entry:
Database driver name: Oracle JDBC driver
[2015-11-13T12:54:10.600+05:30] [Framework] [NOTIFICATION] [upgrade.Framework] Database
driver version: 11.2.0.3.0
[2015-11-13T12:54:10.607+05:30] [ATGLITE] [NOTIFICATION] [upgrade.ATGLITE.ATGLITE] #########
Source Release: 11.1.1.7.0
[2015-11-13T12:54:10.608+05:30] [ATGLITE] [NOTIFICATION] [upgrade.ATGLITE.ATGLITE] #########
Target Release: 11.1.1.7.3
[2015-11-13T12:54:10.608+05:30] [ATGLITE] [NOTIFICATION] [upgrade.ATGLITE.ATGLITE] #########
statusstring: INVALID
The log is available in the below path:
Path of the patch assistant logs: D:\FMWHome2\oracle_common\upgrade\logs
VII. UPDATING FSM (Must not skip this step)
The log showed as below:
iddleware upgrade
[2015-11-13T13:28:05.728+05:30] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 15] [ecid:
0000L3zqGyA8hoH_Mth8ie1MHPUZ000003,0] Db connect string for FSM jdbc:oracle:thin:sys as
sysdba/******@localhost:1521:orcl12c
[2015-11-13T13:28:12.768+05:30] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 15] [ecid:
0000L3zqGyA8hoH_Mth8ie1MHPUZ000003,0] Db connect string for FSM
jdbc:oracle:thin:DEV3_BIACOMP/******@localhost:1521:orcl12c
[2015-11-13T13:28:12.854+05:30] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 30] [ecid:
0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] Starting to examine components.
[2015-11-13T13:28:12.860+05:30] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 30] [ecid:
0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] Libraries for FSM.FSM
[2015-11-13T13:28:12.860+05:30] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 30] [ecid:
0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0]
D:/FMWHome2/Oracle_BI1/jlib/FunctionalSetupManagerLitePlugin.jar
[2015-11-13T13:28:12.897+05:30] [Framework] [INCIDENT_ERROR] [UPGAST-00056]
[upgrade.Framework] [tid: 30] [ecid: 0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] error initializing
upgrade plug-in for FSM.FSM
[2015-11-13T13:28:12.897+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 30]
[ecid: 0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] Cause: An unexecpted error occurred initializing an
upgrade plug-in.
[2015-11-13T13:28:12.897+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 30]
[ecid: 0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] Action: Contact Oracle Support Services. See the
secondary error message for additional details.
[2015-11-13T13:28:12.897+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 30]
[ecid: 0000L3zqX5q8hoH_Mth8ie1MHPUZ000004,0] [[
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:4
5)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.ias.update.plugin.Plugin.instantiatePlugin(Plugin.java:241)
at oracle.ias.update.plugin.Plugin.(Plugin.java:222)
Reference Doc:
https://community.oracle.com/thread/3755902
Solution1:
OR
Solution2:
If you want to do the FSM upgrade with Patch Set Assistance , then run the PSA with the jdk installed as
part of OBI Installation in OBI_HOME/jdk , it will work fine. Change the $JAVA_HOME variable in
WLS_HOME/oracle_common/bin/commEnv.sh set this to OBIEE jdk .
You'll need to run the configApps.bat or configApps.sh file to extend the BI Domain to
deploy Oracle BI Applications and to configure the components.
During this phase, these key configurations occur:
1. Before running the configApps process, ensure that WLS Admin Server, Node Manager,
and BI Services are running.
2. Start the configuration utility from the bin directory in the Oracle home (default folder
name is Oracle_BI1), based on the operating system:
UNIX commands:
cd ORACLE_HOME/bin
./configApps.sh
Windows commands:
cd ORACLE_HOME\bin
configApps.bat
Issue faced: (Solution given after this step)
Navigate to the below path:
D:\FMWHome2\Oracle_BI1\bin
NB: I faced an issue here ; the configbiApps.bat has to be invoked from command prompt
otherwise it would invoke config.bat by default that is the configuration for OBIEE
11.1.1.7.0. as per the above screenshot and it would give an error as “only empty domain
can be extended”
Solution:
So I invoked the .bat file from command prompt and then got the below screen which is the
expected one:
welcome1
Admin123
welcome1
welcome1
welcome1
Got an issue here. This issue happened since I have done an update step during the ATG upgrade step. If
you have not done it you will not face this issue.
Solution:
update schema_version_registry
set COMP_ID = 'ATG', MR_NAME='ATG', MR_TYPE='ATG'
where COMP_ID ='ATGLITE' and OWNER='DEV3_BIACOMP'
After committing the above script; it passed to the next screen:
welcome1
welcome1
The configuration will take some time wait patiently☺.
IX. CREATING ODI LOGIN
You install ODI Studio using the Oracle Data Integrator installer.
Note these points:
On the Select Installation Type screen, select Developer Installation as the installation type and
both options under Developer Installation, that is, ODI Studio (with local agent) and ODI SDK.
On the Repository Configuration screen, select the Skip Repository Configuration option.
For instructions on installing ODI Studio, see Oracle Fusion Middleware Installation Guide for Oracle Data
Integrator.
The Oracle Data Integrator Repository is configured for external authentication against the
WebLogic Server embedded LDAP server. ODI Studio must be configured to use the appropriate
security files for authentication. You must perform these steps on all installations of ODI Studio.
Note:
You must perform these steps even if ODI Studio has been installed on the machine where
Oracle Home for BI resides.
To configure user access for ODI Studio:
MW_HOME/user_projects/domains/bifoundation_domain/odi-client-config/embedded
To:
ODI_HOME/oracledi/client/odi/bin
Navigated to this location:
D:\FMWHome2\user_projects\domains\bifoundation_domain\odi-client-config\
embedded
3. AddVMOption -Doracle.security.jps.config=./jps-config-jse.xml
If you do not successfully complete these steps, you will receive the following error message:
ODI-10188: Error while login from OPSS<...>/jps-config.xml (No
such file or directory).
4. Perform steps 1 and 2 on all instances of ODI Studio.
Note:
You must perform these steps even if ODI Studio has been installed on the system where Oracle
Home for BI resides.
Use this procedure to register a source system and propagate the connection details to
Oracle Data Integrator.
To register a source system:
1. Launch Oracle BI Applications Configuration Manager using the URL http://
:/biacm, and log in as the BI Applications Administrator user
2. In the navigation pane, select the Define Business Intelligence Applications Instance link, which appears under
System Setups.
The Source Systems tab is displayed.
3. Click the Add icon.
The Register Source dialog displays.
After this click the save and close button and after that the below screen appears:
Now logging to ODI Studio and navigate to Topology tab. This time I faced an issue
as given below ; It didn’t allowed me to login:
Issue :
Solution :
I didn’t do much. But did a full restart after checking the config file in odi client
location and verifying it for the same.
After logging in navigate to topology page. The changes that we have done in the
biacm config manger should be reflected here.
Select the appropriate value from the drop down.
c. Enabling Offerings for Deployment (basically selecting the verticals)
XI. Extracted the HR Project alone from the RPD to reduce the rpd
size(Optional)
I wanted to reduce the huge rpd size and keep only the HR project module in BI Apps rpd so I ran the
extract projects utility as given below:
Command:
Invoke the command form the bi-init window as given in the below screenshot.
extractprojects -B D:\FMWHome2\instances\instance2\bifoundation\OracleBIServerComponent\
coreapplication_obis1\repository\OracleBIApps.rpd -O D:\FMWHome2\instances\instance2\
bifoundation\OracleBIServerComponent\coreapplication_obis1\repository\OracleBIApps_udu2.rpd -I
"Human Resources Analytics Fusion Edition" -I DataLineage_Project –L