0% found this document useful (0 votes)
196 views4 pages

How To Configure OCI Connection

This document provides instructions for configuring ODI 11.1.1.7 and Oracle SQL Developer to use the Oracle Call Interface (OCI) connection. The steps include downloading the Oracle Instant Client for the appropriate versions, extracting and configuring the client libraries, modifying configuration files for ODI Studio and the standalone agent to reference the libraries, and testing the connections in ODI and SQL Developer using an OCI connection string.

Uploaded by

Adi Pop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
196 views4 pages

How To Configure OCI Connection

This document provides instructions for configuring ODI 11.1.1.7 and Oracle SQL Developer to use the Oracle Call Interface (OCI) connection. The steps include downloading the Oracle Instant Client for the appropriate versions, extracting and configuring the client libraries, modifying configuration files for ODI Studio and the standalone agent to reference the libraries, and testing the connections in ODI and SQL Developer using an OCI connection string.

Uploaded by

Adi Pop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

How to configure ODI 11.1.1.

7 and Oracle SQL Developer to use OCI (Oracle Call


Interface) Connection
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

See additional info in Note: What Is Required In Order To Use Oracle "thick" Driver (OCI) With ODI? (Doc
ID 602706.1)

1. Download Oracle Instant Client

For ODI 11.1.1.7 download from this link:

http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

http://www.oracle.com/technetwork/topics/winx64soft-089540.html

Version 12.1.0.2.0 - Instant Client Package Basic (For Oracle SQL Developer)

And

Version 11.2.0.3.0 - Instant Client Package Basic (For ODI 11.1.1.7)

instantclient-basic-windows.x64-11.2.0.3.0.zip

2. Unzip the 2 archives in 2 folders, using the oracle user:

You will get 2 folders, named for example:

instantclient-basic-linux.x64-11.2.0.3.0

instantclient-basic-linux.x64-12.1.0.2.0

3. In each folder create a file named tnsnames.ora with this content:

SIT_OCI=

(DESCRIPTION=
1
(ADDRESS=(PROTOCOL=tcp)(HOST=perpdbs001.hkex)(PORT=1526))

(CONNECT_DATA=

(SERVICE_NAME=SIT)

(INSTANCE_NAME=SIT1)

4. Modify <ODI_HOME>\oracledi\client\odi\bin\odi.conf

Add

AddVMOption -Djava.library.path=/instantclient-basic-linux.x64-11.2.0.3.0/instantclient_11_2

AddVMOption -D64

Put the full location of Version 11.2.0.3.0 - Instant Client Package, depending where you unzip it.

Restart ODI Studio.

5. For the ODI Standalone agent:

Modify <ODI_HOME>\oracledi\agent\bin\odiparams.bat

On parameter ODI_ADDITIONAL_JAVA_OPTIONS add

"-Djava.library.path=/instantclient-basic-linux.x64-11.2.0.3.0/instantclient_11_2" "-D64"

So your parameter could be:

ODI_ADDITIONAL_JAVA_OPTIONS="-Djava.library.path=/instantclient-basic-linux.x64-
11.2.0.3.0/instantclient_11_2" "-D64"

Also ODI_ADDITIONAL_JAVA_OPTIONS may include other parameters also.

Restart the Standalone Agent.

6. Open ODI Studio

Modify the data server and use the JDBC data server as:

2
jdbc:oracle:oci8:@SIT_OCI

Test the connection.

7. Open Oracle SQL Developer / Tools / Preferences

Access: Database \ Advanced entry (see picture below):

On Use Oracle Cleint and Use ODI driver point to the location of Version 12.1.0.2.0 - Instant
Client Package.

Create a connection as:

3
And test it.

You might also like