Introduction to Oracle Data Integrator Repositories

Administering the Oracle Data Integrator Repositories 3-3

3.3 Creating the Master Repository

Creating the master repository creates an empty repository structure and seeds metadata for example, technology definitions, or built-in security profiles into this repository structure. To create the master repository:

1. Open the New Gallery by choosing File New.

2. In the New Gallery, in the Categories tree, select ODI.

Technology Steps to follow Oracle Create a schema odim to host the Master repository and a schema odiw to host the work repository. The schemas are created by the following SQL commands: SQL create user MY_SCHEMA identified by MY_PASS default tablespace MY_TBS temporary tablespace MY_TEMP; SQL grant connect, resource to MY_SCHEMA; SQL grant execute on dbms_lock to MY_SCHEMA; Where: MY_SCHEMA corresponds to the name of the schema you want to create. MY_PASS corresponds to the password you have given it MY_TBS the Oracle tablespace where the data will be stored MY_TEMP temporary default tablespace Microsoft SQL Server or Sybase ASE Create a database db_odim to host the master repository and a database db_odiw to host the work repository. Create two logins odim and odiw which have these databases by default. Use Enterprise Manager to create the two databases db_odim and db_ odiw. Use Query Analyzer or I-SQL to launch the following commands: CREATE LOGIN mylogin WITH PASSWORD = mypass, DEFAULT_DATABASE = defaultbase, DEFAULT_LANGUAGE = us_english; USE defaultbase; CREATE USER dbo FOR LOGIN mylogin; GO Where: mylogin corresponds to odim or odiw. mypass corresponds to a password for these logins. defaultbase corresponds to db_odim and db_odiw respectively. Note : It is recommended to configure the Microsoft SQL Server databases that store the repository information with a case-sensitive collation. This enables reverse-engineering and creating multiple objects with the same name but a different case for example: tablename and TableNAme. DB2400 Create a library odim to host the Master repository and a schema odiw to host the work repository. Create two users odim and odiw who have these libraries by default. Note : The libraries must be created in the form of SQL collections. 3-4 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator

3. Select from the Items list the Master Repository Creation Wizard.

4. Click OK.

The Master Repository Creation wizard opens.

5. Specify the Database Connection parameters as follows:

■ Technology : From the list, select the technology that will host your master repository. Default is Oracle. ■ JDBC Driver : The driver used to access the technology, that will host the repository. ■ JDBC URL : The URL used to establish the JDBC connection to the database. Note that the parameters JDBC Driver and URL are synchronized and the default values are technology dependant. ■ User : The user ID login of the owner of the tables for example, odim. ■ Password : This users password. ■ DBA User : The database administrator’s username ■ DBA Password : This user’s password

6. Specify the Repository Configuration parameters as follows:

■ ID : A specific ID for the new repository, rather than the default 0.

7. Click Test Connection to test the connection to your master repository.

The Information dialog opens and informs you whether the connection has been established. If the connection fails, fix the connection to your master repository before moving to next step.

8. Click Next.

9. Do one of the following: ■ Select Use ODI Authentication to manage users using ODI’s internal security system and enter the following supervisor login information: ■ Select Use External Authentication to use an external enterprise identity store, such as Oracle Internet Directory, to manage user authentication and enter the following supervisor login information: Note: It is strongly recommended that this ID is unique and not used for any other master repository, as it affects imports and exports between repositories Properties Description Supervisor User User name of the ODI supervisor. Supervisor Password This user’s password Confirm Password This user’s password Properties Description Supervisor User User name of the ODI supervisor