The XU (Execution Unit) Adapter is a resource adapter packaged
with IBM® Operational Decision
Manager.
About this task
The Operational Decision Manager ships different XU Adapters
for different application servers. The default Rule Engine implementation
of Master Data Management (JRulesXUEngine) uses XU Adapter to invoke
the Operational Decision Manager rules that are deployed in the Rule
Execution Server. The rules are created using Operational Decision
Manager Rule Designer tool and is deployed in Rule Execution Server.
Procedure
Note: Refer to the IBM Operational
Decision Manager documentation for details on installing Rule Executions
Server and XU Adapter.
- Open WebSphere® Application
Server Administrative Console.
- Go to Security > Global Security > Java Authentication
and Authorization Service > J2C authentication data.
- Create a new user identity for Rule App Database by specifying
the alias name (for example, resDB2user) and the
database credentials (Issue MDM Database credentials if MDM DB is
used for creating Rule App tales).
- Open Go to Resources > JDBC > Data Sources and
create a data source by specifying the data source name (for example, jdbc/resdatasource)
and the database details.
- While creating the datasource, clear the check box for
the option Use this data source in container managed persistence
(CMP) and set the user you just created (resDB2user)
for Container managed authentication, and Component managed authentication
aliases.
- Populate the Rule App database tables by executing the
appropriate scripts. The Rule App table generation scripts can be
found in the IBM Operational
Decision Manager installation directory (WODM\executionserver\databases).
For DB2®, run the SQL files repository_db2.sql, trace_db2sql,
and xomrepository_db2.sql.
To install the XU Resource Adapter:
- Go to .
- Click on Install RAR.
- Locate the XU RAR from the Operational Decision Manager
installation directory (WODM\executionserveapplicationservers\<app-server-naem>\jrules-res-xu-<app-server-name>.rar)
and install the same.
- Save changes to configuration.
- Click on the XU Adapter that you just installed, and
click J2C connection factories under Additional Properties.
- Click New and create a connection factory by specifying
the correct JNDI Name (eis/XUConnectionFactory).
- Save changes to configuration and restart the application
server.
Installing the Rule Execution Server Management EAR:
- Go toApplications > WebSphere Enterprise
Applications.
- Click Install.
- Locate the RES Management EAR from the Operational Decision
Manager installation directory (WODM\executionserver\applicationservers\<app-server-name>\jrules-res-management<app-server-name>.ear),
and click Next.
- Select Detailed path for installation. Click Next and Continue.
- In Map resource references to resources, select the
previously configured XU Connection factory (eis/XUConnectionFactory)
and the datasource (jdbc/resdatasource).
- In Map virtual hosts for Web modules,
map the host.
- In Map security roles to users or groups,
map the required user access to the security roles resAdministrators,
resDeployers, and resMonitors. (Select All Authenticated in Application’s
Realm to give access to all authenticated users.)
- Continue to install the EAR and save changes to configuration.
- Click the newly installed RES application (do not start
it).
- Go to the Manage Modules page and click the ILOG® Rule Execution Server Console
module.
- Change the Class loader order to Classes loaded with
local class loader first (parent last).
- Save the changes to configuration, and start the application.
Rule Execution Server and XU Adapter are ready to use. The
Operational Decision Manager rule sets can be deployed to the Rule
Execution Server and then become accessible to InfoSphere® MDM via
the XU Adapter.