Académique Documents
Professionnel Documents
Culture Documents
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.
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
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin 1/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
2/18
5/28/12
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
3/18
5/28/12
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 . cet ue sp1ietfe b oal1 rae sr nm dniid y rce dfuttbepc uestmoaytbepc tm; eal alsae sr eprr alsae ep
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. gatcnet rsuc t sp1 rn onc, eore o nm;
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
4/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
5/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
6/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
7/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
8/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
9/18
5/28/12
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 Login Name Value Master Repository
User Password
SUPERVISOR SUNOPSIS
Database Connection (Master Repository) Parameter User Password Driver List Value snpm1 oracle1 Oracle JDBC Driver
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
10/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
11/18
5/28/12
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
12/18
5/28/12
Gatcnetpiiee t tenwycetdue b eeuigteSLcmad rn onc rvlgs o h el rae sr y xctn h Q omn 2. p o i e b l w V r f t a u e s p 1 w s s c e s u l c e t d rvdd eo. eiy ht sr nw a ucsfly rae. Nt:Yumyne t slc Ohruesnd adcikRfehio. oe o a ed o eet te sr oe n lc ers cn gatcnet rsuc t sp1 rn onc, eore o nw;
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
13/18
5/28/12
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 User Password jdbc:oracle:thin:@localhost:1521:orcl snpw1 oracle1
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
14/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
15/18
5/28/12
1 . Now you disconnect from the Master repository and connect to the Work repository. Click ODI menu and select Disconnect "Master Repository".
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
16/18
5/28/12
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.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
17/18
5/28/12
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
Resources
Oracle Data Intergator 11g Documentation To learn more about , refer to additional OBEs in the Learning Library.
oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g//odi_master_work_repos.htm?prin
18/18