You are on page 1of 19

ODI11g: Creating and Connecting to ODI Master and Work

Repositories
Note: Instructions and any text that you need to modify are enclosed in <>.

Purpose
This tutorial walks you through the steps that are needed to create and connect to the ODI Master
Repository and the ODI Work Repository.

Time to Complete
Approximately 20 minutes

Overview
The first steps to setting up Oracle Data Integrator are to create the Master repository, connect to the
Master repository, create the Work repository, and then connect to the Work repository. This OBE
provides a step-by-step walkthrough of the process of creating and connecting to the ODI Master
Repository and the ODI Work Repository.
Note: The steps to create and connect to the master and work repositories are also outlined in the ODI
11g Installation Guide.

Scenario
Linda works as a database administrator for Global Enterprise. In Global Enterprise, Linda is responsible
for performing database management and integration tasks on the various resources within the
organization. In particular, Linda is responsible for data loading, transformation, and validation. To begin
working on her projects (such as exporting a relational table to a flat file), she needs to create the new
Master repository and Work repository.

Software and Hardware Requirements


The following is a list of software requirements:

The system should include the following installed products:


o

Oracle Database 11g

Oracle Data Integrator 11gR1


If not done before, start the services and components for Oracle Database 11g

Prerequisites
Before you start the tasks, make sure that your system environment meets the following requirements:

1. Have installed Oracle Database 11g. If not done before, start the services and components for Oracle Database 11g

2. Have installed Oracle Data Integrator 11gR1

Creating and Connecting to ODI Master Repository


1. Start the SQL Developer by selecting Start > Programs > Oracle-OraDb11g_home1 > Application Development >
SQL Developer. When SQL Developer started, close the Logging Page Log tab.

2 . In SQL Developer, create a new connection.

3. Name this new connection: Administrator. Enter SYSTEM for Username. Enter oracle1 for Password. For SID,
enter: ORCL. Clisk Test, and then click Connect. Click + to expand connection Administrator.

4. You have to create the RDBMS schema/user (Oracle 11g) for the Master repository. The schemas can be created by
executing the following SQL commands:
create user <MY_SCHEMA> identified by <MY_PASS>
default tablespace <MY_TBS> temporary tablespace <MY_TEMP>;
grant connect, resource to <MY_SCHEMA>;

Where:
<MY_SCHEMA> corresponds to the name of the schema that you want to create
<MY_PASS> corresponds to the password that you gave
<MY_TBS> corresponds to the Oracle tablespace where the data will be stored
<MY_TEMP> corresponds to the temporary default tablespace
To create the user snpm1 for master repository, enter the following command. Click Execute statement icon .

create user snpm1 identified by oracle1


default tablespace users temporary tablespace temp;

Note: In this command, oracle1 is the value of password to connect to user snpm1.

5. Grant connect privileges to the newly created user by executing the SQL command provided below. Expand Other
Users node to verify that the user snpm1 was successfully created.

grant connect, resource to snpm1;

6. In the next few steps you create the ODI Master repository. Start Oracle Data Integrator: Start > Programs > Oracle
ODI 11g-Home> Oracle Data Integrator > ODI Studio

7. Open the New Gallery by choosing File > New. In the New Gallery, in the Categories tree, select ODI. Select from the
Items list the Master Repository Creation Wizard. Click OK. The Master Repository Creation Wizard appears.

8 . Open the New Gallery by choosing File > New. In the New Gallery, in the Categories tree, select ODI. Select from the
Items list the Master Repository Creation Wizard. Click OK. The Master Repository Creation Wizard appears.

9 . In the Master Repository Creation Wizard, select the browse icon of the JDBC Driver and then select Oracle JDBC
Driver. Click OK. Edit the JDBC URL to read:
jdbc:oracle:thin: localhost:1521:orcl
Enter the User as snpm1 and the Password as oracle1 . Click the Test Connection button and verify successful

connection. Click OK. Click Next on the Master Repository Creation Wizard screen.

10 . In the Authentication window, enter Supervisor Password as SUNOPSIS. Enter SUNOPSIS again to confirm the
password. Click Next.
Note: User names and passwords are case-sensitive in ODI.

11 . In the Password Storage window, select Internal password Storage, and then click Finish. When Master Repository is
successfully created, you will see the Oracle Data Integrator Information message. Click OK. The ODI Master
repository is now created.

12 . You connect to the ODI Master repository by creating a new ODI Master Login. Open the New Gallery by choosing
File > New. In the New Gallery, in the Categories tree, select ODI. From the Items list select Create a New ODI
Repository login.

13 . Configure Repository Connections with the parameters from the tables provided below. To enter the JDBC URL, click
the button next to JDBC URL field and select jdbc:oracle:thin:@<host>:<port>:<sid> as shown in the screenshot,
then edit the URL. Select Master Repository only button. Click Test button. Verify successful connection and click OK.
Click OK to save the connection.

Oracle Data Integrator Connection


Parameter

Value

Login Name

Master Repository

User

SUPERVISOR

Password

SUNOPSIS

Database Connection (Master Repository)


Parameter

Value

User

snpm1

Password

oracle1

Driver List

Oracle JDBC Driver

Driver Name

oracle.jdbc.OracleDriver

Url

jdbc:oracle:thin:@localhost:1521:orcl

Note: Do not copy and paste in the JDBC URL field. This may cause problems with entering a valid URL string.
Instead, open the drop-down menu and select the correct driver from the list. Type the correct URL in the URL field.

14 . Click Connect to Repository. Select the newly created repository connection Master Repository from the drop-down
list. ClickOK. The ODI Topology Manager starts. You are now successfully logged in to the ODI Topology Manager.

Creating and Connecting to ODI Work Repository


1. tIf not opened, open SQL Developer. Create the schema/user snpw1 for Work repository by executing the following
SQL command:

create user snpw1 identified by oracle1


default tablespace users temporary tablespace temp;

2.

Grant connect privileges to the newly created user by executing the SQL command
provided below. Verify that user snpw1 was successfully created.
Note: You may need to select Other users node and click Refresh icon.

grant connect, resource to snpw1;

3. Now that you created the RDBMS schema/user, use ODI Topology Navigator to create the ODI Work repository. In
ODI, click the Topology Navigator tab and then click to the Repositories panel. Right-click the Work Repositories
node and select New Work Repository. The Create Work Repository Wizard opens.

4. In the screen that follows, enter the parameters shown in the following table. Click the Test button. Verify successful
connection and click OK. Click Next.

Parameter

Value

Technology

Oracle

Driver Name

oracle.jdbc.driver.OracleDriver

JDBC Url

jdbc:oracle:thin:@localhost:1521:orcl

User

snpw1

Password

oracle1

1 . In the Specify Work Repository properties set the ID to 1. Set the Name to WORKREP1. Enter Password as
SUNOPSIS. For Work Repository Type, leave Development. Click Finish.

1 . In the Create Work Repository Login window, click Yes. Enter the Login name: WORKREP1 as shown on the
screenshot. Click OK. Verify that the newly created Work repository is now in the work repositories tree view.

1 . Now you disconnect from the Master repository and connect to the Work repository. Click ODI menu and select
Disconnect "Master Repository".

1 . Click Connct to Repository. Select WORKREP1 from the LoginName drop-down list. Enter Password: SUNOPSIS.
Click OK. Click the Designer tab. The following ODI Designer screen appears.
You have now successfully created and connected to the ODI Work repository.

Summary
In this tutorial, you have learned how to:

Verify the Prerequisites

Connect to the RDBMS (Oracle 11g )

Create the RDBMS Schema/User (11g) for the Master Repository

Create the ODI Master Repository

Connect to the ODI Master Repository

Create the RDBMS Schema/User (Oracle 11g) for the Work Repository

Create the ODI Work Repository

Connect to the ODI Work Repository

You might also like