Updating the Rule Execution Server console

The rolling updating from V8.8.0 to V8.9.0 begins with the Rule Execution Server database and the Rule Execution Server console.

Before you begin

Note: In-place updating of the Rule Execution Server database is not necessary when you perform a rolling update from V8.8.0 to V8.9.0, since the database schemas are compatible between these two versions.
  1. Note:

    This step is to enable the decision engine run time when Java security is active.

    The decision engine run time is embedded in the execution unit (XU) to assure the compatibility.

    You can skip this step:

    • If you are not using rulesets that are compiled with the decision engine.
    • If Java™ security is not activated.
    Modify the JDK policy file for Java security.

    In WebSphere® Application Server V8.5.5.9, the JDK policy file is located by default at <WAS_HOME>/<java_1.7_64>/jre/lib/security/java.policy.

    grant codeBase "file:/<java_temporary_folder>/odmruntimes/*" {
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.lang.RuntimePermission "getClassLoader";
    };
    };

    In Linux, the Java temporary folder (java.io.tmpdir) is at /tmp by default.

  2. All Operational Decision Manager components must be at V8.8.0 when you start the rolling updating to V8.9.0.
  3. Install Rule Execution Server V8.9.0 on the same computer that can access the Rule Execution Server database.

About this task

Rule sessions and the linked XUs must always be kept at the same version on the same JVM. A version mismatch might occur in a Java Platform, Enterprise Edition application server deployment, where the Decision Server components are independently deployed. The following components are deployed with a dependency to the XUs that are deployed as a resource adapter:
  • Rule Execution Server console
  • Hosted transparent decision service (HTDS)
  • Rule Execution Server message-driven rule beans (MDB)
  • Rule Execution Server EJB sessions
  • Custom decision service embedding POJO rule sessions
All components that use the rule sessions in the Java Platform, Enterprise Edition application server must be deployed at the same version as the underlying XUs in the same application server. Therefore, the version of these components must be updated at the same time as the XU for each JVM.
This restriction applies to the Decision Server Java Platform, Enterprise Edition deployment, including the following application servers:
  • WebSphere Application Server Network Deployment
  • Oracle WebLogic Server
  • JBoss Application Server

If you use zRule Execution Server for z/OS®, the Liberty server, or the Tomcat server, then rule sessions and XUs are prepackaged and their versions are aligned.

Procedure

  1. If you use WebSphere Application Server Network Deployment, Oracle WebLogic Server, or JBoss Application Server, update the XU RAR (jrules-res-xu-<platform>.rar) to V8.9.0.

    Stop and restart your application server after the XU RAR is deployed.

  2. Deploy the Rule Execution Server console management EAR file (jrules-res-management-<platform>.ear) V8.9.0 for your supported application server.
  3. If you customized the JMX MBean descriptors that are delivered by default in the Rule Execution Server console, then apply the same changes to Rule Execution Server MBeans V8.9.0.
  4. If the XU is deployed as an XU RAR (.rar), update the HTDS to V8.9.0.
  5. Verify that the Rule Execution Server console V8.9.0 is connected to the Rule Execution Server database, and that the console is notifying the same IP addresses as V8.8.0.

    To continue operations at execution time, the console must point to the same IP addresses as V8.8.0 for the TCP/IP notification. This constraint is not mandatory for the JMX notification.

Results

The result of Operational Decision Manager rolling updating for Rule Execution Server for distributed platform

  • The Rule Execution Server console is at V8.9.0.
  • The Rule Execution Server console V8.9.0 and the Rule Execution Server database contain RuleApps, rulesets, and XOMs from V8.8.0.

What to do next

Update execution stacks progressively.