Note: Instructions and any text that you need to modify are enclosed in <>.
This tutorial walks you through the steps that are needed to create and connect to the ODI Master Repository and the ODI Work Repository.
Approximately 20 minutes
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.
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.
The following is a list of software requirements:
If not done before, start the services and components for Oracle Database 11g
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 |
. |
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>
To create the user snpm1 for master repository, enter the following command. Click Execute statement icon .
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.
|
||||||||||||||||||||||||||||||||||||
. |
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:
|
||||||||||||||||||||||||||||||||||||
. |
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.
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. |
. |
tIf not opened, open SQL Developer. Create the schema/user snpw1 for Work repository by executing the following SQL command:
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
. |
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.
![]() ![]() |
||||||||||||
. |
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.
|
||||||||||||
. |
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.
|
In this tutorial, you have learned how to:
![]() |
About
Oracle |Oracle and Sun | ![]() |