+ All Categories
Home > Documents > ODI11g_ Creating and Connecting to ODI Master and Work Repositories

ODI11g_ Creating and Connecting to ODI Master and Work Repositories

Date post: 27-Oct-2014
Category:
Upload: amir12345678901
View: 62 times
Download: 1 times
Share this document with a friend
Popular Tags:
18
5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories 1/18 oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin… ODI11g: Creating and Connecting to ODI Master and Work Repositories Note: Instructions and any text that you need to modify are enclosed in <>. This tutorial contains the following sections: Purpose Time to Complete Overview Scenario Software and Hardware Requirements Prerequisites Creating and Connecting to ODI Master Repository Creating and Connecting to ODI Work Repository Summary Resources 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: 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
Transcript
Page 1: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

1/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

ODI11g: Creating and Connecting to ODI Master and Work Repositories

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

This tutorial contains the following sections:

Purpose

Time to Complete

Overview

Scenario

Software and Hardware Requirements

Prerequisites

Creating and Connecting to ODI Master Repository

Creating and Connecting to ODI Work Repository

Summary

Resources

Purpose

This tutorial walks you through the steps that are needed to create and connect to the ODI Master Repository and the ODIWork 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 Masterrepository, create the Work repository, and then connect to the Work repository. This OBE provides a step-by-stepwalkthrough 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 InstallationGuide.

Scenario

Linda works as a database administrator for Global Enterprise. In Global Enterprise, Linda is responsible for performingdatabase management and integration tasks on the various resources within the organization. In particular, Linda isresponsible for data loading, transformation, and validation. To begin working on her projects (such as exporting arelational 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:Oracle Database 11gOracle 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

Page 2: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

2/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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 > SQLDeveloper. 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.

Page 3: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

3/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

Page 4: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

4/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

4. You have to create the RDBMS schema/user (Oracle 11g) for the Master repository. The schemas can be created byexecuting 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 oracle1default 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 OtherUsers node to verify that the user snpm1 was successfully created.

grant connect, resource to snpm1;

Page 5: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

5/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

6. In the next few steps you create the ODI Master repository. Start Oracle Data Integrator: Start > Programs > Oracle ODI11g-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 theItems list the Master Repository Creation Wizard. Click OK. The Master Repository Creation Wizard appears.

Page 6: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

6/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

8 . Open the New Gallery by choosing File > New. In the New Gallery, in the Categories tree, select ODI. Select from theItems 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 JDBCDriver. Click OK. Edit the JDBC URL to read: jdbc:oracle:thin: localhost:1521:orclEnter the User as snpm1 and the Password as oracle1 . Click the Test Connection button and verify successfulconnection. Click OK. Click Next on the Master Repository Creation Wizard screen.

Page 7: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

7/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

10 . In the Authentication window, enter Supervisor Password as SUNOPSIS. Enter SUNOPSIS again to confirm thepassword. Click Next.

Note: User names and passwords are case-sensitive in ODI.

Page 8: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

8/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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

Page 9: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

9/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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 Repositorylogin.

Page 10: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

10/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

13 . Configure Repository Connections with the parameters from the tables provided below. To enter the JDBC URL, clickthe button next to JDBC URL field and select jdbc:oracle:thin:@<host>:<port>:<sid> as shown in the screenshot, thenedit the URL. Select Master Repository only button. Click Test button. Verify successful connection and click OK. ClickOK 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.

Page 11: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

11/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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.

Page 12: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

12/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

Page 13: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

13/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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 SQLcommand:

create user snpw1 identified by oracle1default tablespace users temporary tablespace temp;

2.Grant connect privileges to the newly created user by executing the SQL commandprovided 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 andselect New Work Repository. The Create Work Repository Wizard opens.

Page 14: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

14/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

4. In the screen that follows, enter the parameters shown in the following table. Click the Test button. Verify successfulconnection 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

Page 15: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

15/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

1 . In the Specify Work Repository properties set the ID to “1”. Set the Name to WORKREP1. Enter Password asSUNOPSIS. 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 thescreenshot. Click OK. Verify that the newly created Work repository is now in the work repositories tree view.

Page 16: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

16/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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

Page 17: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

17/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

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.

Page 18: ODI11g_ Creating and Connecting to ODI Master and Work Repositories

5/28/12 ODI11g: Creating and Connecting to ODI Master and Work Repositories

18/18oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/…/odi_master_work_repos.htm?prin…

Summary

In this tutorial, you have learned how to:

Verify the PrerequisitesConnect to the RDBMS (Oracle 11g )Create the RDBMS Schema/User (11g) for the Master RepositoryCreate the ODI Master RepositoryConnect to the ODI Master RepositoryCreate the RDBMS Schema/User (Oracle 11g) for the Work RepositoryCreate the ODI Work RepositoryConnect to the ODI Work Repository

ResourcesOracle Data Intergator 11g DocumentationTo learn more about , refer to additional OBEs in the Learning Library.

About Oracle |Oracle and Sun | | Careers | Contact Us | Site

Maps | Legal Notices | Terms of Use | Your Privacy Rights


Recommended