how to setup multiple repositories on a single obiee 10g installation instance

5
Sukannika Iewjaroenwong - IBM From: Sent: ! To: "#$%##&'( Cc: )&*&&)%(&&%'##$$( Subject: +,,-&&#$&#$#&$+,,&$$&& How to setup multiple repositories on a single OBIEE 10 g installation instance 14 Oct 1 – Introduction This topic explains how to setup multiple repositories on a single OBIEE installation i nstance. Having multiple repositories on a single OBIEE 10g instance could be useful especially if want to manage different projects in a development environment or if you are sales people that need to show different solutions to the customers without having multiple OBIEE 10g installations on your laptop. 2 – Configure different repositories The steps to setup multiple repositories on a single OBIEE 10g instance are really few. 2.1 First of all we need to add in the <OBIEE_HOME>/BI/Server/config/nqsconfig.ini the reference to another repository file: Assuming that one of the repositories is the default one that comes with t he first OBIEE 10g installation, your new configuration should look like the following: Repository Star1 = myNewReposi tory.rpd, DEFAULT; Star2 = samplesales.rp d; 2.2 Then we need to define different Analytics ODBC Data Sources for each repository. For windows

Upload: sukannikaie

Post on 06-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

8/2/2019 How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

http://slidepdf.com/reader/full/how-to-setup-multiple-repositories-on-a-single-obiee-10g-installation-instance 1/5

Sukannika Iewjaroenwong - IBM

From: Sent: !To: "#$%##&'(Cc: )&*&&)%(&&%'##$$(Subject: +,,-&&#$&#$#&$+,,&$$&&

How to setup multiple repositories on a single OBIEE 10g

installation instance

14 Oct

1 – Introduction 

This topic explains how to setup multiple repositories on a single OBIEE installation instance.

Having multiple repositories on a single OBIEE 10g instance could be useful especially if want to managedifferent projects in a development environment or if you are sales people that need to show different

solutions to the customers without having multiple OBIEE 10g installations on your laptop.

2 – Configure different repositories 

The steps to setup multiple repositories on a single OBIEE 10g instance are really few.

2.1 First of all we need to add in the <OBIEE_HOME>/BI/Server/config/nqsconfig.ini the reference to

another repository file:

Assuming that one of the repositories is the default one that comes with the first OBIEE 10g installation,

your new configuration should look like the following:

Repository 

Star1 = myNewRepository.rpd, DEFAULT;

Star2 = samplesales.rpd; 

2.2 Then we need to define different Analytics ODBC Data Sources for each repository.

For windows

Page 2: How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

8/2/2019 How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

http://slidepdf.com/reader/full/how-to-setup-multiple-repositories-on-a-single-obiee-10g-installation-instance 2/5

 

Page 3: How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

8/2/2019 How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

http://slidepdf.com/reader/full/how-to-setup-multiple-repositories-on-a-single-obiee-10g-installation-instance 3/5

 

For Unix

Assuming to have the following sources:

AnalyticsWeb1  Driver=/<OBIEE_HOME>/server/Bin/libnqsodbc.so

 Description=Oracle BI Server 

ServerMachine=local

 Repository=Star2

Catalog=

UID=

PWD=

Port=9703

… 

For the default repository, and

AnalyticsWeb2 

 Driver=/<OBIEE_HOME>/server/Bin/libnqsodbc.so

 Description=Oracle BI Server 

ServerMachine=local

 Repository=

Catalog=

UID=

PWD=

Port=9703… 

We edit the <OBIEE_HOME>/setup/odbc.ini file by adding the following data sources:

ODBC Data Sources  AnalyticsWeb1=Oracle BI Server 

 AnalyticsWeb2=Oracle BI Server  

2.3 We duplicate the <OBIEE_DATA_HOME>\web\config\instanceconfig.xml in order to have the

following

instanceconfig1.xml

instanceconfig2.xml  

Page 4: How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

8/2/2019 How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

http://slidepdf.com/reader/full/how-to-setup-multiple-repositories-on-a-single-obiee-10g-installation-instance 4/5

2.4 In each file we specify the following parameters:

DSN: The ODBC name to link the repository to the presentation (AnalyticsWeb1 o AnalyticsWeb2).

Listener Port: A different port for each presentation service (e.g 9710 and 9711)

CatalogPath: The catalog path

The two instanceconfig.xml files should look like the following:

instanceconfig1.xml

<ServerInstance>

<DSN>AnalyticsWeb1</DSN>

<Listener port=”9710  />

<CatalogPath>C:/OracleBIData/web/catalog/catalog1</CatalogPath>

… 

instanceconfig2.xml

<ServerInstance><DSN>AnalyticsWeb2</DSN>

<Listener port=”9711  />

<CatalogPath>C:/OracleBIData/web/catalog/catalog2</CatalogPath>

… 

2.5 Now we are ready to run 2 presentation servers by running twice the same presentation server instance

with different instanceconfig.xml file:

Windows

copy instanceconfig1.xml instanceconfig.xml <BIEE_HOME>\OracleBI\web\bin\sawserver.exe  

copy instanceconfig2.xml instanceconfig.xml 

<BIEE_HOME>\ OracleBI\web\bin\sawserver.exe  

Unix

cp instanceconfig1.xml instanceconfig.xml

<BIEE_HOME>/OracleBI/run-saw.sh start 

cp instanceconfig2.xml instanceconfig.xml

<BIEE_HOME>/OracleBI/run-saw.sh start  

2.6 Any web application can connect to one BI Presentation (one catalog and repository), so we need to

deploy a number or applications that corresponds to the number of running presentations.

For instance, we deploy the analytics service again with the name “analytics2 

In order to connect the application to the presentation we edit the \analytics\WEB-INF\web.xml to set the

following parameter:

oracle.bi.presentation.sawserver.Port by specifying the value of the corresponding port.

For the application that connects to the default repository:

Page 5: How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

8/2/2019 How to Setup Multiple Repositories on a Single OBIEE 10g Installation Instance

http://slidepdf.com/reader/full/how-to-setup-multiple-repositories-on-a-single-obiee-10g-installation-instance 5/5

<servlet>

<servlet-name>SAWBridge</servlet-name>

<servlet-class>com.siebel.analytics.web.SAWBridge</servlet-class>

<init-param>

<param-name>oracle.bi.presentation.sawserver.Host</param-name>

<param-value>localhost</param-value>

</init-param>

<init-param>

<param-name>oracle.bi.presentation.sawserver.Port</param-name>

<param-value>9710</param-value>

</init-param>

</servlet> 

For the application that connects to the second one:

<servlet>

<servlet-name>SAWBridge</servlet-name>

<servlet-class>com.siebel.analytics.web.SAWBridge</servlet-class>

<init-param><param-name>oracle.bi.presentation.sawserver.Host</param-name>

<param-value>localhost</param-value>

</init-param>

<init-param>

<param-name>oracle.bi.presentation.sawserver.Port</param-name>

<param-value>9711</param-value>

</init-param>

</servlet> 

2.7 Summary:

We can access now the applications via the following urls:

http://bihost:9710/analytics

http://bihost:9711/analytics2