Sie sind auf Seite 1von 100

R12 Programme

OBIEE 11g Production Build

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

Set Informatica Custom Properties...............................................................51


Copy Informatica Source and Lookup Files...................................................51
Create Informatica Repository Administrator in Native Security Domain.....51
Install DAC.................................................................................................................... 54
Post-Build DBA Tasks..................................................................................................... 56
Create EBS_RECON User....................................................................................... 56
1.2Import BIAPPS tables....................................................................................... 60
Create BIAPPS_RO User........................................................................................ 60
LOADEBS Scripts................................................................................................... 61
Client Side Installs (Non-DBA)....................................................................................... 62
Install OBIEE Client............................................................................................... 62
Install Informatica Client....................................................................................... 66
Install Oracle Client.............................................................................................. 72
DAC and Informatica Client Configuration (Non-DBA)...................................................78
Create New DAC Connection................................................................................ 78
Import DAC Repository......................................................................................... 85
Configuring DAC Server and Repository...............................................................85
Configure DAC System Properties.........................................................................86
Registering Informatica Servers........................................................................... 87
Setting up Physical Data Sources.........................................................................89
Generating Base DWH Tables............................................................................... 91
Configuring Informatica Workflow Manager:.........................................................93
Appendix A: Stopping and Starting OBIEE Server Side Components...........................99
Stopping DAC....................................................................................................... 99
Stopping Informatica............................................................................................ 99
Stopping BI Components...................................................................................... 99
Stop Weblogic....................................................................................................... 99
Start Weblogic...................................................................................................... 99
Starting BI Components........................................................................................ 99
Starting Informatica.............................................................................................. 99
Page 4 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

Added tnsnames copy fix

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

Added Server Stop/Start section

Chanukya Mekala

0.9

05/04/13

Updated to include production


values and settings

Guillaume Lecouteux

0.10

08/4/13

Updated during Build

Rosario Marcel

0.11

10/4/13

Updated during Build

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

DataWarehouse Administration Console

OBIEE

Oracle Business Intelligence Enterprise Edition

Document References
Number

Document Title

Version

Date

Statement of Work

3.0

17/09/2012

Environment Plan, Configuration & Release Strategy

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.

Production build specifics


The below notes explain the main diferences with the DEV build document:
Note 1: All screenshots are based on the DEV build, therefore specific values
displayed in the screenshots do not apply to the production build
Note 2: No password is provided in this document and is presented as ****
Note 3: The major difference between DEV,SIT and PROD environment is the
OBIEE installation mode. In production the OBIEE is installed with the
Enterprise mode.

Page 8 of 100

Server Side Build


Check .profile settings
The following should be set in oracle user .profile of the middleware tier:

EDITOR=vi ; export EDITOR


VISUAL=vi ; export VISUAL
set -o emacs
alias __A=`echo "\020"` #ctrl-p => up
alias __B=`echo "\016"` #ctrl-n => down
alias __C=`echo "\006"` #ctrl-f => right
alias __D=`echo "\002"` #ctrl-b => left
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
export INFA_CODEPAGENAME=UTF-8
export ORAENV_ASK=NO
export ORACLE_SID=probi01
. oraenv
export
export
export
export
export
export
export
export

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

Log out and in to pick up new settings.

Page 9 of 100

Install Oracle Database Server


Install Oracle Server Enterprise Edition binaries to /u01/app/oracle/product/11.2.0.3

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.

New parameters in the template:

_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

Configure and start listener


Configure and start listener. Example listener.ora:

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

Create Biapps, Infa and Dac users


Run the following commands to create the infa and dac users. Modify the datafile locations first.
create tablespace OBI_DATA
datafile '/u01/oradata/probi01/bi_data_01.dbf' size 32G,
'/u01/oradata/probi01/bi_data_02.dbf' size 32G
extent management local autoallocate;
create tablespace OBI_IND
datafile '/u04/oradata/probi01/bi_ind_01.dbf' size 32G
extent management local autoallocate;
alter database tempfile '/u02/oradata/probi01/temp01.dbf' resize 20G;
alter tablespace temp add tempfile '/u02/oradata/probi01/temp02.dbf' size 20G;
CREATE TABLESPACE TS_DAC DATAFILE '/u02/oradata/probi01/dac01.dbf'
size 200m
autoextend on
maxsize 4G
extent management local autoallocate
segment space management auto;
CREATE TABLESPACE TS_INFA DATAFILE '/u02/oradata/probi01/infa01.dbf'

Page 19 of 100

size 200m
autoextend on
maxsize 4G
extent management local autoallocate
segment space management auto;

create user BIAPPS identified by oracle


default tablespace OBI_DATA
temporary tablespace TEMP;
create user BIAPPS_RO identified by oracle
default tablespace OBI_DATA
temporary tablespace TEMP;
CREATE OR REPLACE PACKAGE BIAPPS.xxaqv_commentary AS
FUNCTION get_param_field
( p_parameters
IN
VARCHAR2
, p_field_number
IN
NUMBER )
RETURN VARCHAR2;
FUNCTION unescape
( p_text
IN
RETURN VARCHAR2;

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

SELECT SUBSTR (bp.business_units,


INSTR (bp.business_units,
',',
1,
LEVEL)
+ 1,
INSTR (bp.business_units,
',',
1,
LEVEL + 1)
- INSTR (bp.business_units,
',',
1,
LEVEL)
- 1)
FROM sys.DUAL
CONNECT BY LEVEL <=
LENGTH (bp.business_units)
- LENGTH (
REPLACE (bp.business_units, ',', ''))
- 1) AS SYS.odcivarchar2list)) bus;

grant connect, resource to biapps;


grant create trigger to biapps;
grant create sequence to biapps;
grant create synonym to biapps;
grant create type to biapps;
grant create procedure to biapps;
grant create table to biapps;
grant create view to biapps;
grant create session to biapps;
alter user biapps quota unlimited on OBI_DATA;
alter user biapps quota unlimited on OBI_IND;
create user dac identified by ****
DEFAULT TABLESPACE TS_DAC
QUOTA UNLIMITED ON TS_DAC;
Grant connect to dac;
Grant resource to dac;
Grant create trigger to dac;
Grant create sequence to dac;
Grant create synonym to dac;
Grant create type to dac;
Grant create procedure to dac;
Grant create table to dac;
Grant create view to dac;
Grant create session to dac;
create user infa identified by ****
DEFAULT TABLESPACE TS_INFA
QUOTA UNLIMITED ON TS_INFA;
GRANT CONNECT, RESOURCE, CREATE SESSION TO DAC,INFA;

Page 22 of 100

GRANT CREATE VIEW TO INFA;


Create APP_USER profile
CREATE PROFILE "APP_USER" LIMIT CPU_PER_SESSION UNLIMITED
CPU_PER_CALL UNLIMITED
CONNECT_TIME UNLIMITED
IDLE_TIME UNLIMITED
SESSIONS_PER_USER UNLIMITED
LOGICAL_READS_PER_SESSION UNLIMITED
LOGICAL_READS_PER_CALL UNLIMITED
PRIVATE_SGA UNLIMITED
COMPOSITE_LIMIT UNLIMITED
PASSWORD_LIFE_TIME UNLIMITED
PASSWORD_GRACE_TIME UNLIMITED
PASSWORD_REUSE_MAX UNLIMITED
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_LOCK_TIME UNLIMITED
FAILED_LOGIN_ATTEMPTS UNLIMITED
PASSWORD_VERIFY_FUNCTION NULL
/
Create CCDBA Account

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

Select Enterprise Install for the production environment :

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.

Copy TNSNAMES file


Copy the $ORACLE_HOME/network/admin/tnsnames.ora file edited above to
$MW_HOME/Oracle_BI1/network/admin

Copy BI Repository and Web Catalog files


cd
$MW_HOME/instances/instance1/bifoundation/OracleBIPresentationServicesComponen
t/coreapplication_obips1/catalog
unzip -o /u02/obiee_new/EnterpriseBusinessAnalytics.zip
cp /u02/obiee_new/OracleBIAnalyticsApps.rpd
/u01/app/oracle/product/Middleware11g/instances/instance1/bifoundation/OracleBISer
verComponent/coreapplication_obis1/repository

Deploy BI Repository
The file OracleBIAnalyticsApps.rpd should be stored locally on your PC.
Page 33 of 100

Log onto: http://umhtappprd01.arqiva.local:7001/em

Navigate to Farm_bifoundation_domain -> Business Intelligence -> coreapplication


Click on the Deployment tab
Click Repository

Click on Lock and Edit Configuration then click Close.

Browse to the OracleBIAnalyticsApps.rpd file stored locally and enter the repository password of
**** then click Apply.

Click Activate Changes then close the dialog box.

Install The Oracle Business Intelligence 11.1.1.6.7 Patchset


The Oracle Business Intelligence 11.1.1.6.7 patchset comprises a number of patches:

Page 34 of 100

Patch

Abstract

15959887 Patch 11.1.1.6.7 (1 of 7) Oracle Business Intelligence Installer


15959877 Patch 11.1.1.6.7 (2 of 7) Oracle Real Time Decisions
15929063 Patch 11.1.1.6.7 (3 of 7) Oracle Business Intelligence Publisher
15959899 Patch 11.1.1.6.7 (4 of 7) Oracle Business Intelligence ADF Components
15959861 Patch 11.1.1.6.7 (5 of 7) Enterprise Performance Management Components
Installed from BI Installer 11.1.1.6.x
15894670 Patch 11.1.1.6.7 (6 of 7) Oracle Business Intelligence
15959917 Patch 11.1.1.6.7 (7 of 7) Oracle Business Intelligence Platform Client Installers and
MapViewer
Upload the above patches to /u02/obiee_soft

Stop BI System Components:


opmnctl stopall

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

Run opatch apply in each of the following directories:


Page 35 of 100

15959887
15959877
15929063
15959899
15959861
15894670
15959917

Copy BIPublisher exe files:


cp $OBI_HOME/clients/bipublisher/repository/Tools/BIPublisherDesktop32.exe
$DOMAIN_HOME/config/bipublisher/repository/Tools/BIPublisherDesktop32.exe
cp $OBI_HOME/clients/bipublisher/repository/Tools/BIPublisherDesktop64.exe
$DOMAIN_HOME/config/bipublisher/repository/Tools/BIPublisherDesktop64.exe
cp $OBI_HOME/clients/bipublisher/repository/Admin/DataSource/msmdacc64.dll
$DOMAIN_HOME/config/bipublisher/repository/Admin/DataSource
Remove jsp_servlet temporary cache:
rm -fR
$DOMAIN_HOME/servers/AdminServer/tmp/_WL_user/bipublisher_11.1.1/*/jsp_servlet
Create the boot.properties file to allow silent weblogic startups
vi $DOMAIN_HOME/servers/AdminServer/security/boot.properties
password=****
username=weblogic
This will later be encrypted automatically.

Start WebLogic:
cd $DOMAIN_HOME/bin
nohup ./startWebLogic.sh >./startWebLogic.log 2>&1 &
Start BI System Components:
opmnctl startall

This will fail to start the component coreapplication_obis1 because it cannot


connect to the database specified in the RPD file, this will be rectified later.
Page 36 of 100

Page 37 of 100

Install Informatica
Issues unzipping install kit on AIX. Workaround:

Unzip multi-part zip under Windows

Move infa_native_esd.jar out of 910HF2_Server_Installer_aix-ppc64\source directory.

Zip up 910HF2_Server_Installer_aix-ppc64.

Transfer 910HF2_Server_Installer_aix-ppc64.zip and infa_native_esd.jar to server.

Unzip 910HF2_Server_Installer_aix-ppc64.zip

Move infa_native_esd.jar back into 910HF2_Server_Installer_aix-ppc64/source directory.

Also, had to get license key from part V30964-01.

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.

Set the following in .profile:


LIBPATH=/u01/app/oracle/product/Informatica/9.1.0/server/bin:/u01/app/oracle/product
/11.2.0.3/lib
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0.3/lib
ORACLE_HOME=/u01/app/oracle/product/Middleware11g/Oracle_BI1
Run ./install.sh

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

Go to Actions -> New -> PowerCenter Repository Service

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

Create Integration Service


Go to Actions -> New -> PowerCenter Integration Service

Page 45 of 100

Note: the above screenshot is for DEV, use the appropriate values for
PROD
Name : PRD_Infa_Integration

Restore Pre-built Informatica Repository

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/

Select the Repository service on the left.

Ensure Operating Mode is set to Exclusive.

Delete Repository Contents using: Actions -> Repository Contents -> Delete.

Page 47 of 100

Enter Administrator username and password and click OK.

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.

After a while, should see the following screen

Page 49 of 100

When complete, set the repository back to Normal. This will restart the repository.

Relax Code Page Validation


Under PRD_Infa_Integration, Edit Configuration Properties and clear the check box under
ValidateDataCodePages.

Page 50 of 100

Set Informatica Custom Properties


Under the PR_Infa_Integration service, click Edit next to Custom Properties and add the following
custom properties:

overrideMpltVarWithMapVar Yes
DisableDB2BulkMode

Yes

Copy Informatica Source and Lookup Files


cd $INFA_HOME/server/infa_shared
unzip -o /u02/obiee_soft/SrcFiles_NIU.zip
unzip -o /u02/obiee_soft/LkpFiles_NIU.zip

Create Informatica Repository Administrator in Native Security


Domain
Log into the Informatica Administrator

Select the security tab at the top of the screen.

Select Actions -> Create User

Page 51 of 100

Enter the info above and click OK.

In the Users area, select the newly created user then select the privileges tab.

Click Edit and assign the privileges as per the below:

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.

Unzip dac install kit from Windows.

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.

Unset DOMAIN_HOME environment variable.


Run ./standaloneServerSetupPrompt.sh

Page 54 of 100

Enter the database connection information:


Service Name:

probi01

Database Host:

umhtappprd01

Database Port:

1521

Table Owner Name: dac


Please enter Encryption key: /u01/app/oracle/product/dac/confshared/security/repository/cwallet.sso

Save configuration and exit.

Update the following in dac.properties:

ServerHost=umhtappprd01.arqiva.local
ServerPort=3141
RepositoryStampVal=EC66CA9776A054C643947891F7223F4

nohup ./startserver.sh >./startserver.log 2>&1 &

Page 55 of 100

Post-Build DBA Tasks


Create EBS_RECON User
As sysdba:

DROP USER EBS_RECON CASCADE;


CREATE USER EBS_RECON
IDENTIFIED BY ****
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP
PROFILE APP_USER
ACCOUNT UNLOCK;
-- 2 System Privileges for EBS_RECON
GRANT CREATE SESSION TO EBS_RECON;
GRANT CREATE DATABASE LINK TO EBS_RECON;
GRANT CREATE SYNONYM TO EBS_RECON;
-- 1 Tablespace Quota for EBS_RECON
ALTER USER EBS_RECON QUOTA 100M ON USERS;
-- 14 Object Privileges for EBS_RECON
GRANT SELECT ON BIAPPS.W_ACCT_BUDGET_F TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_BUDGET_D TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_GL_ACCOUNT_D TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_GL_BALANCE_F TO EBS_RECON;
Page 56 of 100

GRANT SELECT ON BIAPPS.W_GL_OTHER_F TO EBS_RECON;


GRANT SELECT ON BIAPPS.W_MCAL_DAY_D TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_MCAL_PERIOD_D TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJECT_D TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_BUDGET_F TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_COMMITMENT_F TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_COST_A TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_COST_LINE_F TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_FORECAST_F TO EBS_RECON;
GRANT SELECT ON BIAPPS.W_PROJ_REVENUE_LINE_F TO EBS_RECON;

As EBS_RECON:

CREATE DATABASE LINK ARQIVAEBS


CONNECT TO apps_ro IDENTIFIED BY ****
USING 'SITEBS01';

CREATE SYNONYM W_ACCT_BUDGET_F FOR BIAPPS.W_ACCT_BUDGET_F;

CREATE SYNONYM W_BUDGET_D FOR BIAPPS.W_BUDGET_D;

CREATE SYNONYM W_GL_ACCOUNT_D FOR BIAPPS.W_GL_ACCOUNT_D;


Page 57 of 100

CREATE SYNONYM W_GL_BALANCE_F FOR BIAPPS.W_GL_BALANCE_F;

CREATE SYNONYM W_GL_OTHER_F FOR BIAPPS.W_GL_OTHER_F;

CREATE SYNONYM W_MCAL_DAY_D FOR BIAPPS.W_MCAL_DAY_D;

CREATE SYNONYM W_MCAL_PERIOD_D FOR BIAPPS.W_MCAL_PERIOD_D;

CREATE SYNONYM W_PROJECT_D FOR BIAPPS.W_PROJECT_D;

CREATE SYNONYM W_PROJ_BUDGET_F FOR BIAPPS.W_PROJ_BUDGET_F;

CREATE SYNONYM W_PROJ_COMMITMENT_F FOR BIAPPS.W_PROJ_COMMITMENT_F;

CREATE SYNONYM W_PROJ_COST_A FOR BIAPPS.W_PROJ_COST_A;

CREATE SYNONYM W_PROJ_COST_LINE_F FOR BIAPPS.W_PROJ_COST_LINE_F;

CREATE SYNONYM W_PROJ_FORECAST_F FOR BIAPPS.W_PROJ_FORECAST_F;

CREATE SYNONYM W_PROJ_REVENUE_LINE_F FOR BIAPPS.W_PROJ_REVENUE_LINE_F;

create synonym pa_cost_distribution_lines_all for


pa_cost_distribution_lines_all@arqivaebs;

Page 58 of 100

create synonym pa_projects_all for pa_projects_all@arqivaebs;


create synonym pa_cust_event_rdl_all for pa_cust_event_rdl_all@arqivaebs;
create synonym pa_cust_rev_dist_lines_all for pa_cust_rev_dist_lines_all@arqivaebs;
create synonym pa_draft_revenues_all for pa_draft_revenues_all@arqivaebs;
create synonym gl_period_statuses for gl_period_statuses@arqivaebs;
create synonym pa_budget_versions for pa_budget_versions@arqivaebs;
create synonym gl_sets_of_books for gl_sets_of_books@arqivaebs;
create synonym pa_implementations_all for pa_implementations_all@arqivaebs;
create synonym pa_proj_fp_options for pa_proj_fp_options@arqivaebs;
create synonym pa_budget_lines for pa_budget_lines@arqivaebs;
create synonym pa_budget_types for pa_budget_types@arqivaebs;
create synonym pa_budget_entry_methods for
pa_budget_entry_methods@arqivaebs;
create synonym pa_fin_plan_types_b for pa_fin_plan_types_b@arqivaebs;
create synonym pa_multi_currency for pa_multi_currency@arqivaebs;
create synonym pa_commitment_txns for pa_commitment_txns@arqivaebs;
create synonym pa_tasks for pa_tasks@arqivaebs;

As SYSDBA:

REVOKE CREATE DATABASE LINK FROM EBS_RECON;


REVOKE CREATE SYNONYM FROM EBS_RECON;

Page 59 of 100

1.2Import BIAPPS tables

exp biapps/oracle file=biapps_backup.dmp


tables=sa_system_user,wc_kpi,wc_stage_kpi,wc_commentary_d,wc_boardpack_comm
entary_d

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;

imp biapps/**** file=./asaba.dmp

N.B. Ignore any errors with the import.

Create BIAPPS_RO User


DROP SYNONYM BIAPPS_RO.WC_BOARDPACK_PAGE_LINKS_DV;

CREATE OR REPLACE SYNONYM BIAPPS_RO.WC_BOARDPACK_PAGE_LINKS_DV FOR


BIAPPS.WC_BOARDPACK_PAGE_LINKS_DV;

GRANT SELECT ON BIAPPS.WC_BOARDPACK_PAGE_LINKS_DV TO BIAPPS_RO;

LOADEBS Scripts

Page 60 of 100

Create the account UNIX obiftp on the database server umhtoraprd01.


Transfer the Data Loader scripts from the 11g SIT database server
(/home/obiftp/DataLoader.tar) to the Production database server.
Untar the DataLoader.tar file to create the required directory with the scripts.
Edit the $HOME/.profile and add the following lines:
export ORACLE_BASE=/u01/app/oracle/product
export ORACLE_HOME=$ORACLE_BASE/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=PROBI01
export LD_LIBRARY_PATH=$ORACLE_HOME/lib

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

*** Up to this point completed by Rosario Marcel 08/04/13

Page 61 of 100

Client Side Installs (Non-DBA)


Install OBIEE Client

Page 62 of 100

Page 63 of 100

Page 64 of 100

Page 65 of 100

Install Informatica Client


This install comes in multi-zipped, multi-part zip files and requires a utility such as WinZip to
handle this. The paths in these zip files can break the file name length limit so try to unzip into a
short named target directory such as C:\temp\infa.

Page 66 of 100

Page 67 of 100

Page 68 of 100

Page 69 of 100

Page 70 of 100

Page 71 of 100

Install Oracle Client

Page 72 of 100

Page 73 of 100

Page 74 of 100

Page 75 of 100

Page 76 of 100

Page 77 of 100

DAC and Informatica Client Configuration (Non-DBA)


Create New DAC Connection
1. Open DAC client installed in Windows.

2. Click Configure

Page 78 of 100

3. Choose the option Create Connection

Page 79 of 100

4. Enter the details for the new connection

Page 80 of 100

The following details were used to configure in DEV environment:


a. Name: PR_DAC
b. Connection Type: Oracle (Thin)
c. Service Name: 11G_PROBI01probi01.arqiva.local
d. Database Host: umhtappprd01.arqiva.local
e. Database Port: 1521
f.

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

g. Table owner = dac, password = ****


h. Generate random Encryption Key - 1EDA73338442955884BB7D59EE44350 F
i.

Test the Connection and should be successful.

Page 81 of 100

Completed

5. Close this window and return to the DAC Login Page


6. First time you connect to this database through DAC client, the database will be blank and
will be prompted to create a repository. If the DBA has created a new table space for DAC
repository, you can specify here else leave it blank. (The below is a sample screen shot
and in Arqiva DEV environment, the table space is left blank).

Page 82 of 100

7. Provide Username and password and confirm password as


Username Administrator
Password ****
Confirm Password - ****

8. Click Yes to analyze the DAC repository tables

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

Completed by Tom up to this point 110413

Import DAC Repository


See document OBIEE 11g Migration Document in Livelink
Section DAC > Import in SIT and apply the values for PROD
Completed by Niki 140413 less than 4 minutes

Configuring DAC Server and Repository


1. GO to DAC Client from
2. Start -> all programs -> Data Warehouse Admin console -> Client
3. Select appropriate connection information from dropdown (DAC_PR for Prod environment
DAC server) and click Login
4. From the Tools Menu, Select DAC Server Management > Repository Configuration and
change the following parameters value:
a. Mode: Standalone
b. Standalone Mode Configuration
i. Host: umhtappprd01.arqiva.local
ii. Alternate Hosts: Unspecified
iii.
Page 85 of 100

Port: 3141

Ran this bit from putty on apps host uMhtAppPrd01

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:

Populate from preconfigured client connection


a. Connection Type: Oracle (Thin)
b. Service Name: probi01.arqiva.local
c.
d. Database Host: umhtappprd01.arqiva.localumhtoraprd01.arqiva.local
e. Database Port: 1521
f.

Table owner name: dac

g. Table owner password: ****


h. Encryption Key: << Please input the same generated encryption key value when
creating the connection (previous section)>>

Page 86 of 100

Note: the above screenshot is for DEV, use the appropriate values for
PROD
<<Screenshot for Repository Configuration is required>>

Configure DAC System Properties


1. GO to DAC Client from
2. Start -> all programs -> Oracle Business IntelligenceD Data Warehouse Administration
console 11g -> DAC Client
Select appropriate connection information from dropdown (DAC_PR for Prod environment
DAC server) and click Login
3. Click on Setup from the Top Buttons -> DAC System Properties Tab and change the
following parameters:
a. Informatica Parameter File Location:
/u01/app/oracle/product/Informatica/9.1.0/server/infa_shared/SrcFiles no change
required
b. Repository Name: Oracle_BI_DAC no change required
c. Repository Upgrade Lockdown: true no change required
d. Analyze Frequency (in days): 7 no change required

Page 87 of 100

Integration service started via admin console


Registering Informatica Servers
1. GO to DAC Client from
2. Start -> all programs -> Data Warehouse Admin console -> Client
Select appropriate connection information from dropdown (DAC_PRD for ProdDEV
environment DAC server) and click Login
3. Click on Setup from the Top Buttons -> Informatica Servers Tab and change the following
parameters:
Click on INFORMATICA_REP_SERVER from the top screen and change the following in
the bottom screen.
a. Type -> Repository
b. Hostname -> umhtappprd01
c. Server Port -> 6005
d. Login -> Administrator
Page 88 of 100

e. Password -> ****


f.

Num Parallel Workflows per EP: 10

g. Repository Name -> PRD_Infa_Repository


h. Click on Test Connection button and should be successful. done

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.

a. Type -> Informatica


b. Service -> PRD_Infa_Integration
c. Server Port -> 4006
d. Domain -> Domain_ umhtappprd01.arqiva.local
e. Login -> Administrator
f.

Password -> ****

Page 89 of 100

g. Num Parallel Workflows per EP: 10


h. Repository Name -> PRD_Infa_Repository
i.

Click on Test Connection button and should be successful. done

Note: the above screenshot is for DEV, use the appropriate values for
PROD

Setting up Physical Data Sources


1. GO to DAC Client from
2. Start -> all programs -> Data Warehouse Admin console -> Client
3. Select appropriate connection information from dropdown (DAC_PRD for Prod environment
DAC server) and click Login
4. Click on Setup from the Top Buttons -> Physical Data Sources Tab and change the values
for following Sources:

a. DataWarehouse
a. Type: Warehouse

Page 90 of 100

b. Connection Type: Oracle (Thin)


c. Service Name: 11g_probi01.arqiva.local
d. Table Owner: biapps
e. Table Owner Password: ****
f.

Num Connections per EP: 10

g. Host: uMhtOraPrd01.arqiva.local
h. umhtappprd01.arqiva.local
i.

Port: 1521

j.

Default Index Space: OBI_IND

k. Num Parallel Indexes Per Table: 1


l.

Test the connection and should be successful Not successfull

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.

Num Connections per EP: 10

g. Host: EBS Host TBC


h. Port: EBS Port TBC
i.

Num Parallel Indexes Per Table: 1

j.

Test the connection and should be successful done

Page 91 of 100

Generating Base DWH Tables


This section describes the steps to create the base DWH tables in the biapps schema. Any
customisations to the tables have to be manually executed through SQL scripts on the database.

1. Select Tools -> ETL Management -> Configure from the menu.

Page 92 of 100

2. Select the database type to be Oracle for source and target.

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

4. Leave the Container Blank and select the following values:


a. Is Unicode Unchecked
b. Execute Checked
c. Physical Data Source Data Warehouse
d. Click on the Start Button
e. This will create the vanilla tables in the biapps DWH schema.
BUG 16231709. Workaround is to use one container at a time when creating the Warehouse.
Container: Arqiva Custom Ora R12.1.3
Done

Next bit Completed by Chanukya 120413


Configuring Informatica Workflow Manager:
1. Start -> all programs -> Informatica 9.1 -> Client -> PowerCenter Client -> PowerCenter
Workflow Manager
2. Go to Repository -> Configure Domains

Page 94 of 100

3. Select the existing domain as per below screen.

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

5. Informatica Workflow Manager will open

6. Go to Connections -> Relational - > New

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

7. The final connection screen should like as below:

Page 98 of 100

To here (chan 120413)

Page 99 of 100

Appendix A: Stopping and Starting OBIEE Server Side


Components
Stopping DAC
cd $DAC_HOME
export DM_HOME=$DOMAIN_HOME
unset DOMAIN_HOME
./stopserver.sh
export DOMAIN_HOME=$DM_HOME

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

Page 100 of 100

Das könnte Ihnen auch gefallen