Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

http://www.peakindicators.

com
enquiries@peakindicators.com








Oracle Business Intelligence 11g


Enabling Usage Tracking
with OBIEE 11.1.1.6.x





November 2012






Peak Indicators Limited
Tapton Park Innovation Centre
Brimington Road
Tapton
Chesterfield
S41 0TZ

+44 (0) 114 360 2945

Page 2 www.peakindicators.com
enquiries@peakindicators.com
TABLE OF CONTENTS
1. Enable Usage Tracking ........................................................................................................................................ 3
1.1 Usage Tracking RPD Metadata ..................................................................................................................... 3
1.2 Create Usage Tracking Tables....................................................................................................................... 4
1.3 Configure Usage Tracking Parameters ......................................................................................................... 5
1.4 Restart Oracle BI Server process ................................................................................................................ 10




Page 3 www.peakindicators.com
enquiries@peakindicators.com
1. ENABLE USAGE TRACKING

1.1 USAGE TRACKING RPD METADATA
Open up your RPD and make sure that the Connection Pool used for Usage Tracking is correctly
configured to point at your xxx_BIPLATFORM system schema:




Make a note of the following details regarding your Usage Tracking RPD metadata:

1. Path to your Usage Tracking Connection Pool, in the format:

"[Database]"."[Connection Pool]"

e.g. "Oracle BI Usage Tracking". "Oracle BI Usage Tracking Connection Pool"


2. Full path to the S_NQ_ACCT Usage Tracking table, in the fomat:
"[Database]". "[Catalog]"."[Schema]". "[Table]"

e.g. "Oracle BI Usage Tracking".""."BIPLATFORM"."S_NQ_ACCT"


NOTE: In this example, we have no "[Catalog]" component to it is just refered to as ""


Page 4 www.peakindicators.com
enquiries@peakindicators.com
1.2 CREATE USAGE TRACKING TABLES

On the BI Server machine, you will find 4 scripts needed to create default Usage Tracking time tables
on your specific database:

Folder:
[MIDDLEWARE_HOME]\instances\instance1\bifoundation\OracleBIServerComponent\coreap
plication_obis1\sample\usagetracking\SQL_Server_Time

Scripts for a SQL Server database:
SQLServer_create_nQ_Calendar.sql
SQLServer_create_nQ_Clock.sql
SQLServer_nQ_Calendar.sql
SQLServer_nQ_Clock.sql

Scripts for an Oracle Database:
Oracle_create_nQ_Calendar.sql
Oracle _create_nQ_Clock.sql
Oracle _nQ_Calendar.sql
Oracle _nQ_Clock.sql


Run the above 4 SQL scripts on the xxx_BIPLATFORM schema owner for your Oracle BI instance

NOTE: run the scripts in the order that they are listed

The first two scripts will each create a table (S_ETL_DAY and S_ETL_TIME_DAY) and then the final
two scripts will perform a number of insert SQL statements to populate them.



Page 5 www.peakindicators.com
enquiries@peakindicators.com
1.3 CONFIGURE USAGE TRACKING PARAMETERS
Log on to Oracle Enterprise Manager as your weblogic admin user account:

http://[BI SERVER]:7001/em





On the left-hand side expand WebLogic Domain, right-mouse click on bifoundation_domain
and then choose the System MBean Browser menu option




Page 6 www.peakindicators.com
enquiries@peakindicators.com
Expand and select the following mBean:

Application Defined MBeans
> Domain: bifoundation_domain
> oracle.biee.admin
> BIDomain
> BIDomain (the 2
nd
one listed)




On the right-hand side, go to the Operations tab and then click the lock option:





Page 7 www.peakindicators.com
enquiries@peakindicators.com
Then click the Invoke button at the top-right



Back in the System MBean Browser window pane, expand and select the following MBean (you
should find it just above the one you have already selected):

BIDomain.BIInstance.ServerConfiguration > BIDomain.BIInstance.ServerConfiguration



Page 8 www.peakindicators.com
enquiries@peakindicators.com
On the right-hand side, set the following parameters on the Attributes tab:
UsageTrackingConnectionPool: "Oracle BI Usage Tracking"."Oracle BI Usage Tracking Connection Pool"
UsageTrackingEnabled: true
UsageTrackingPhysicalTableName: "Oracle BI Usage Tracking".""."BIPLATFORM"."S_NQ_ACCT"



Click the Apply button at the top-right

Now go back to the previous BIDoman MBean and select it:






Page 9 www.peakindicators.com
enquiries@peakindicators.com
On the right-hand side, go to the Operations tab and then click the simpleCommit option:



Click the Invoke button and confirm the operation completed successfully:







Page 10 www.peakindicators.com
enquiries@peakindicators.com
1.4 RESTART ORACLE BI SERVER PROCESS
Finally, restart your Oracle BI server process

For example, using ompn:

opmnctl stopproc ias-component=coreapplication_obis1
opmnctl startproc ias-component=coreapplication_obis1

You might also like