ODI11g: Creating and Connecting to ODI Master and Work Repositories

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

<Do not delete this text because it is a placeholder for the generated list of "main" topics when run in a browser>

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:

Prerequisites

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

.

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

.

Have installed Oracle Data Integrator 11gR1

Creating and Connecting to ODI Master Repository

.

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.

 


.

In SQL Developer, create a new connection.






.

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.





.

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.

.

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;

 



.

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

 

.

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.


 

.

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.


 

.

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.





.

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.


 

.

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.


 

.

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.




.

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.





.

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

.

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;

.

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;


.

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.

 

.

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

 

.

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.

 

.

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.


.

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

.

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:

Resources

 

Hardware and Software Engineered to Work Together About Oracle |Oracle and Sun | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Your Privacy Rights