Você está na página 1de 9

Cognizant Technology Solutions

Cognizant Technology Solutions 1 10/19/2013


Setting Up and Installing an ODI Agent.
Created by Srinivasarao.kankanampati(141549)
A common task in ODI is to set up and install an ODI Agent as a service. After the ODI scenarios are
created, they can be scheduled and orchestrated by using an ODI Agent, which is a lightweight Java
process that orchestrates the execution of ODI scenarios.
For this, First, you run the encode <password> to generate an encrypted password.
you copy and paste that sting into the odiparams.bat file that contains ODI agent parameters.
You then switch to ODI, and define a physical agent named localagent . Next you define a local agent
also named localagent, mapping it to the same-named physical agent. You specify the Global context as
the context in which to make this particular mapping of logical to physical agents.
In the command window, you execute agent.bat to start the agent that you named localagent.
In ODI, you test a connection to your newly created agent.
Process Steps:
1. Run the encode password command to generate an encrypted password and paste it into the
odiparams.bat parameter file. To do so, perform the following steps.
a). navigate to the ODI_HOME directory, where ODI is installed and open the agent/bin sub directory:
(D:\Oracle_BI\Oracle_ODI1\oracledi\agent\bin). Navigate to the odiparams.bat file, right-click this
file, and select EDIT to open it with a text editor. Leave this editor open. You will run a batch file
from a Command window and return to this text editor to copy the results into the odiparams.bat
file.
Cognizant Technology Solutions

Cognizant Technology Solutions 2 10/19/2013


b). Open the Command window and change the directory to the ODI_Home\agent\bin directory.


c). To generate the encrypted password string, you will be using the agent command,
encode<password>. Here my password is 'oracle1'.
encode oracle1
Cognizant Technology Solutions

Cognizant Technology Solutions 3 10/19/2013
keep the command window open because you will be running to it after editing the odiparams.bat file.


d). Copy the generated, encrypted password from the command window and insert it into
odiparams.bat file as the value for the ODI_MASTER_ENCODED_PASS parameter. Verify and, if
necessary, edit settings for other parameters from the following table, save the odiparams.bat file and
then close it . The agent's connectivity is now set up.
Parameter value
ODI_MASTER_DRIVER Oracle.jdbc.OracleDriver
ODI_MASTER_URL Jdbc:oracle:thin:@praneeth-PC:1521:ORCL
ODI_MASTER_USER ODIMREP1
ODI_MASTER_ENCLODED_PASS Insert your encoded password.(overwrite the existing password)
ODI_SECU_WORK_REP WORKREP (Your work repository name)
ODI_SUPRVISOR_ENCODED_PASS Leave the default value
ODI_USER Leave the default value
ODI_ENCODED_PASS Leave the default value
ODI_JAVE_HOME D:\Java\jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Note: ODIMREP1 is an RDBMS schema/user for the master repository.

Cognizant Technology Solutions

Cognizant Technology Solutions 4 10/19/2013


Cognizant Technology Solutions

Cognizant Technology Solutions 5 10/19/2013

2. Now that you have generated an encoded password and pasted it into the odiparams.bat file. Now
we need to create the ODI physical and logical agent definitions. Below the process to create those.
a.)Login to ODI.
Cognizant Technology Solutions

Cognizant Technology Solutions 6 10/19/2013

b.)Click the Topology navigator tab. In the Topology navigator, select the Physical Architecture panel.
Right-Click the Agent node. Select New agent.





c.)Provide the necessary information in the new object agent window like below and click save in the
menu bar.
Cognizant Technology Solutions

Cognizant Technology Solutions 7 10/19/2013


d.) Now we have to insert a logical agent in Logical Architecture, and map it to the newly created
Physical agent. At the bottom of the Topology navigator tab, Click the Logical Architecture tab. Right-
Click Agents and select New Logical Agent. On the screen that follows, set the Name to localagent. For
the global context, set the Physical Agent column to localagent. from the file menu. Click Save. Close the
localagent tab that you just worked on, leaving the other localagent tab open.





Cognizant Technology Solutions

Cognizant Technology Solutions 8 10/19/2013


3. Now you have created the agent and define the ODI physical and logical agents, you can start the
agent directly from the command line.
a.)Switch back to Command window you left open and use the follow command.







Cognizant Technology Solutions

Cognizant Technology Solutions 9 10/19/2013
b.)The agent is now starting. Verify that ODI Agent is successfully started. Minimize (do not close) the
window Command prompt -agent -NAME=localagent.

c.)Click the Test icon to verify connection of the agent localagent.
You successfully created and connected to ODI agent.

Você também pode gostar