Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 25

Table of Contents

PURPOSE...................................................................................................................................................................3
PREREQUISITE FOR DISCOVERER SETUP.............................................................................................3
SYSTEM REQUIREMENTS..........................................................................................................................................3
MOUNT THE DISCOVERER CD.................................................................................................................................3
STEPS FOR DISCOVERER SETUP.................................................................................................................4
DISCOVERER UPGRADE..........................................................................................................................................16
POST INSTALL STEPS......................................................................................................................................22
APPLY PATCH...........................................................................................................................................................22
COPY DBC FILE......................................................................................................................................................22
UPDATE TNSNAMES.ORA FILE................................................................................................................................22
CREATE DISCOVERER TABLESPACE......................................................................................................................22
CREATE THE DISCOVERER EUL............................................................................................................................23
COPY SUN JAVA PLUG-IN......................................................................................................................................24
EDIT THE DISCOVERER CONFIGURATION FILE....................................................................................................24
TESTING YOUR NEW CONFIGURATION.................................................................................................................25
E-BUSINESS SUITE CONFIGURATION FOR DISCOVERER..........................................................25
CONTEXT FILE CHANGES........................................................................................................................................25
SET PROFILE OPTIONS AT SITE LEVEL.................................................................................................................25
REGENERATE YOUR BUSINESS VIEWS.................................................................................................................26
ADDITIONAL CONFIGURATIONS.............................................................................................................................26
References................................................................................................................................................................28

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 2 of 25
Purpose
This document describes the installation of non standalone server discoverer installations
and Steps to Integrate with E-Business Suite .

Prerequisite for Discoverer setup:


1. Ensure that OID has been setup before starting the installation.

System Requirements
Check if the following RPM’s have been installed in the server
binutils-2.16.91.0.5-23.4
gcc-4.1.0-28.4
gcc-c++-4.1.0-28.4
glibc-devel-2.4-31.2
libgcc-4.1.0-28.4
libstdc++-devel-4.1.0-28.4
libstdc++-4.1.0-28.4
make-3.80-202.2
compat-db 4.1.25-9
openmotif21-2.1.30-11.EL5.i386.rpm
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm

Ensure that libXp has been installed


Issue the following to confirm:
$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp

On RHEL 5.x operating systems, you will need to create the following symbolic link as root
prior to doing any installations:
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

If xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm is already existing you will also need to


override the /usr/lib/libXtst.so.6 with the one from /usr/X11R6/lib/libXtst.so.6. As root,
issue the commands:
# mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORG
# ln –s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6

Before installing Oracle Application Server 10g Release 2 (10.1.2.0.2), apply Patch
6687768 in order to start the installer. If you do not apply this patch, pre-req check for the
OS Version will fail when you invoke the runInstaller.

Steps for Discoverer Setup:


Invoke RunInstaller from DUMP.

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 3 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 4 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 5 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 6 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 7 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 8 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 9 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 10 of 25
[root@erptest8 disc]# sh root.sh
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= orabi
ORACLE_HOME= /u01/DISC/BI/product

Enter the full pathname of the local bin directory: [/usr/local/bin]:


The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 11 of 25
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.

The $ORACLE_HOME/opmn/logs/Discoverer~PreferenceServer~1 showed the following


error:
/app01/oracle/BMIU/disc/bin/dis51pr: error while loading shared libraries: libpthread.so.0: cannot open shared
object file: No such file or directory

Solution:
Navigate to: $ORACLE_HOME/discoverer.
Backup the discwb.sh environment script file.
Remove "export LD_ASSUME_KERNEL=2.4.19" from the discwb.sh file.

The $ORACLE_HOME/opmn/logs/Discoverer~PreferenceServer~1 showed the following


error:
/app01/oracle/BMIU/disc/bin/DiscSrvcStat: error while loading shared libraries: libm.so.6: cannot open shared
object file: No such file or directory

Solution:
1) cd $ORACLE_HOME/opmn/conf
2) mv opmn.xml opmn.xml.ORG (backup opmn.xml)
3) cat opmn.xml.ORG | grep -v LD_ASSUME_KERNEL > opmn.xml

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 12 of 25
Restart opmnctl and click retry.

Use the following URL to access the Oracle Enterprise Manager 10g Application Server Control Console :

http://erptest8.adpc.ae:1810

The following information is available in:


/u01/DISC/BI/product/setupinfo.txt

-----------------------------------------
Use the following URL to access the Oracle Enterprise Manager Application Server Control:

http:// /u01/DISC/BI/product:1810

The discoverer installation is now complete and the version is


Discoverer Version: 10.1.2.48.18 (iAS 10.1.2.0.2)

Discoverer Upgrade
We have completed installation of Discoverer 10.1.2.0.2. Follow the steps below to upgrade
discoverer to 10.1.2.3.0

Download the unzip patch 5983622


Oracle® Application Server and Oracle Developer Suite Patch Set
10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0)

For applying this patch, the discoverer should be up & running.

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 13 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 14 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 15 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 16 of 25
Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 17 of 25
[root@TSBRHAPPS001 disc]# sh root.sh
Running Oracle 10g root.sh script...

The following environment variables are set as:


ORACLE_OWNER= discmgr
ORACLE_HOME= /App/appDISC/disc

Enter the full pathname of the local bin directory: [/usr/local/bin]:


The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
[root@TSBRHAPPS001 disc]#

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 18 of 25
This completes discoverer upgrade.
The current Discoverer version is 10.1.2.55.26 (iAS 10.1.2.3.0)

Post Install Steps


Apply Patch
Apply patch 7198716 (CUMULATIVE PATCH 2 : MLR ON TOP OF 10.1.2.3 FOR BUG
7111842 + NEW BUG FIXES) on Discoverer Home. This is the latest patch compared to
7111842 mentioned in note 373634.1
Stop all discoverer service using opmnctl & emctl and apply the patch on Discoverer oracle
home using opatch.

Copy DBC file:


Copy DBC file from $FND_TOP/secure in Oracle EBusiness Suite applications to the
Discoverer server at $ORACLE_HOME/discoverer/secure

Update tnsnames.ora file


Update the tnsnames.ora file in the discoverer Oracle Home location to connect to the
EBusiness database.

Repeat the above installation steps in second node.

Create Discoverer Tablespace


On DB node:
SQL> create tablespace DISCOVERER datafile '/disk2/oradata/CRP2/discoverer01.dbf'
2 size 500M autoextend on next 500M maxsize 5G;

Tablespace created.

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 19 of 25
SQL> select file_name, bytes/(1024*1024*1024) from dba_temp_files where tablespace_name =
'TEMP2';

FILE_NAME
--------------------------------------------------------------------------------
BYTES/(1024*1024*1024)
----------------------
/disk4/oradata/CRP2/temp02.dbf
1
SQL> alter database tempfile '/disk4/oradata/CRP2/temp02.dbf' resize 4G;

Database altered.

Create the Discoverer EUL:


On Discoverer node:
./eulapi -CREATE_EUL -APPS_MODE \
-CONNECT system/manager@DEV -USER EULADPC_US -PASSWORD EULADPC_US \
-DEFAULT_TABLESPACE DISCOVERER -TEMPORARY_TABLESPACE temp2 \
-EUL_LANGUAGE US -APPS_GRANT_DETAILS apps/apps -LOG create_eul.log

In database, the above command has created user “EULBMI_US” and loaded objects into
the schema.
SQL> connect / as sysdba
Connected.

SQL> select USERNAME,ACCOUNT_STATUS,DEFAULT_TABLESPACE,TEMPORARY_TABLESPACE from


dba_users where USERNAME='EULADPC_US';

USERNAME ACCOUNT_STATUS DEFAULT_TABLESPACE TEMPORARY_TABLESPACE


-------------- ------------------------- ----------------------------------- ------------------------------
EULBMI_US OPEN DISCOVERER TEMP2

SQL> connect EULADPC_US/bmi123


Connected.

SQL> select count(*) from user_objects;

COUNT(*)
----------
266

SQL> select ver_min_code_ver from eul5_versions;

VER_MIN_CODE_VER
------------------------------
10.1.2.45.20

Copy Sun Java plug-in


Copy the Sun Java Plug-in executable from your E-Business Suite Release 12 instance
$OA_HTML/oaj2se.exe
and save the executable to your Discoverer node as:
$ORACLE_HOME/jpi/bin/oaj2se.exe

Edit the Discoverer Configuration file


Backup the discoverer configuration file before making any changes.
cd $ORACLE_HOME/discoverer/config/
cp configuration.xml configuration.xml.org

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 20 of 25
Find the plugin attribute within the <plus> element. This will show possible
values "sun" or "jinitiator". Set the value to "sun":
<plus laf="plastic" lafJar="" lafClass="" logLevel="error" plugin="sun" helpSet="help">

Find the line with the tag <jvm name="sun"/>


<jvm name="sun" classid="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
plugin_setup="http:///u01/DISC/BI/product:7784/jpi/j2re.exe" version="1.4.2" versionie="1,4,2,mn"
type="application/x-java-applet"
plugin_page="http://java.sun.com/products/archive/j2se/1.4.2_06/index.html"
disco_archive="disco5i.jarjar" d4o_archive="d4o_double.jarjar"/>

Update it as per setting in eBusiness suite settings from context file


The settings to be referred in context file is
<!-- JDK plugins -->
<sun_plugin_ver oa_var="s_sun_plugin_ver">1.5.0_13</sun_plugin_ver>
<sun_plugin_type oa_var="s_sun_plugin_type">jdk</sun_plugin_type>
<sun_clsid oa_var="s_sun_clsid">CAFEEFAC-0015-0000-0013-ABCDEFFEDCBA</sun_clsid>

<jvm name="sun" classid="clsid:CAFEEFAC-0015-0000-0013-ABCDEFFEDCBA"


plugin_setup="http:///u01/DISC/BI/product:7783/jpi/oaj2se.exe" version="1.5" versionie="1,5,0_13,mn"
type="application/x-java-applet" plugin_page="http:///u01/DISC/BI/product:7783/jpi/oaj2se.exe"
disco_archive="disco5i.jarjar" d4o_archive="d4o_double.jarjar"/>

Save Your Changes and Restart Discoverer services

Testing Your New Configuration


Verify that Discoverer Plus is now using the same Sun Java Plugin as your E-Business Suite
Release 12 by navigating to the following URL:
http:///u01/DISC/BI/product:7783/discoverer/plus

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 21 of 25
E-Business Suite configuration for Discoverer
Following changes are to be made in applications to allow it to internally connect to
discoverer.

Context file changes


Edit the context file for the following changes and run autoconfig.
Change s_disco_url in context file to <protocol>:// <machine.domain>:<port>
Changed
<disco_url oa_var="s_disco_url"/>
to
<disco_url oa_var="s_disco_url">http://sbtapps001.bmi.com.bh:7778</disco_url>
Run Autoconfig

Set Profile Options at site level


Set Profile “ICX: Discoverer Launcher” to
http:///u01/DISC/BI/product:7783/discoverer/plus?Connect=[APPS_SECURE]

Set Profile “ICX: Discoverer Viewer Launcher” to


http:///u01/DISC/BI/product:7783/discoverer/viewer?Connect=[APPS_SECURE]

Set Profile “ICX: Discoverer Release” to 10

Set Profile “ICX: Discoverer use Viewer” to the default value (Default is YES)

Set Profile “ICX: Discoverer Default End User Layer Schema Prefix” to EUL

Set Profile “ICX: Discoverer End User Layer Language Override” to “American English”

Set Profile “ICX: Discoverer Parameters” to null (no value needed)

Set profile “Discoverer DBC filename override” to null (no value needed)

Regenerate your Business Views (Conditional)


Run the "Generate Business Views by Application" Concurrent Program

Regenerate your Business Views by running the " Regenerate your Business Views by
running the "Generate Business Views by Application" concurrent program using the
Business View Setup responsibility:

Additional Configurations
1. Logon to Oracle E-Business Suite as SYSADMIN
Choose the "System Administrator" responsibility.
Navigate to Security > User > Define and add responsibility "Business Views Setup" to user
SYSADMIN.

Logon to Oracle E-Business Suite as SYSADMIN

Check for errors


After regeneration of the Business Views has been completed, check the Business View
Generator output file. It should not contain any errors.

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 22 of 25
2. Recompile Apps Objects
Recompile all objects in the APPS schema using adadmin.

3. Set up E-Business Suite User/Responsibility for EUL Administration

Log into the application and change the password as per policy.

4. EUL access
Grant EUL admin privileges.

[orabi@erptest8 bin]$ ./eulapi -CONNECT EULADPC_US/EULADPC_US@dev -GRANT_PRIVILEGE -USER sysadmin


-PRIVILEGE administration -PRIVILEGE all_admin_privs -LOG sysadmin.log

grant select on FND_USER to EULADPC_US


grant select on FND_APPLICATION to EULADPC_US

[orabi@erptest8 bin]$./eulapi \
-CONNECT EULADPC_US/EULADPC_US@dev \
-GRANT_PRIVILEGE \
-USER DISCOADMIN \
-BUSINESS_AREA_ADMIN_ACCESS % \
-WILDCARD \
-LOG ADPCEUL_US_pri.log

./eulapi \
-CONNECT EULADPC_US/EULADPC_US@dev \
-GRANT_PRIVILEGE \

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 23 of 25
-USER DISCOADMIN \
-BUSINESS_AREA_ADMIN_ACCESS % \
-WILDCARD \
-LOG ADPCEUL_US_pri.log

sh adupdeul.sh connect=sysadmin/adpc12@dev resp="Discoverer EUL Management" \


gwyuid=APPLSYSPUB/PUB fndnam=APPS secgroup="Standard" \
topdir=/u01/DISC/BI/product/discover \
language=US \
eulprefix=EUL \
eultype=OLTP \
mode=complete \
iashome=/u01/DISC/BI/product \
logfile=/u01/DISC/BI/product/import_EUL_US.log

Access directory $AU_TOP from discoverer


Since the application tier and discoverer servers are in different servers zip and ftp the
entire $AU_TOP/discover directory.
[appcrp2@SBTAPPS001 ~] cd $AU_TOP
[appcrp2@SBTAPPS001 12.0.0]$ tar -czvf discover.tgz discover/
scp the tar file into discoverer oracle home location
[discmgr@TSBRHAPPS001 disc]$ scp
root@10.8.20.52:/app03/oracle/CRP2/apps/apps_st/appl/au/12.0.0/discover.tgz .
[discmgr@TSBRHAPPS001 disc]$ tar -xzvf discover.tgz

[discmgr@TSBRHAPPS001 discoverer]$ cp discwb.sh discwb.sh.org

For linux OS, Replace the line LD_ASSUME_KERNEL= 2.4.19 with following lines in
$ORACLE_HOME/discoverer/discwb.sh before Import/Refreshing the EUL.
KERNEL_VERSION=`/bin/uname -r | cut -d "-" -f1`

if [ $KERNEL_VERSION != 2.4.21 ]; then


export LD_ASSUME_KERNEL=2.4.19
else
export LD_ASSUME_KERNEL=2.4.21
fi

Import Discoverer Content


Move/Change into the directory that was copied from $AU_TOP of EBS where adupdeul.sh is
located.

sh adupdeul.sh connect=sysadmin/adpc12@dev resp="Discoverer EUL Management" \


gwyuid=APPLSYSPUB/PUB fndnam=APPS secgroup="Standard" \
topdir=/u01/DISC/BI/product/discover \
language=US \
eulprefix=EUL \
eultype=OLTP \
mode=driver \
driver=u6394500.drv \
iashome=/u01/DISC/BI/product \
logfile=/u01/DISC/BI/product/u6394500.drv.log

sh adrfseul.sh connect=sysadmin/adpc12@dev resp="Discoverer EUL Management" \


gwyuid=APPLSYSPUB/PUB fndnam=APPS secgroup="Standard" \
secgroup="Standard" \
eulschema=EUL_US \
eulpassword=EUL_US \
twotask=dev \
iashome=/u01/DISC/BI/product/ \
logfile=/u01/DISC/BI/product/refresh_EUL_US_dev.log

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 24 of 25
The discoverer installation is now complete. Use the following URL to access discoverer
http:///u01/DISC/BI/product:7783/discoverer/plus

References:
Note: 564174.1 Oracle Application Server 10g (10.1.2) Requirements for Linux : OEL 5 and
RHEL 5
Metalink Note: 373634.1, 604678.1

OUI Fails Linking Forms Libraries During Patch Set 3 10.1.2.3 Install / Upgrade on OAS 10.1.2 [ID
564700.1]

Oracle e-Business Suite Documentation: Discoverer Setup - Non Standalone Sever Installation Page 25 of 25

You might also like