settingupodiagent-130128034438-phpapp02.docx

9
Steps to set up an Agent in ODI 11g Set Repository Connection Information You need to edit the odiparams.bat file to set the repository connection information for the ODI Agent to use. The password information is stored as an encrypted string. You will generate the encrypted string in a Command window. To do this perform following steps: Go to the ODI_HOME directory, where ODI is installed and open the agent\bin sub-directory: (C:\oracle\product\11.1.1\Oracle_ODI_2\ oracledi\agent\bin). Open odiparams.bat file in edit mode. Leave the odiparam.bat file open, and open the Command window

Upload: mamatamaharana

Post on 10-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: settingupodiagent-130128034438-phpapp02.docx

Steps to set up an Agent in ODI 11g

Set Repository Connection Information

You need to edit the odiparams.bat file to set the repository connection information for the ODI Agent to use. The password information is stored as an encrypted string. You will generate the encrypted string in a Command window. To do this perform following steps:

Go to the ODI_HOME directory, where ODI is installed and open the agent\bin sub-directory: (C:\oracle\product\11.1.1\Oracle_ODI_2\oracledi\agent\bin). Open odiparams.bat file in edit mode.

 Leave the odiparam.bat file open, and open the Command window (Start -> Run -> cmd) and change the directory to the ODI_HOME\agent\bin directory:

C:\oracle\product\11.1.1\Oracle_ODI_2\oracledi\agent\bin

Page 2: settingupodiagent-130128034438-phpapp02.docx

You need to use agent command: encode <password>, in order to generate encoded string for your password.

For example, if your password is the word “ password”, enter and execute the following command in the Command window:

encode password

4. Copy the generated encrypted password from the Command window and insert it into the odiparams.bat file as the value for ODI_MASTER_ENCODED_PASS parameter.

You need to change the repository connection information. See below screen for more info.

Page 3: settingupodiagent-130128034438-phpapp02.docx

In this example, user DBMR13 is RDBMS schema/user for Master repository.

Work Repository name is WORKREP.

Note: - Do not change the default value of the ODI_USER and ODI_ENCODED_PASS parameters. Those parameters were auto setup while ODI installation.

Create ODI Physical and Logical Agents

In order to create the ODI physical and logical agent, you need to perform following steps:

Start Oracle Data Integrator: Start > Programs > Oracle > Oracle data Integrator > ODI Studio. Click “Connect To Repository”. Select D from the Login Name drop-down list. For Password, enter: password. Click OK.

Page 4: settingupodiagent-130128034438-phpapp02.docx
Page 5: settingupodiagent-130128034438-phpapp02.docx

  Click Topology tab. In Topology, select the Physical Architecture panel. Right-click the Agents node. Select New Agent.

Enter following details in New Agent Creation window:

1. Name - DBTestAgent2. Host - Network name or IP address of the machine the agent has been launched on. Verify

that this parameter is set to localhost.3. Port - Listening port used by the agent. By default, this port is 20910. Leave the default

value.4. Web Application Context - Name of the web application corresponding to the J2EE agent

deployed on an application server. For standalone agents, this field should be set to oraclediagent.

5. Set Maximum number of sessions supported by this agent to 250.

Page 6: settingupodiagent-130128034438-phpapp02.docx

Click Save button.

 Next steps is to insert a logical agent in Logical Architecture, and map it to the newly created Physical agent, to do this click the Logical Architecture tab.

Right-click Agents and select New Logical Agent. On the screen that follows, enter Name to “DBTestAgent.”

Set Physical Agents to DBTestAgent and press Save button.

Page 7: settingupodiagent-130128034438-phpapp02.docx

Starting ODI Agent from the Command Line and Testing Connection

To start agent directly from the command line:

Go to the Command window >> ODI_HOME\agent\bin directory (C:\oracle\product\11.1.1\Oracle_ODI_2\oracledi\agent\bin).

Execute the agent.bat file using the following command:

agent -NAME=DBTestAgent

The agent is now starting. Verify that ODI Agent is successfully started. Minimize the window Command Prompt – agent-NAME= DBTestAgent.

 

In ODI, Topology Manager >> Physical Architecture >> Agents, right click DBTestAgent and

Page 8: settingupodiagent-130128034438-phpapp02.docx

select Test to verify the connection of the ODI agent DBTestAgent. Click OK.

That's it, now you have been successfully created and connected to ODI agent.