Beruflich Dokumente
Kultur Dokumente
Author
Chanukya Mekala
Control Number
Version
0.9
Page 1 of 100
Table of Contents
Page 2 of 100
Contents
Document Control........................................................................................................... 6
Version Control....................................................................................................... 6
Distribution............................................................................................................. 6
Sign Of................................................................................................................... 6
Abbreviations....................................................................................................... 76
Document References............................................................................................ 7
Introduction.................................................................................................................... 8
Document Purpose................................................................................................. 8
Production build specifics....................................................................................... 8
Server Side Build............................................................................................................ 9
Check .profile settings............................................................................................ 9
Install Oracle Database Server..................................................................................... 10
Create Database................................................................................................... 10
Configure tnsnames............................................................................................. 11
Configure and start listener.................................................................................. 11
Run RCU................................................................................................................ 12
Create Biapps, Infa and Dac users........................................................................19
Install OBIEE................................................................................................................. 24
Copy TNSNAMES file............................................................................................. 33
Copy BI Repository and Web Catalog files............................................................33
Deploy BI Repository............................................................................................ 33
Install The Oracle Business Intelligence 11.1.1.6.7 Patchset................................34
Install Informatica......................................................................................................... 38
Configure Informatica........................................................................................... 43
Create Repository Service............................................................................ 43
Create Integration Service............................................................................45
Restore Pre-built Informatica Repository......................................................46
Relax Code Page Validation..........................................................................50
Page 3 of 100
Starting DAC......................................................................................................... 99
Page 5 of 100
Document Control
Version Control
Version Number
Date of Version
Change Summary /
Description
Version
0.1D
30/01/2013
Initial Draft
Chanukya Mekala
0.2D
31/01/2013
Chanukya Mekala
0.3D
31/01/13
Added
DAC/Informatica
Configuration Sections
Chanukya Mekala
0.4D
07/02/2013
Further amendments
first -led build
Dan Hurdley
0.5D
07/02/13
Added 'Create
user' section
0.6D
07/02/13
Changed
Blue.
0.7D
13/02/13
Created
section
0.8
14/03/13
Chanukya Mekala
0.9
05/04/13
Guillaume Lecouteux
0.10
08/4/13
Rosario Marcel
0.11
10/4/13
Niki Salter
following
EBS_RECON
non-DBA section
post-dba
build
Change owner
Chanukya Mekala
to
Chanukya Mekala
tasks
Chanukya Mekala
Distribution
Name
Role
TBC
Sign Off
Name
TBC
Page 6 of 100
Role
Approval
Date
Signature
Abbreviations
Abbreviation
Meaning
DAC
OBIEE
Document References
Number
Document Title
Version
Date
Statement of Work
3.0
17/09/2012
0.1
12/09/2012
Page 7 of 100
Introduction
Document Purpose
The purpose of this document is to outline the steps involved in building the OBIEE
11g environment.
Page 8 of 100
MW_HOME=$ORACLE_BASE/Middleware11g
INFA_HOME=$ORACLE_BASE/Informatica/9.1.0
OBI_HOME=$MW_HOME/Oracle_BI1
DAC_HOME=$ORACLE_BASE/dac
LIBPATH=$ORACLE_BASE/Informatica/9.1.0/server/bin:$ORACLE_HOME/lib
ORACLE_INSTANCE=$MW_HOME/instances/instance1
DOMAIN_HOME=$MW_HOME/user_projects/domains/bifoundation_domain
PATH=$PATH:$ORACLE_INSTANCE/bin
Page 9 of 100
Create Database
Create a new database with the following:
Java enabled
AL32UTF8 character set
32k DB_BLOCK_SIZE
2G redo log size
(Oracle ApEx taking a long time to install dont select next time)
Use the template init11i.ora file to generate new spfile for the database and restart.
_like_with_bind_as_equality=TRUE
_optimizer_autostats_job=FALSE
_sort_elimination_cost_ratio=5
_system_trig_enabled=TRUE
cursor_sharing=EXACT
db_block_checking=FALSE
db_block_checksum=TRUE
parallel_adaptive_multi_user=TRUE
parallel_min_servers=0
parallel_threads_per_cpu=2
query_rewrite_enabled=TRUE
query_rewrite_integrity=TRUSTED
shared_pool_reserved_size=41943040
shared_pool_size=419430400
statistics_level=typical
timed_statistics=TRUE
undo_management=AUTO
workarea_size_policy=AUTO
processes=750
sessions=1152
Optionally install Enterprise Manager Database Console if required.
Page 10 of 100
Configure tnsnames
Add entries to the tnsnames.ora file under $ORACLE_HOME/network/admin for all required
databases. Example tnsnames.ora entries:
REMEDY_PRD =
(DESCRIPTION =
(LOAD_BALANCE=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = crwsmrprd01)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = REMEDY_PRD.ARQIVA.LOCAL))
(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
)
11G_PROBI01 =
(DESCRIPTION =
(SOURCE_ROUTE = OFF)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = umhtoraprd01)(PORT = 1521))
)
(CONNECT_DATA =
(SID = PROBI01)
(SERVER = DEDICATED)
)
)
Missing EBS entry here
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = umhtoraprd01)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.3)
(SID_NAME = PROBI01)
)
Page 11 of 100
)
)
Run RCU
Page 12 of 100
Page 13 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 14 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Prefix : PRD
Page 15 of 100
Page 16 of 100
Page 17 of 100
Page 18 of 100
Page 19 of 100
size 200m
autoextend on
maxsize 4G
extent management local autoallocate
segment space management auto;
VARCHAR2 )
PROCEDURE delete_comment
( p_comment_id
IN
wc_commentary_d.comment_id%TYPE );
PROCEDURE insert_comment
( p_request
IN
wc_commentary_d.request%TYPE
, p_measure
IN
wc_commentary_d.measure%TYPE
, p_usergroup
IN
wc_commentary_d.usergroup%TYPE
, p_userlevel
IN
wc_commentary_d.userlevel%TYPE
, p_login
IN
wc_commentary_d.login%TYPE
, p_commentary
IN
wc_commentary_d.commentary%TYPE
, p_dashboard_parameters IN
wc_commentary_d.dashboard_parameters%TYPE
, p_fiscal_period
IN
wc_commentary_d.fiscal_period%TYPE
, p_business_unit
IN
wc_commentary_d.business_unit%TYPE
, p_sort_order
IN
wc_commentary_d.sort_order%TYPE );
FUNCTION check_access
( p_base_access_level IN
VARCHAR2
, p_time_restriction
IN
VARCHAR2
, p_selected_period
IN
VARCHAR2
, p_reporting_period
IN
VARCHAR2 )
RETURN VARCHAR2;
FUNCTION replace_parameters
( p_parameter_string
IN
VARCHAR2
, p_business_unit
IN
VARCHAR2 )
RETURN VARCHAR2;
Page 20 of 100
END xxaqv_commentary;
/
CREATE OR REPLACE FORCE VIEW BIAPPS.WC_BOARDPACK_PAGE_LINKS_DV
(
LINK_ID,
PAGE_ID,
BUSINESS_UNIT,
PAGE_LINK
)
AS
SELECT bus.COLUMN_VALUE || '-' || bp.page_id AS link_id,
bp.page_id,
bus.COLUMN_VALUE AS business_unit,
'/analytics/saw.dll?Dashboard'
|| CHR (38)
|| 'PortalPath='
|| CASE
WHEN bp.portal_path LIKE '%Historical%Financials'
THEN
CASE
WHEN bus.COLUMN_VALUE IN ('BNM', 'GME', 'MUX')
THEN
REPLACE (bp.portal_path, '%20', '%20%20')
WHEN bus.COLUMN_VALUE = 'BOP'
THEN
REPLACE (bp.portal_path, '%20', '%20%20%20')
WHEN bus.COLUMN_VALUE = 'COR'
THEN
REPLACE (bp.portal_path, '%20', '%20%20%20%20')
WHEN bus.COLUMN_VALUE = 'SMM'
THEN
REPLACE (bp.portal_path, '%20', '%20%20%20%20%20')
ELSE
bp.portal_path
END
ELSE
bp.portal_path
END
|| CHR (38)
|| 'Page='
|| bp.portal_page
|| CHR (38)
|| 'Action=Navigate'
|| xxaqv_commentary.replace_parameters (bp.page_parameters,
bus.COLUMN_VALUE)
AS page_link
FROM (SELECT bp.page_id,
bp.portal_path,
bp.portal_page,
bp.page_parameters,
',' || bp.business_units || ',' AS business_units
FROM wc_boardpack_pages_d bp) bp,
TABLE (
CAST (
MULTISET (
Page 21 of 100
Page 22 of 100
Page 23 of 100
Install OBIEE
You will need 4GB free in /tmp on the application server. The pre-req check is 1.5GB but 4GB is
required (see MOS 1442492.1)
Page 24 of 100
Page 25 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 26 of 100
Page 27 of 100
Password: ****
Page 28 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 29 of 100
Page 30 of 100
Page 31 of 100
NB: During the configuration process the SIT build hung at Restarting AdminServer for approx
30 mins. If you log into the weblogic console as Administrator and manually stop the
AdminServer, the installer will restart it and continue successfully.
Page 32 of 100
Click Cancel.
Deploy BI Repository
The file OracleBIAnalyticsApps.rpd should be stored locally on your PC.
Page 33 of 100
Browse to the OracleBIAnalyticsApps.rpd file stored locally and enter the repository password of
**** then click Apply.
Page 34 of 100
Patch
Abstract
Stop Weblogic:
cd $DOMAIN_HOME/bin
./stopWebLogic.sh
Unzip Patches:
cd /u02/software
for file in *.zip
> do
> unzip $file
> done
Set environment:
export
export
export
export
export
ORACLE_HOME=$MW_HOME/Oracle_BI1
PATH=$ORACLE_HOME/bin:$PATH
JAVA_HOME=$ORACLE_HOME/jdk
PATH=$JAVA_HOME/bin:$PATH
PATH=$ORACLE_HOME/OPatch:$PATH
15959887
15959877
15929063
15959899
15959861
15894670
15959917
Start WebLogic:
cd $DOMAIN_HOME/bin
nohup ./startWebLogic.sh >./startWebLogic.log 2>&1 &
Start BI System Components:
opmnctl startall
Page 37 of 100
Install Informatica
Issues unzipping install kit on AIX. Workaround:
Zip up 910HF2_Server_Installer_aix-ppc64.
Unzip 910HF2_Server_Installer_aix-ppc64.zip
unset INFA_HOME
NB: If the database is on the same machine, use the database homes lib directory as below, if not
install a 64bit oracle client on the server and use that lib dir.
Select Y to continue.
Enter choice 1 for Install/Upgrade.
Enter G for GUI Install
Page 38 of 100
Page 39 of 100
Page 40 of 100
Page 41 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Password: ****
Page 42 of 100
Configure Informatica
Create Repository Service
Log on to http://umhtappprd01.arqiva.local:6008 as Administrator.
Page 43 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Name: PRD_Infa_Repository
Page 44 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 45 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Name : PRD_Infa_Integration
Page 46 of 100
cp /u02/obiee_new/Oracle_BI_DW_Base.rep $INFA_HOME/server/infa_shared/Backup
Log into Informatica Console as Administrator:
http://umhtappprd01.arqiva.local:6008/administrator/
Delete Repository Contents using: Actions -> Repository Contents -> Delete.
Page 47 of 100
The screen above confirms that the repository contents have been deleted.
Restore the pre-built repository: Actions -> Repository Contents -> Restore.
Page 48 of 100
Select the Oracle_BI_DW_Base.rep, check Restore As New checkbox and click OK.
Click OK to continue.
Page 49 of 100
When complete, set the repository back to Normal. This will restart the repository.
Page 50 of 100
overrideMpltVarWithMapVar Yes
DisableDB2BulkMode
Yes
Page 51 of 100
In the Users area, select the newly created user then select the privileges tab.
Page 52 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Click OK.
Page 53 of 100
Install DAC
Follow section 6. DAC Client configuration prior to undertaking these steps.
cd $DAC_HOME/..
mv dac dac_old
unzip /u02/obiee_soft/dac.zip
cd dac
chmod 755 *.sh
Update the following in dac_env.sh:
INFORMATICA_SERVER_LOCATION=$INFA_HOME
DOMAINS_INFA_FILE_LOCATION=$INFA_HOME/domains.infa
DAC_PMCMD_PATH=$INFA_HOME/server/bin
Update the JAVA_HOME in config.sh:
JAVA_HOME=/usr/java6
Copy JDBC driver:
cp $ORACLE_HOME/jdbc/lib/ojdbc6.jar $DAC_HOME/lib
Install DAC metadata files:
cd $DAC_HOME/Informatica/parameters/input
cp /u02/software/parameterfileDW.txt .
cp /u02/software/parameterfileOLTP.txt .
Install Wallet:
Copy cwallet.sso to $DAC_HOME/conf-shared/security/repository
Cwallet.sso is available from the client install.
Page 54 of 100
probi01
Database Host:
umhtappprd01
Database Port:
1521
ServerHost=umhtappprd01.arqiva.local
ServerPort=3141
RepositoryStampVal=EC66CA9776A054C643947891F7223F4
Page 55 of 100
As EBS_RECON:
Page 58 of 100
As SYSDBA:
Page 59 of 100
sqlplus biapps/*****
drop table sa_system_user;
drop table wc_kpi;
drop table wc_stage_kpi;
drop table wc_commentary_d;
drop table wc_boardpack_commentary_d;
LOADEBS Scripts
Page 60 of 100
export NLS_LANG=American_America.UTF8
export LANG=en_US.utf8
export LANG_C=en_US.utf8
export LC_TYPE=en_US.utf8
export LC_ALL=en_US.utf8
Page 61 of 100
Page 62 of 100
Page 63 of 100
Page 64 of 100
Page 65 of 100
Page 66 of 100
Page 67 of 100
Page 68 of 100
Page 69 of 100
Page 70 of 100
Page 71 of 100
Page 72 of 100
Page 73 of 100
Page 74 of 100
Page 75 of 100
Page 76 of 100
Page 77 of 100
2. Click Configure
Page 78 of 100
Page 79 of 100
Page 80 of 100
Authentication File: Create Authentication File and accept the default location and sso file
name (cwwallet.sso) C:\Program Files (x86)\Oracle Business Intelligence Data Warehouse
Administration Console 11g\dac\conf-client\connection. File cwallet.sso already exists in
this folder override? Yes
Page 81 of 100
Completed
Page 82 of 100
9. Select newly created connection from dropdown and provide the following information (This
is applicable once you have created the repository tables for the first time)
a. Username: Administrator
b. Password: Administrator
c. Authentication Type: DAC
d. Remember Password: Checked
Page 83 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
10. The console will open as follows
Page 84 of 100
Port: 3141
Starting DAC
cd $DAC_HOME
export DM_HOME=$DOMAIN_HOME
unset DOMAIN_HOME
nohup ./startserver.sh >./startserver.log 2>&1 &
export DOMAIN_HOME=$DM_HOME
Close DAC client and reopen to see this next option
5. From the Tools Menu, Select DAC Server Setup -> Repository Connection Information Tab
and change the following parameters value:
Page 86 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
<<Screenshot for Repository Configuration is required>>
Page 87 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Click on INFORMATICA_DW_SERVER from the top screen and change the following in
the bottom screen.
Page 89 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
a. DataWarehouse
a. Type: Warehouse
Page 90 of 100
g. Host: uMhtOraPrd01.arqiva.local
h. umhtappprd01.arqiva.local
i.
Port: 1521
j.
b. Ora_R1213
a. Type: Source
b. Connection Type: Oracle (Thin)
c. Service Name: EBS Service Name TBC
d. Table Owner: APPS_RO
e. Table Owner Password: ****
f.
j.
Page 91 of 100
1. Select Tools -> ETL Management -> Configure from the menu.
Page 92 of 100
3. In the configuration tab, choose the first option Generate Create Statements for Data
Warehouse Tables and click the Next button.
Page 93 of 100
Page 94 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 95 of 100
4. Try to connect to the repository just added using the following details:
a. Username -> Administrator
b. Password -> ****
c. Please note to connect to the repository, the repository service to be running in
normal mode
Page 96 of 100
We need to Create two connections one for Source OLTP database and another for Target
Data warehouse database
Create Source OLTP connection as
Name ORA_R1213
User name APPS_RO
Password ****
Connect String EBS Connect String TBC
And Click OK
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Create Source OLAP connection as
Name DataWarehouse
User name biapps
Password ****
Connect String 11g_probi01
And Click OK
Page 97 of 100
Note: the above screenshot is for DEV, use the appropriate values for
PROD
Page 98 of 100
Page 99 of 100
Stopping Informatica
cd $INFA_HOME/server/tomcat/bin
./infaservice.sh shutdown
Stopping BI Components
export ORACLE_INSTANCE=$MW_HOME/instances/instance1
cd $MW_HOME/instances/instance1/bin
./opmnctl stopall
Stop Weblogic
cd $DOMAIN_HOME/bin
./stopWebLogic.sh
Start Weblogic
cd $DOMAIN_HOME/bin
nohup ./startWebLogic.sh >./startWebLogic.log 2>&1 &
Tail log file until status RUNNING appears.
Starting BI Components
export ORACLE_INSTANCE=$MW_HOME/instances/instance1
cd $MW_HOME/instances/instance1/bin
./opmnctl startall
Starting Informatica
cd $INFA_HOME/server/tomcat/bin
./infaservice.sh startup
Starting DAC
cd $DAC_HOME
export DM_HOME=$DOMAIN_HOME
unset DOMAIN_HOME
nohup ./startserver.sh >./startserver.log 2>&1 &
export DOMAIN_HOME=$DM_HOME