Cluster configuration and topology
When you deploy Rule Execution Server onto server clusters, each node hosts one execution unit (XU), which is used only by a local rule session. The cluster topology significantly affects the notification mechanism.
Within the Java™ EE framework, clusters provide mission-critical services to ensure minimal downtime and maximum scalability. A cluster is a group of application servers that transparently run your Java EE application as if it were a single entity.
- Cluster and component failover services
- HTTP session failover
- Single points of failure in a cluster topology
On a cluster configuration, deploy an execution unit (XU) on each node. There is one XU for each node of a cluster. Use the administration console of application servers to handle cluster deployment. A XU instance can be used only by a local (same node) rule session. The rule session and the XU communicate through direct Java method calls, so the XU does not require serialization.

A cluster that uses Rule Execution Server involves a collaboration between the Rule Execution Server MBeans. The topology of the cluster has significant influence on the management of the notification mechanism when a resource is changed.
The management model is likely to use several times a basic scenario of a distributed notification mechanism within a cluster to interact with the various execution unit (XU) instances. A XU message-driven rule bean (MBean) is deployed with the XU to collaborate with the Rule Execution Server JMX infrastructure.
- A management client sets a resource on a ruleset MBean.
- The ruleset makes a query to the MBean server to retrieve all the XU instances in the cluster. This operation requires a specific implementation for each application server.
- A notification is sent to each instance.