Steps to set up an Agent in ODI 11gSet Repository Connection InformationYou need to edit the odiparams.bat file to set the repository connection information for the ODIAgent to use. The password information is stored as an encrypted string. You will generate theencrypted string in a Command window. To do this perform following steps: Go to the ODI_HOME directory, where ODI is installed and open the agentbin sub-directory: (C:oracleproduct11.1.1Oracle_ODI_2oraclediagentbin). 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_HOMEagentbin directory: C:oracleproduct11.1.1Oracle_ODI_2oraclediagentbin
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 password4. 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.
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 AgentsIn 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.
Click Topology tab. In Topology, select the Physical Architecture panel. Right-click the Agentsnode. 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.
Click Save button.Next steps is to insert a logical agent in Logical Architecture, and map it to the newly createdPhysical 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.
Starting ODI Agent from the Command Line and Testing ConnectionTo start agent directly from the command line: Go to the Command window >> ODI_HOMEagentbin directory (C:oracleproduct11.1.1Oracle_ODI_2oraclediagentbin). 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
select Test to verify the connection of the ODI agent DBTestAgent. Click OK.Thats it, now you have been successfully created and connected to ODI agent.