Creating and Connecting to ODI Master and Work Repositories

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

Topics

This OBE tutorial covers the following topics:

Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: Because this action loads all screenshots simultaneously, the response time may be slow depending on your Internet connection.)

Note: Alternatively, you can place the cursor over each individual icon in the following steps to load and view only the screenshot associated with that step.

The screenshots will not reflect the specific environment that you are using. They are provided to give you an idea of where to locate specific functionality in Oracle Data Integrator.

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 installation guide.

 

Back to Topic List

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.

Examples

In this OBE, students learn the scenario through two examples.

Example 1: Creating and Connecting to the Master Repository
This example walks you through the steps needed to create and connect to the ODI Master repository.

Example 2: Creating and Connecting to the Work Repository
This example walks you through the steps needed to to create and connect to the ODI Work repository.

 

Verifying the Prerequisites

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

Software Requirements

The system should include the following installed products:

  • Oracle Database 10g XE
  • Oracle Data Integrator 10g (10.1.3.4)

If not done before, start the services and components for Oracle Database 10g XE and Oracle Data Integrator 10g (10.1.3.4)

Back to Topic List

Example 1: Creating and Connecting to the ODI Master Repository

This example walks you through the steps needed to create and connect to the ODI Master repository.

A relational schema must be created for each repository. The following steps walk you through creating the relational schema for the ODI Master repository.

 

Connecting to the RDBMS (Oracle 10g XE)

The Relational Database Management System (RDBMS) used in this tutorial is Oracle 10g XE. To connect to your RDBMS, perform the following steps:

1.

Start the Oracle 10g XE database Home page by selecting Start > All Programs > Oracle Database 10g Express Edition > Go To Database Home Page.

 

 

2.

The Login screen appears. Log in to Oracle XE Database as system. The default password is oracle1. Click Login.

 

Back to Topic List

 

Creating the RDBMS Schema/User (Oracle 10g XE) for the Master Repository

To create the schema and user in the RDBMS (Oracle 10g XE), perform the following steps:

1.

On the Oracle Database Express Edition Home screen, select SQL Commands > Enter Command from the SQL drop-down list.

 

2.

Create the schemas 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, enter the following command. Click Run.

create user snpm1 identified by password 
default tablespace users temporary tablespace temp;

 

 

3.

Verify that User snpm1 was successfully created.

4.

Grant connect privileges to the newly created user by executing the following SQL command:

grant connect, resource to snpm1;

Verify that this statement processed successfully.

 

 

Back to Topic List

Creating the ODI Master Repository

To create the ODI Master repository, perform the following steps:

1.

Start the ODI Master Repository Creation program: Start > All Programs > Oracle > Oracle Data Integrator > Repository Management > Master Repository Creation. In the Master Repository Creation Wizard, click the button next to the Driver field. Select Oracle JDBC Driver and click OK.

 

 

2.

In the URL field, enter the following URL: jdbc:oracle:thin@localhost:1521:XE, and then enter the User as snpm1 and Password as password. In the Technology field, select Oracle. Click the Test Connection button and verify successful connection. Click OK. Click OK on Master Repository Creation Wizard screen.

 

3.

The SQL command is executed in the command window. If the Master repository creation is successful, you will see the following message. Click OK. The ODI Master repository is now created.

 

Back to Topic List

Connecting to the ODI Master Repository

To connect to the ODI Master repository, perform the following steps:

1.

Start Topology Manager: Start > All programs > Oracle > Oracle Data Integrator > Topology Manager. Click the New icon to create a new connection to the Master repository.

 

 

 

2.

Configure Repository Connections with the parameters provided in the following table. Click the Test button. Verify successful connection and click OK. Click OK to save the connection.

Notes:

  • Don't copy and paste in the JDBC Url field! This may cause problems with entering a valid URL string.
  • You may need to enter the appropriate driver and URL for your RDBMS.
Oracle Data Integrator Connection
ParameterValue
Login NameMaster Repository
UserSUPERVISOR
PasswordSUNOPSIS
Database Connection (Master Repository)
ParameterValue
Usersnpm1
Passwordpassword
Driver List Oracle JDBC Driver
Driver Name oracle.jdbc.driver.OracleDriver
Urljdbc:oracle:thin@localhost:1521:XE

 

 

3.

Select the newly created repository connection (Master Repository) from the drop-down list. Click OK. The ODI Topology Manager starts. You are now successfully logged in to the ODI Topology Manager. Click the Repositories tab in left panel of the Topology Manager. Verify that your newly created Master repository is in the Repositories window.

 

Back to Topic List

 

Example 2: Creating and Connecting to the ODI Work Repository

This example walks you through the steps needed to create and connect to the ODI Work repository.

A relational schema must be created for each repository. The following steps walk you through creating the relational schema for the ODI Work repository.

 

Connecting to the RDBMS (Oracle 10g XE)


To connect to the RDBMS, perform the following steps:

1.

If not opened, open the Oracle XE Database Home page: Start > All Programs > Oracle Database 10g Express Edition > Go to Database Home page.

 

 

2.

The Login screen appears. Log in to Oracle XE Database as system. The default password is oracle1. Click Login.

 

Back to Topic List

Creating the RDBMS Schema/User (Oracle 10g XE) for the Work Repository


To create the RDBMS schema for the Work repository, perform the following steps:

1.

On the Oracle Database Express Edition Home screen, select SQL Commands > Enter Command from the SQL drop-down list.

 

2.

Create the schemas 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, enter the following command. Click Run.

create user snpw1 identified by password 
default tablespace users temporary tablespace temp;

 

 

3.

Verify that user snpw1 was successfully created.

 

4.

Grant connect privileges to the newly created user by executing the following SQL command:

grant connect, resource to snpw1;

Verify that this statement processed successfully.

 

 

Back to Topic List

 

Creating the ODI Work Repository


To create the ODI Work repository, perform the following steps:

1.

If not started, start the ODI Topology Manager: Start > All Programs > Oracle > Oracle Data Integrator > Topology Manager. Choose the newly created Master repository from Example 1 (Master Repository). Click OK.

 

 

2.

Click the Repositories tab in the left panel of the Topology Manager. Right-click Work Repositories and select Insert Work Repository.

 

3.

In the Data Server: New window, enter the parameters shown in the following table. Click the JDBC tab.

ParameterValue
NameWORKREP
TechnologyOracle
Usersnpw1
Passwordpassword

 

4.

In the JDBC window, select Oracle JDBC Driver and enter the URL from the table below. Click the Test button. In the Test Connection for: Work Repository dialog box, click Test. Verify successful connection and click OK. Click OK again.

Notes:

  • Don't copy and paste in the JDBC Url field! This may cause problems with entering a valid URL string.
  • You may need to enter the appropriate driver and URL for your RDBMS.
ParameterValue
Driver Name oracle.jdbc.driver.OracleDriver
Urljdbc:oracle:thin@localhost:1521:XE

 

 

In the Work Repository: New dialog box, set the ID to 1. Set the Name to WORKREP. Click OK. Verify that the newly created Work repository is now in the work repositories tree view.

 

Back to Topic List

Connecting to the ODI Work Repository

To create a new project for your BPEL process, perform the following steps:

1.

Start ODI Designer: Start > All Programs > Oracle > Oracle Data Integrator > Designer. Click the New icon to create a new connection to the Work repository.

 

2.

Configure Repository Connections with the parameters provided in the following table. In the Work Repository section, click the icon next to Repository Name field. This displays the list of defined work repositories for the Master repository. Select WORKREP and click OK. Click OK again to save the connection.

Oracle Data Integrator Connection
ParameterValue
Login NameWORKREP
UserSUPERVISOR
PasswordSUNOPSIS

 

Database Connection (Master Repository)
ParameterValue
Usersnpm1
Passwordpassword
Driver List Oracle JDBC Driver
Driver Name oracle.jdbc.driver.OracleDriver
Urljdbc:oracle:thin@localhost:1521:XE

 

 

3.

Select Work Repository from the Login Name drop-down list if not already selected. Click OK. The following screen appears.

You have now successfully created and connected to the ODI Work repository.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值