Professional Documents
Culture Documents
Page 1
www.peakindicators.com enquiries@peakindicators.com
TABLE OF CONTENTS
About The Installation ...................................................................................................................................... 4 Pre-Requisites .................................................................................................................................................. 5 Create OS User Account ............................................................................................................................... 5 Install Oracle Database Client ........................................................................................................................... 6 Install Oracle Application Server ....................................................................................................................... 7 Install Oracle Identity Management................................................................................................................ 12 Running The Installer.................................................................................................................................. 12 Configure Shell Script ................................................................................................................................. 18 Start up Oracle Identity Management......................................................................................................... 18 Install Oracle BI Enterprise Edition (CLIENT) .................................................................................................... 19 Install Java Development Kit (JDK) .............................................................................................................. 19 Download and Extract Oracle BI EE Software (for Windows) ....................................................................... 19 Running The Installer.................................................................................................................................. 19 Install Oracle BI Enterprise Edition (SERVER) ................................................................................................... 22 Create Installation Folders for Oracle BI EE ................................................................................................. 22 Create BIEE Schema on Data-Warehouse.................................................................................................... 22 Install Java Development Kit (JDK) .............................................................................................................. 23 Download and Extract Oracle BI EE Software (for Linux).............................................................................. 23 Configure Operating System Limits ............................................................................................................. 23 Run UnixChk.sh Script ................................................................................................................................ 24 Running The Installer.................................................................................................................................. 24 Configure Shell Scripts ................................................................................................................................ 27 Configure BI Delivers Scheduler .................................................................................................................. 28 Create BI Delivers Scheduler and Usage Tracking tables ....................................................................... 29 Enable Usage Tracking................................................................................................................................ 30 Configure Credential Store ......................................................................................................................... 31 Configure BI Repository (RPD) .................................................................................................................... 32 Configure Presentation Catalogue .............................................................................................................. 32
Page 2 www.peakindicators.com enquiries@peakindicators.com
Start Up Oracle AS and BI EE Processes ....................................................................................................... 33 Configure BI Publisher ................................................................................................................................ 34 Configure Security For Oracle OID and Oracle SSO (OPTIONAL) ....................................................................... 35 Configure BI Repository (RPD) For LDAP Authentication.............................................................................. 35 Enable Authorization With Oracle Internet Directory .................................................................................. 37 Register Oracle BI EE As A Partner Application ............................................................................................ 40 Configure HTTP Server................................................................................................................................ 41 Create Impersonator User In BI Repository ................................................................................................. 43 Configure Credential Store for Impersonator User ...................................................................................... 43 Configure Presentation Services ................................................................................................................. 44 Configure BI Publisher for /analyticsSOAP................................................................................................... 45 Deploy /analyticsSOAP and Re-start BI Publisher ........................................................................................ 46 Restart HTTP and Presentation Services...................................................................................................... 49 Configure Security For Active Directory (OPTIONAL) ....................................................................................... 50 Enable Authentication With Active Directory .............................................................................................. 50 Enable Authorization With Active Directory ................................................................................................ 53
Page 3
www.peakindicators.com enquiries@peakindicators.com
It is assumed that a Data-Warehouse (DW) database is already available and populated in advance of this installation procedure. Before the actual Oracle BI Enterprise Edition install begins, this document will first guide you through the process of installing an Oracle Application Server that will host the Oracle BI EE web components (shown below as Analytics, BI Publisher and BI Office). These Oracle BI EE web components will be deployed automatically to the Oracle Application Server as part of the Oracle BI Enterprise Edition install process. Oracle Database Client software will also be required so that the BI Server can source data from the DataWarehouse via SQL*Net. There is an optional section in this guide detailing how to configure Oracle BI EE to authenticate and authorize using Oracle Single-Sign-On (OSSO) and Oracle Internet Directory (OID). The installer for the Oracle Identity Management (OIM) suite will actually install all the necessary OIM components shown on the left-hand side in the diagram below (including an Oracle Application Server and Oracle Internet Directory (OID) database repository). OIM can be installed on a different server is necessary. Another optional section exists for configuring Oracle BI EE to authenticate and authorize against Active Directory. This section however does not cater for Single-Sign-On.
Page 4
www.peakindicators.com enquiries@peakindicators.com
Page 5
www.peakindicators.com enquiries@peakindicators.com
Page 6
www.peakindicators.com enquiries@peakindicators.com
NOTE: This folder will from now on be referred to as [IAS HOME] Installation Type : Advanced Install
Click Next and then click Yes to accept the subsequent warning.
Page 7
www.peakindicators.com enquiries@peakindicators.com
On the next screen, choose the option for Automatic Port Configuration:
Page 8
www.peakindicators.com enquiries@peakindicators.com
On the Administration Settings screen, set the following parameters: Instance Name AS Administrator Password : : iAS [OC4J password] (as an example)
Enable the option Configure this as an Administration OC4J instance OC4J Instance Name : home (this value must be set to home)
Page 9
www.peakindicators.com enquiries@peakindicators.com
During the install you will need to run a root.sh script as the root user:
Page 10
www.peakindicators.com enquiries@peakindicators.com
Page 11
www.peakindicators.com enquiries@peakindicators.com
Copy the downloaded files to the Linux machine and extract the contents using the following command: cpio -idvm < as_linux_x86_oim_oif_101401_disk1.cpio cpio -idvm < as_linux_x86_oim_oif_101401_disk2.cpio
Start the installation process by running the runInstaller utility. ./runInstaller When the installation window appears, you should specify the following parameters: Name Path : : oim /vol1/oracle/product/oim (as an example) (as an example)
Page 12
www.peakindicators.com enquiries@peakindicators.com
Then choose the installation type Identity Management and Metadata Repository (4.01 GB):
Page 13
www.peakindicators.com enquiries@peakindicators.com
Page 14
www.peakindicators.com enquiries@peakindicators.com
Specify the following Database Configuration Options for the Oracle Internet Directory (OID) database repository: Global Database Name SID Database File Location : : : oid.localdomain oid [OIM HOME]/oradata (example) (example)
For the database passwords, use the same password for all accounts and specify an appropriate password:
Page 15
www.peakindicators.com enquiries@peakindicators.com
Next, enter the instance name and ias_admin (administrator) password for the Oracle Identity Management suite: Instance Name Ias_admin Password Confirm Password : : : oim [password] [password] (example)
Page 16
www.peakindicators.com enquiries@peakindicators.com
If you see the following error during installation then just click Continue to ignore it:
During the install process you will asked to log on as the root user and run a script called root.sh:
Finally, a number of configuration assistants will run, these must all complete successfully (they may take some time to run):
Page 17
www.peakindicators.com enquiries@peakindicators.com
Page 18
www.peakindicators.com enquiries@peakindicators.com
INSTALL ORACLE BI ENTERPRISE EDITION (CLIENT) INSTALL JAVA DEVELOPMENT KIT (JDK)
Download the latest Java SE Development Kit (JDK) for Windows from the following web-site: http://java.sun.com/javase/downloads/index.jsp The file you need to download will be something like this:
Downloaded file to your Windows workstation, execute it and then follow the instructions to complete the install.
Click Next when you arrive at the first screen showing an important message:
Page 19
www.peakindicators.com enquiries@peakindicators.com
Specify the following parameters: Installation Location Data Location Installation Type : : : C:\Oracle\OracleBI C:\Oracle\OracleBIData Basic
On the next screen, choose the setup type Oracle Business Intelligence Client Tools:
Page 20
www.peakindicators.com enquiries@peakindicators.com
Page 21
www.peakindicators.com enquiries@peakindicators.com
INSTALL ORACLE BI ENTERPRISE EDITION (SERVER) CREATE INSTALLATION FOLDERS FOR ORACLE BI EE
Create a new base directory on the Linux server for the Oracle BI EE install. For example: mkdir /vol1/oracle/product/biee NOTE: The above folder path will from now on be referred to as [BI HOME] Then create two sub-folders for the OracleBI and OracleBIData locations that need to be specified during the installation process: mkdir [BI HOME]/OracleBI mkdir [BI HOME]/OracleBIData Set the appropriate ownership permissions for the orabiee user account: chown orabiee:dba [BI HOME]/biee chown orabiee:dba [BI HOME]/OracleBI chown orabiee:dba [BI HOME]/OracleBIData
You can do this by logging on via SQL*Plus as a SYSTEM user and running the following commands: create user biee identified by [password] default tablespace [tablespace] quota unlimited on [tablespace]; grant create session, create table, create procedure, create sequence, create view, create trigger to biee;
Page 22
www.peakindicators.com enquiries@peakindicators.com
Copy the downloaded file to the Linux server and make sure its permissions will allow it to be executed. For example: chmod +x jdk-6u13-linux-i586-rpm.bin Install the JDK by executing the file as the root user from the shell command line. ./jdk-6u13-linux-i586-rpm.bin Make sure the Linux machine is defaulted to use this new Java location: ln -sf /usr/java/latest/bin/java /usr/bin/java
Page 23
www.peakindicators.com enquiries@peakindicators.com
Then run the UnixChk.sh script to check for all pre-requisites prior to installation (you need to specify the Oracle BI base location as a parameter): ./UnixChk.sh [BI HOME] If successful, you should see the following output:
Page 24
www.peakindicators.com enquiries@peakindicators.com
Specify the following parameters: Installation Location Data Location Installation Type : : : [BI HOME]/OracleBI [BI HOME]/OracleBIData Advanced
You will then need to specify the details for the Oracle Application Server instance. Oracle Application Server Location : Administrator Username Administrator Password : : [IAS HOME] oc4jadmin [OC4J password]
Page 25
www.peakindicators.com enquiries@peakindicators.com
Page 26
www.peakindicators.com enquiries@peakindicators.com
In the orabiee home directory, create a new script called startbiee.sh: # Start Oracle Application Server for BI EE [IAS HOME]/opmn/bin/opmnctl start # Start Oracle BI Server run-sa.sh start # Start Oracle BI Presentation Services run-saw.sh start # Start Oracle BI Scheduler run-sch.sh start
Page 27
www.peakindicators.com enquiries@peakindicators.com
Then configure the scheduler by specify the following menu options and parameters: 1 Configure Scheduler 1 Database 3 Data Source Name 4 User Name 5 Password 0 Quit Y to save changes : : : TNS Connect string to Data Warehouse e.g. biee421dev biee [biee password]
2 General 11 Administrator Password 0 Quit Y to save changes 0 - Quit 2 Configure Mail 1 General 2 Sender Address 3 SMTP Server 0 Quit Y to save changes 0 - Quit 0 - Quit : : noreply@noreply.com your.smtp.mail.server : Administrator
Page 28
www.peakindicators.com enquiries@peakindicators.com
The create the Scheduler and Usage Tracking tables on the Data-Warehouse biee schema using SQL*Plus: sqlplus biee/[password]@[dw] @SAJOBS.Oracle.sql @SAACCT.Oracle.sql exit
There are two Time dimension tables that also need to be imported into the biee schema (used for Usage Tracking reporting): S_ETL_DAY S_ETL_TIME_DAY To do this, uncompress the usage.zip file thas provided along with this installation guide. Import the resultant usage.dmp file into the biee schema: Imp biee/[bieepw]@[dw] file=usage.dmp full=y
Page 29
www.peakindicators.com enquiries@peakindicators.com
Open up the following configuration file for editing: [BI HOME]/OracleBI/server/Config/NQSConfig.ini Modify the following parameters: [ USAGE_TRACKING ] ENABLE = YES; DIRECT_INSERT = YES; PHYSICAL_TABLE_NAME = "Oracle BI EE"."BIEE"."S_NQ_ACCT"; CONNECTION_POOL = "Oracle BI EE"."Oracle BI EE Writer Connection Pool";
NOTE: The text in red reflects the BI Repository configuration shown in the above diagram. You should configure these parameters to be in line with your own custom BI Repository file.
Page 30
www.peakindicators.com enquiries@peakindicators.com
Page 31
www.peakindicators.com enquiries@peakindicators.com
Configure the following parameter within the config file so that it corresponds to your custom BI Repository (RPD) file name: [ REPOSITORY ] Star = samplesales.rpd, DEFAULT;
Configure the following parameter within the config file so that it corresponds to your custom BI Presentation Catalogue path: <CatalogPath[BI HOME]/OracleBIData/web/catalog/samplesales</CatalogPath>
Page 32
www.peakindicators.com enquiries@peakindicators.com
Use the following credentials to log in: Username Password : : Administrator Administrator
Page 33
www.peakindicators.com enquiries@peakindicators.com
CONFIGURE BI PUBLISHER
Log on to the BI Dashboards: http://[host]:7777/analytics (Administrator / Administrator)
At the top-right, choose the menu option: More Products BI Publisher will now open up.
BI Publisher
Click on the Admin tab and choose Scheduler Configuration. Specify the following parameters: Connection String Username Password : jdbc:oracle:thin:@devsrv02:1521:bidev421 : biee : [biee password] (example host:port:sid)
Page 34
www.peakindicators.com enquiries@peakindicators.com
CONFIGURE SECURITY FOR ORACLE OID AND ORACLE SSO (OPTIONAL) CONFIGURE BI REPOSITORY (RPD) FOR LDAP AUTHENTICATION
The Development team should have configured the BI Repository (RPD) file for LDAP Authentication. You should however configure the RPD file to authenticate against the appropriate LDAP server (in our case, this will be Oracle Internet Directory). Open up the BI Administration tool via the Start menu: Start Oracle Business Intelligence Administration
Click on the icon to open up your BI Repository in on-line mode (NOTE: If you dont see a connection listed for your BI Server then you need to create one via Administrative Tools ODBC Data Sources):
Once you have connected to your BI Repository, choose the following menu option: Manage Security
Click on LDAP Servers, you should see a list of possible LDAP Servers on the right-hand side:
Page 35
www.peakindicators.com enquiries@peakindicators.com
Double-click on the LDAP Server to edit its properties. Modify the following parameters: Host Name Port Base DN : : : Host for your Oracle Identity Management suite Port for Oracle Internet Directory (typically 389) The Base location for the User location within OID
Use the Test Connection button to confirm OID connectivity can successfully be established. Click OK to accept the changes. Save the RPD by choosing the menu option File and/or to check global consistency) Save (choose Yes if prompted to check in changes
Page 36
www.peakindicators.com enquiries@peakindicators.com
Page 37
www.peakindicators.com enquiries@peakindicators.com
2) Create Authorization Initialization Block Open up the BI Repository and choose the menu option Manage Variables. Initialization Blocks:
Then on the right-hand side, right-mouse click and choose New Initialization Block:
A new window should appear for the new Initialization Block. Specify the following parameters: Name : Authorization
Click on the Edit Data Source button and configure as follows: Data Source Type Default Init String Connection Pool : : : Database SELECT GETLDAPGROUPS(LOWER(':USER')) FROM DUAL [Any connection pool with access to the BI EE schema]
Page 38
www.peakindicators.com enquiries@peakindicators.com
Click on OK to go back to the main Initialization Block edit window and click on the Edit Data Target button. Specify Row-wise initialization (BUT DO NOT ENABLE THE Use Caching OPTION):
Click on OK, then click the Edit Execution Precedence button. Click Add and the choose the Authentication Initialization Block:
Click on OK and then OK again to exit the Initialization Block edit window. Save the Repository (<CTRL> + S).
Page 39
www.peakindicators.com enquiries@peakindicators.com
Open up a Terminal session on the Linux machine hosting the Oracle Identity Management suite. Enter the following commands: cd [OIM HOME]/sso/bin ./ssoreg.sh -oracle_home_path [OIM HOME] -site_name [BI HOST]:[BI PORT] -config_mod_osso TRUE -mod_osso_url http://[BI HOST]:[BI PORT] -config_file [OIM HOME]/Apache/Apache/conf/osso/biosso.conf NOTES: [BI HOST] is the Linux machine hosting Oracle BI EE [BI PORT] is the HTTP port on which Oracle BI EE is running (typically 7777)
After approximately 30 seconds you should see the following success message: SSO registration tool finished successfully The process will generate a configuration file called biosso.conf, this file will be needed later on in the SSO configuration process.
Page 40
www.peakindicators.com enquiries@peakindicators.com
If both OIM and IAS are hosted on the same machine, then you can use the following copy command to achieve this: cp [OIM HOME]/Apache/Apache/conf/osso/biosso.conf [IAS HOME]/Apache/Apache/conf/osso/biosso.conf
2) Modify mod_osso.conf File Open up the following file for editing: [IAS HOME]/Apache/Apache/conf/mod_osso.conf
Within the <IfModule mod_osso.c> section, add the following text to register the new biosso.conf file: OssoConfigFile [IAS HOME]/Apache/Apache/conf/osso/biosso.conf
Then add the following text to protect the URLs for /analytics and /analyticsSOAP: <Location /analytics> Header unset Pragma OssoSendCacheHeaders off AuthType Basic require valid-user </Location> <Location /analyticsSOAP> require valid-user AuthType Basic Allow from All Satisfy any </Location>
Page 41
www.peakindicators.com enquiries@peakindicators.com
3) Edit httpd.conf File Open up the following file for editing: [IAS HOME]/Apache/Apache/conf/httpd.conf Locate the line for mod_osso.conf and un-comment it by removing the # at the beginning of the line
Page 42
www.peakindicators.com enquiries@peakindicators.com
Page 43
www.peakindicators.com enquiries@peakindicators.com
Open up the following file for editing: [BI HOME]/web/config/instanceconfig.xml Add the following tags to the .xml file (the text highlighted in red is the text you need to change): <CredentialStore> <CredentialStorage type="file" path="[BI HOME]/OracleBIData/web/config/credentialstore.xml" passphrase="password"/> </CredentialStore> <Auth> <SSO enabled="true"> <ParamList> <Param name="IMPERSONATE" source="serverVariable" nameInSource="REMOTE_USER"/> </ParamList> <LogoffUrl>http://[OIM HOST]:[OIM PORT]/pls/orasso/orasso.wwsso_app_admin.ls_logout?p_done_url=http%3A%2F%2F[BI HOST]:[BI PORT]%2Fanalytics%2F</LogoffUrl> <LogonUrl>http:// ://[OIM HOST]:[OIM PORT]/pls/orasso/orasso.wwsso_app_admin.ls_login</LogonUrl> </SSO> </Auth> NOTES: [OIM HOST] is the Linux machine hosting Oracle Identity Management [OIM PORT] is the HTTP port on which Oracle Identity Management is running (typically 7779) [BI HOST] is the Linux machine hosting Oracle BI EE [BI PORT] is the HTTP port on which Oracle BI EE is running (typically 7777)
Page 44
www.peakindicators.com enquiries@peakindicators.com
At the top-right, choose the menu option: More Products BI Publisher will now open up.
BI Publisher
Go to Admin tab and choose the link for Oracle BI Presentation Services Set the following parameters on the page: Administrator Password : URL Suffix : Administrator analyticsSOAP/saw.dll (example)
Click Apply
Page 45
www.peakindicators.com enquiries@peakindicators.com
Click on home link Click on Applications link Click on Deploy button Click on Archive is already present on the server and enter the location: [BI HOME]/OracleBI/web/analytics.ear
Page 46
www.peakindicators.com enquiries@peakindicators.com
Click Next and specify the following parameters: Application Name Context Root : analyticsSOAP : analyticsSOAP
Click Next
Click Deploy
Page 47
www.peakindicators.com enquiries@peakindicators.com
Click Return, you should now see the list of Applications installed within home:
Page 48
www.peakindicators.com enquiries@peakindicators.com
Page 49
www.peakindicators.com enquiries@peakindicators.com
CONFIGURE SECURITY FOR ACTIVE DIRECTORY (OPTIONAL) ENABLE AUTHENTICATION WITH ACTIVE DIRECTORY
Open up the BI Repository and choose the menu option Manage Variables. Initialization Blocks:
Then on the right-hand side, right-mouse click and choose New Initialization Block:
A new window should appear for the new Initialization Block. Specify the following parameters: Name Required for Authentication : : Authentication
Page 50
www.peakindicators.com enquiries@peakindicators.com
Click on the Edit Data Source button. Set the Data Source Type to LDAP: Click on the New button to specify a new LDAP server, enter the following parameters on the General tab: Name Host Name Port Base DN Bind DN Bind Password Confirm pw : : : : : : : [LDAP Server Name] [Host Name of the LDAP Server] [LDAP Port] [Distinguished Name in the LDAP directory containing the list of Users] [DN for a user name with which to connect to the LDAP directory] [Password for Bind DN user] [Password for Bind DN user]
Then click on the Advanced tab and enter the following parameters: ADSI :
Go back to the General tab, click on the Test connection button and make sure connectivity has been established successfully. Click OK and then OK again to go back to the main Initialization Block edit window.
Page 51
www.peakindicators.com enquiries@peakindicators.com
Now click the Edit Data Target button, and specify the following new Variables as targets (by clicking on the New button for each one): Variable USER DISPLAYNAME DN LDAP variable sAMAccountName cn distinguishedName
Test for successful configuration by clicking the Test button and specifying Use Bind Parameters:
You should see each of the three above variables have been populated. Click on OK and then OK again to exit the Initialization Block edit window. Save the BI Repository (<CTRL> + S).
Page 52
www.peakindicators.com enquiries@peakindicators.com
NOTE: The PL/SQL Function contains a hard-coded username and password. If you wish to hide this then you can wrap the PL/SQL Function so that the contents are encrypted. Please refer to the Oracle Database documentation on how to do this.
Page 53
www.peakindicators.com enquiries@peakindicators.com
4) Create Authorization Initialization Block Open up the BI Repository and choose the menu option Manage Variables. Initialization Blocks:
Then on the right-hand side, right-mouse click and choose New Initialization Block:
A new window should appear for the new Initialization Block. Specify the following parameters: Name : Authorization
Click on the Edit Data Source button and configure as follows: Data Source Type Default Init String Connection Pool : : : Database select GETLDAPGROUPS('VALUEOF(NQ_SESSION.DN)') from dual [Any connection pool with access to the BI EE schema]
Page 54
www.peakindicators.com enquiries@peakindicators.com
Click on OK to go back to the main Initialization Block edit window and click on the Edit Data Target button. Define a single target Variable called GROUP:
Click on OK, then click the Edit Execution Precedence button. Click Add and the choose the Authentication Initialization Block:
Click on OK and then OK again to exit the Initialization Block edit window. Save the Repository (<CTRL> + S).
INSTALL COMPLETE
Page 55
www.peakindicators.com enquiries@peakindicators.com