Вы находитесь на странице: 1из 10

Main files:

1. odiparams.bat
parameters:

ODI_MASTER_DRIVER: stores the class name of the JDBC driver used to access
the Master repository database.
ODI_MASTER_URL holds the JDBC URL utilized to connect to the Master
repository database

ODI_MASTER_USER is the name of the database account for your Master repository
ODI_MASTER_ENCODED_PASS contains the encoded password of your Master
repository database account
ODI_SUPERVISOR represents the name of the ODI Supervisor user

ODI_SUPERVISOR_ENCODED_PASS stores the encoded password of the ODI
Supervisor user


Deploying JEE ODI agent :

The ODI Agent can be deployed as a Java EE component within an application server. This
installation type allows the ODI agent to take advantage of the benefits of an enterprise
application server.
When the ODI JEE Agent is deployed within Oracle WebLogic Server, the ODI
JEE Agent can leverage the WebLogic's enterprise features, such as clustering and connection
pooling for high availability and enterprise scalability.
This Java EE Agent exposes an interface enabling lifecycle operation (start/stop) from the application server console and
metrics that can be used by the application server console to monitor the agent activity and health.
(so we can manage/monitor/enable the life cycle of the agent(activity of the agent) from weblogic server)
So the ODI 11g Java EE Agent can be deployed to an existing domain or deployed automatically
when creating a new domain.

Note:
The standard ODI Java EE Agent template will be used to deploy our Java EE Agent. A template for any agent can also be
generated from within ODI Studio and then used to deploy this agent.

Steps for deployment of JEE agent:

1. The Java EE Agent must exist in the ODI topology before the WLS domain server is
started for the agent. Connect to ODI Studio, expand ODI Agents within the topology,
and add an agent with the name OracleDIAgent and with the port 8001.



2. To deploy and configure domains with WLS, execute config.bat or config.sh from within the ODI Home Install at
Middleware_HOME\ODI_HOME\common\bin.



3. Select the Create a new Weblogic domain option and click on Next.







4. Select Oracle Data Integrator - Agent - 11.1.1.0 [Oracle_ODI1], which will additionally select the two options as
shown in the following screenshot, and click on Next:


5. For this recipe, accept the defaults and click on Next.



6. Accept the default name as weblogic, set the password as weblogic1, and click on Next.


7. Select SUN JDK and click on Next.




8. Enter the appropriate connection information to connect to the Master repository and click on Next.




9. Ensure that the test connection was successful and click on Next.




10. Check the Managed Servers, Clusters and Machines option and click on Next.




11. Set the port to 8001, accept the defaults, and click on Next.


12. Click on the Next button on the Configure Clusters screen.
13. Accept the defaults and click on Next on the Configure Machines screen.
14. Click on Next on the Assign Servers to Machines screen.
15. Review the Configuration Summary screen and click on Create.


16. Do not click on the Start Admin Server check box. Then, click on Done.


17. Start the ODI WLS admin server for this domain from the command shell. Execute startweblogic.cmd or
startweblogic.sh from Middlware_Home\user_projects\domains\base_doman\bin.

18. Security has to be set up for the JAVA EE application to have access to the ODI repository. For this access, an
entry needs to be created within the credential store that will allow the JAVA EE Agent to authenticate itself and
consume the resources that are needed. This user must already be set up in the ODI Security. To do this,
we will do the following:
1. Execute WLST, connect to our running admin server, and add the credential store.
2. Start WLST from a command shell and change the directory to
Middleware_home\odi_home\oracle_common\common\bin.
3. Execute WLST


19. Execute the following command to connect to the running admin server:

connect ('weblogic','weblogic1','t3://localhost:7001')




20. Execute the following command to add the correct credential store for ODI Supervisor:
createCred(map="oracle.odi.credmap", key="SUPERVISOR",
user="SUPERVISOR", password="SUNOPSIS", desc="ODI SUPERVISOR
Crendential")



Note: During runtime, the JAVA EE Agent will access this credential store
to authenticate itself.

1. Type exit() to close WLST.
2. Start a command shell and change the directory to the user_projects directory of the Middleware_Home -
Middleware_HOME\user_projects\ domains\base_domain\bin.
3. Execute StartManagedWeblogic odi_server1.




21. Enter weblogic as the username and weblogic1 as the password.



22. Verify base_domain is in the running mode and that there are no stack trace errors
23. Verify connectivity to Java EE Agent through ODI Studio Topology


How it works:

Oracle has documented the overall process of installation and configuring the ODI JEE Agent.
However, installation and deployment are broken into different sections of the documentation.
This recipe gives a quick walk-through of the steps needed to easily install the JEE ODI Agent
and also the steps necessary to configure the agent on the WebLogic server as well as the
updates required within the ODI repository.
There's more...
The ODI JEE Agent can easily take advantage of the enterprise scalability features of Weblogic
Server. Setting up clustering with the ODI JEE Agent is straightforward and follows the same
setup as above. However, two agents would be created and then clustered. This is outlined
in the Fusion Middleware High Availability Guide at http://docs.oracle.com/cd/
E14571_01/core.1111/e10106/odi.htm.
There are also many more exciting ODI JEE components that are also easily installed and
deployed, including the ODI Console, the ODI Admin Plug-in for the FMW EM Control, and the
SDK Web Services, which are outlined at http://docs.oracle.com/cd/E21764_01/
core.1111/e16453/configure.htm#autoId9.
Configuring a standalone agent

Вам также может понравиться