Moving from on-premises Operational Decision Manager to Cloud Pak for Business Automation
In Cloud Pak for Business Automation, the decisions pattern deploys a containerized version of Operational Decision Manager. It provides core business automation capabilities for large amounts of business decisions.
This diagram shows the steps for moving from an on-premises Operational Decision Manager to one in Cloud Pak for Business Automation:

The instructions for the steps are in the following sections:
1. Assessing your readiness
Start by assessing your readiness to move to Cloud Pak for Business Automation. Make sure that your
installation of Operational Decision Manager is
version 9.6 or later. For more information, see Upgrade and migration path
.
Moving to a Cloud Pak requires specialized system and cloud administration skills. For more information, see Targeted role-based user archetypes.
These migration instructions apply to production deployments only. Your on-premises database does not have to match the target Cloud Pak database. For example, you can migrate your on-premises Oracle database to a PostgreSQL database.
The following software is required:
- Source platform: Operational Decision Manager 9.6 or later
- Target platform: Cloud Pak for Business Automation 26.0.0 or later
- Database servers: Db2®, Microsoft SQL, MySQL, Oracle, and PostgreSQL (For the latest compatibility information, see Software Product Compatibility Reports: IBM Cloud Pak for Business Automation.)
Validate your system readiness for hardware and storage capacity on the Red Hat OpenShift® Container Platform (OCP). For more information,
see Detailed system requirements
and Storage requirements.
The preparation steps help minimize the downtime for the on-premises move to OCP. If downtime is not an issue, the steps can be done after or concurrently to installing the Cloud Pak.
Database migration scenarios
- Scenario 1: Reusing an existing database
-
If the latency between the Cloud Pak environment and your database is less than 2 milliseconds, you only have to do the Deploying containerized ODM section, and put your database credentials directly in the custom resource (CR) file.
- Scenario 2: Using a different database server with the same provider
-
If the latency between the container and the database is greater than 2 milliseconds, and you must involve your database administrator:
- Follow Cleaning Rule Execution Server data .
- Your database administrator copies data from the existing database to the new one.
- Follow Deploying containerized ODM and put your database credentials directly in the CR file.
- Scenario 3: Using a different database server and a different provider
-
If the latency between the container and the database is greater than 2 milliseconds:
Limitations
- Repackaging Decision Center and Decision Server customized WAR files
- Classic rule engine and projects, decision validation services, and Enterprise Java™ Bean rule sessions
- Invocation through Java APIs and generation of Java client projects that use the Java API
- Samples console
- Setting the location of the Decision Center Solr cache
2. Preparing to move
After assessing your readiness, prepare for the move.
- Log in to Rule Execution Server and
remove any unused artifacts in the database:
- Under Explorer, click Navigator / Libraries > Clean up Libraries.
Select all the unused libraries and then click Remove.
- Under Explorer, click Navigator / Resources > Clean up Resources.
Select all the unused resources and then click Remove.
- Under Explorer, click Navigator / Libraries > Clean up Libraries.
- It is not possible to migrate the Decision Warehouse traces to another database. If backup is required:
- Use the REST API tab of the console.
- Use GET /decisiontraces to retrieve the execution traces.
The traces are returned in JSON format. The resulting JSON file might be very large.
To reduce the amount of returned traces, set the parameters start, end, offset, and limit accordingly.
- Store them in the location of your choice.
- Download and decompress the decisioncenter-dbdump.war_.zip file. To access
this file, see Decision Center: Database export utility
. - Deploy the decisioncenter-dbdump.war file to your on-premises application server.
- On your application server, map the user to do the export to a group that is mapped to the
rtsAdministrator role.
The dbdump web app uses basic authentication. Make sure you map the rtsAdministrator role to an existing user and group during the deployment of the WAR file. For more information, see Deploying the Decision Center WAR files
.
You have two options to use dbdump to export the Decision Center database.
Option 1
Browse to http://<host>:<port>/decisioncenter-dbdump/:
- Provide the JNDI name of the data source. The default value is
jdbc/ilogDataSource. - Optionally, click the Lookup button to display details about the data source.
- Provide the Decision Center schema name. The option Use data source default indicates that the same schema name as the one computed by the Decision Center web app is used to retrieve the data tables.
- Do not check Exclude definitions.
- Choose one of the following options to generate a compressed file of the Decision Center database:
- Click Direct download. The file download starts shortly. No file is saved to the server.
- Click Save on server. Exports the file directly to the server. When the export is complete, a link is generated.
Option 2
Use the following URL to initiate the download: http://<host>:<port>/decisioncenter-dbdump/services/download?<parameters...>.
The <parameters...> correspond to the following arguments:
ds: the data source JNDI name (e.g. ds=jdbc/ilogDataSource)schemaName: the name of the schema (e.g. schemaName=DCREPO)useDefaultSchemaName: the request to use the default schema name with useDefaultSchemaName=true
If you encounter a problem, refer to the troubleshooting section in Decision Center:
Database export utility
.
3. Deploying containerized ODM
After you have assessed your readiness and prepared your data for the move to an OpenShift platform, deploy a Cloud Pak production deployment that includes Operational Decision Manager:
- Deploy the operator by using either scripts or the Operator Hub.
- Generate the final custom resource (CR) file by using scripts or the templates available in the CASE package.
- Modify the generated CR based on your configuration.
Make sure that the CR has the required database information. You can also migrate your users directly depending on your configuration.
- Migrate your database.
See 1. Assessing your readiness for migration scenarios. In some cases, for example when your installations are local, you can reuse your existing database. However, in most production cases, for performance reasons, you need to change the database altogether.
- Migrating your users.
For more information about how to set up user access, see Configuring user access.
- Migrate your database.
- Deploy the CR to create your instance of Operational Decision Manager.
See detailed instructions in Deploying the custom resource you created with the deployment script.
4. Moving your persisted data
After you have installed and configured the Cloud Pak, you can start moving your data to the new containerized environment.
Restore your on-premises data into the Decision Server web application in the Cloud Pak.
- Log in to Rule Execution Server in the
on-premises installation.
- Navigate to the Server Info tab, and then click .
- Save the file.
The ruleApps.jar file includes all RuleApps, resources, and libraries.
- Log in to the Rule Execution Server in
the Cloud Pak installation.
- Navigate to the Server Info tab, and then click .
- Import the ruleApps.jar file that you exported from your on-premises
installation of Operational Decision Manager.
If your ruleApps.jar file is bigger than 500 MB, then the Rule Execution Server console must be tuned to accept such a big backup file. You must also increase the memory that is allocated to the console.
- Click Restore. Note: All previously deployed RuleApps are deleted.
- Migration is complete. Check the Rule Execution Server Explorer tab, and confirm that the RuleApps are the same as in your on-premises installation.
Move your original on-premises data to the Decision Center of the Cloud Pak.
Generate the Zen API key as described in Generating API keys for authentication
. Then, generate a
base64 format of your Zen API key as described in Authorizing HTTP
requests by using the Zen API key.
Now that you have a URL to access your Decision Center on the Cloud Pak, you use
curl to run an administrative endpoint of the Decision Center REST API that moves the
Decision Center data.
The administrative endpoint of the Decision Center REST API does the following tasks:
- Uploads to the server the database archive that you exported from your on-premises installation, and then expands it into a temporary directory.
- Imports the expanded archive to your target database in background mode.
You use two Decision Center REST APIs:
- /v1/repository/dump/import: Imports a database dump into the Decision Center
repository. It uses the following parameters:
- backgroundMode: If set to
true, it runs the import as a background task. By default, it is set tofalse. - eraseSchema: If set to
true, it deletes and replaces the existing schema. By default, it is set tofalse. - datasource: The data source where the repository is located. By default, it uses jdbc/datasource.
- backgroundMode: If set to
- /v1/repository/dump/background: Checks the state of the import task that runs in the background. A No response means the import is complete.
For hostport, specify the URL to access Decision Center on the Cloud Pak.
Make sure that the URL ends with /decisioncenter-api.
The optional argument
<datasource> can be used to specify the data source if it is different from
jdbc/ilogDataSource.
To prevent certificate problems when you move your data,
use the -k option.
- In your on-premises installation of Operational Decision Manager, export your on-premises Decision Center database by using one of the two options that are described in Preparing for the Decision Center data export.
- With the base64 format of your Zen API key (XXX), use the following curl command to upload and
expand your database archive to the server, and then import it to your new database location:
curl -k -H "Authorization: ZenApiKey XXX" -X POST "host:port/odm/decisioncenter-api/v1/repository/dump/import?backgroundMode=true&eraseSchema=true" -H "Content-Type: multipart/form-data" -F "file=@decisioncenter-dbdump.zip;type=application/zip"After this command finishes, the import can take some time depending on the size of your database content.
- To make sure that the import is complete, run the following command until it returns
No, which means that the background task is done:
curl -k -H "Authorization: ZenApiKey XXX" -X GET "host:port/odm/decisioncenter-api/v1/repository/dump/background" -
When the import is complete, Decision Center in the Cloud Pak is ready to be used.
- Review your server definitions in the Decision Center Business Console > Administration > Servers tab. Adjust them with the new URL for Rule Execution Server and Rule Execution Runner.
- To verify that everything works as planned, you can run a deployment.
Your original on-premises data has now been moved to the Decision Center of the Cloud Pak.
You can no longer use your on-premises environment. The environments are now separated, and any changes you make on premises are not copied to the cloud.
5. Modernizing
After migrating, you can use the new capabilities that are included in Cloud Pak for Business Automation. Modernizing includes updating and improving the architecture of your previous environment.