Install and configure Oracle Data Integrator 12.2.1 with agent

Introduction

Oracle data integrator is a next-generation ETL tool in the market.  A widely used data integration software product,
Oracle Data Integrator provides a new declarative design approach to defining data transformation and integration processes, resulting in faster and simpler development and maintenance. Based on a unique E-LT architecture (Extract - Load Transform), Oracle Data Integrator not only guarantees the highest level of performance possible for the execution of data transformation and validation processes but is also the most cost-effective solution available today.
I write this post as a part of research about ODI 12.2.1 features. But steps are simillar with all ODI 12c versions.

ODI 12.2.1 New features.

  1. Big Data investments include Spark Streaming support
  2. New Flatten and Jagged Components
  3. Support for Cube and Dimensions
  4. New Model and Topology Objects Wizard
  5. Orchestration of Oracle Data Integrator Jobs using Oozie
  6. Oracle Data Integrator Console Enhancements
  7. Enhanced Big Data Support
  8. Enhanced Hive Driver and Knowledge Modules
  9. New/Update Hive Components Style Knowledge Modules.
  10. Ability to View the List of Users Connected to the Studio/Repository
  11. Complex File Enhancements
  12. Complex File, File, LDAP, JMS Queue XML, JMS Topic XML, and XML Technology Enhancements

Pre-requirements

  1. JDK 1.8.4 or later
  2. Any database system

Download ODI


ODI 12.2.1 Installation

Extract both zip files to the same location

image

Start a setup file using below script.
D:\{JDK_HOME}/bin >java –jar {odi_set_up_location/odi setup file name}.jar
Starting ODI Installation programme, Installation welcome screen

image

Installation welcome details, Click next to start

image

By default skip update. But if you want you can search update and patches details

image

Select your Oracle Middleware home ( This is not an Oracle database home) and click Next.

image

Select your installation type. if you want to install locally hosted ODI on your PC and laptop without weblogic domain select “Standalone Installation” or if you want server level installation with JEE agent select  “Enterprise Installation”. ( In this section I have selected enterprise installation)

image

This is a pre-requirements validation step. If you did not find any issue in pre-requirements click Next

image

If you like provide your email address to send security update and etc. By default remove tick mart and click Next ignore this step

image

Click Yes to ignore warning message

image

This is an installation summary, Read this summary and also if you want to go back and change settings, Click Install to start installation

image

Installation is progressing.

image

If you can see green mark to all steps, That means your installation was succeeded. Click Next to continue.

image

This is details about installed items. Click Finish to finalize installation

image


Configure Master and work schemes

Go to below location to find repository creation utility (RCU). You can create master and work repository without RCU. Read this article, But if you want to create web logic domain for ODI you should create master and work repository using RCU.

RCU Location

image

Open RCU Bat file as an Administrator

image

This is an RCU welcome screen, Click next to start.

image

Select Create Repository to Create new repository or Drop Repository to Drop existing repository. There are 3 options to create a new repository.

  • If you have the necessary permission and privileges to perform DBA activities on your database, select System Load and Product Load Concurrently. This procedure assumes that you have the necessary privileges.
  • If you do not have the necessary permission or privileges to perform DBA activities in the database, you must select Prepare Scripts for System London this screen. This option will generate a SQL script, which can be provided to your database administrator.
I have DBA privileges, So selected 1st Option and click Next

image

Enter your database details, Username should be ‘SYS’ and Role should be ‘SYSDBA’. And click Next

image

Ignore this warning.

image

Checking pre-requisites for the database connection. If you will have all green right marks. You can click OK continue. If not click OK and go back to change settings in the previous step.

image

Create prefix for repositories DB schemas. In this example, I have selected as ODI and select Options as a below example. Those are default options recommends by Oracle. Anyway, you can change option selection as your requirements, But first, read details Oracle documents. This xxx_REPO schema only for user store master and work repositories data. Others are used to store some audit and security data.
Click Next to continue

image

Checking prerequisites for creating DB schemas. If you will not have all green right that means there is an error or previous step

image

Create password for database schemas created for ODI metadata

image

Supervisor Password: Define password for SUPERVISOR
       Work Repository Type: Define work repository type, Default  'D' for development
       Work Repository Name: Define name for work repository, Default is 'WORKREPO"
       Work repository password: Password for work repository


image

Click 'Next' to create new tablespaces for ODI repositories schemas. You can change tables spaces name using Manage Tablespaces Button

image

image

Click 'Ok' to create tablespaces

image

Creating tablespaces

image

Click ' Create' to create ODI master and work repositories.

image

image

Successfully created master and work repositories.

image



Create new ODI connections to master and work repositories

Go to the


%ORACLE_HOME/odi/studio/bin directory

Open the odi.conf file using any text editor.
Add a line at the bottom of the file specifying the location of a certified JDK.  For 12c (12.2.1.2.6), the certified JDK is 1.8.0_101 and later. For example:
set JAVA_HOME=C:\home\Oracle\Java\jdk1.8.0_101
Save the file.
Starting ODI using odi.exe (odi.sh for UNIX).
Create new connection to the master repository

        File –> New –> Create a new ODI Repository Login

image

 Enter credentials for master repository which we define in RCU configuration

image

Connect to master repository

image

Click 'Ok' to connect master repository

image

Create Java EE Agent for ODI


Open folder

        C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin

Open Config.cmd file with administrator privileges

image

Select Create a new domain option to create a new domain. If you want to change existing domain select update an existing domain option and browse.

image

Select below option to configure Java EE agent and click next (As per your agent type, this option might be changed and also you should have installed ODI EE to configure Java EE agent.)
    *  Oracle Enterprise Manager Plugin for ODI
              Selecting this template automatically selects the following as dependencies:
              – Oracle Enterprise Manager
              – Oracle JRF
              – WebLogic Coherence Cluster Extension

     *  Oracle Data Integrator - Console
             Selecting this template automatically selects the following as dependencies
             - Oracle Data Integrator SDK Shared Library Template
     *  Oracle Data Integrator - Agent
             Selecting this template automatically selects the following as dependencies
               – Oracle Data Integrator - Agent Libraries
               – Oracle Data Integrator SDK Shared Library Template
               In addition, select the following templates:
               – Oracle Data Integrator - JFR
               – Oracle Data Integrator - REST Services
      *   Oracle Data Intergrator - Standlone Collocated Agent

image

browse application location. continue with the default value

image

Create web logic server admin account. in this step, you should mention password for weblogic user. Weblogic is an admin for web logic server.

image

Select domain mode, JDK path and click Next ( In this session selected Development mode)

image

Select RCU Data. This option instructs the Configuration Wizard to connect to the database and Service Table (STB) scheme to automatically retrieve schema information for schemas needed to configure the domain. If you select Manual Configuration on this screen, you must manually fill in parameters for your schema on the next screen.
Schema Owner:  prefix_STB

image

Click Get RCU Configuration to connect and get data from repositories table and click Next.

image

JDBC Component schema configuration. If you have not a good knowledge about this, Don't try to change any value. Click next to continue

image

JDBC Component test, You should have green marks to status to continue the process. Click next to continue.

image

Enter supervisor username and password and click Add button to add a new server and define a key name and enter weblogic admin username(weblogic) and password for the new server.
Select oracle.odi.credmap to Store name and click next to continue.

image

Advanced configurations are weblogic domain
* Administration Server Required to properly configure the listen to address of the Administration Server.
* Node Manager Required to configure Node Manager.
* Topology Required to configure the Oracle Data Integrator Managed Server.
Optionally, select other available options as required for your desired installation environment. In this session, I have selected system components as an optional. Click next to continue.

image

Select your server IP from Listen Address menu. Don't stay as a localhost for ListenAddress. Click next to continue.

image

Node Manager configuration. The Select pre-domain default location to configure new node manager and define credentials to new node manager.

image

Managed Servers configuration. Select your IP from listen addresses list and keep default value in a server group.

image

Define name to cluster and click next to continue.

image

Don't try to modify this values. Click next to continue with default values.

image

Don't try to modify this values. Click next to continue with default values.

image

Click ODI_Server 1 in the server list and click  >  to assign a server to the ODI_Cluster_1.

image

Click next to continue

image

Don't try to modify this values. Click next to continue with default values.

image

Click the add button to add a new machine. If you are working on Unix environment, add machine through Unix machine tab. Select your IP from Node Manager Listen Address drop-down menu.

image

Assign server to the machine. Click both AdminServer and ODI_Server1 from Server list and Click > button to assign those to the new machine.

image

Click next to continue

image

Don't try to modify this values. Click next to continue with default values.

image

Don't try to modify this values. Click next to continue with default values.

image

Don't try to modify this values. Click next to continue with default values.

image

ODI server configuration details. Define ODI agent details and click next to continue.

image

Don't try to modify this values. Click next to continue with default values.

image

Configuration summary. Click Create button to create domain

image

Configuration Progress

image

Domain configured.

image

Now you have successfully configured ODI weblogic domain for a run odi agent.
There is an option to start ODI servers (Web Logic, Node Manager and Agent)  in installation last step windows.

image

Or you can start manually

Start Admin Server, Node Manager and ODI agent.

Open folder

%ORACLE_HOME%/user_projects/domains/odi_domain/bin.

You can see bat files which file name start with start prefix

image

Run below files to below order as administrator

image
image

image
image

Now you can open web logic console and server EM
     * Weblogc Console URL : http://HOST_NAME:7001/console
     * Enterprice Manager URL : http://HOST_NAME:7001/em


Preparing console to start work

image

Weblogic console login page. Enter your weblogic username and password to logging as a weblogic administrator.

image

Weblogic console main interface

image


Enterprise Manager main interface

image

Start ODI Agent
i. Open ODI studio and go to topology tap.
ii. Right-click agent in Physical Architecture and select new agent in the pop-up menu.

image

This is a new agent interface. Define agent name as an OracleDIAgent1 (Defined in domain creating process.), host. (Port should be same to port which we define in domain creating process) and save.

image

Create logical agent using logical architecture tab

image

Start Agent Service. Go to location using CMD

%ORACLE_HOME%/user_projects/domains/odi_domain/bin

Run below command
agent.cmd –NAME=OracleDIAgent1

Agent Started

image

Test agent. Open agent in studio
Enter below URL in browser and go
http://HOST_NAME:20910/oraclediagent/

If your agent working correctly, You can see below message in your browser

image

Note: If you are using the default Java EE agent, the agent name in ODI Studio must be "OracleDIAgent".

Thank you.
Install and configure Oracle Data Integrator 12.2.1 with agent Install and configure Oracle Data Integrator 12.2.1 with agent Reviewed by Lilantha Lakmal on 1:29:00 AM Rating: 5

1 comment:

  1. It was a fantastic info that to sharing the amazing technology is visible in this blog.

    ODI Online Training

    ReplyDelete

Powered by Blogger.