Network Deployment (Distributed operating systems), v8.0 > Applications > Service integration > High availability and workload sharing > Service integration high availability and workload sharing configurations > Policies for service integration > Messaging engine policy assistance
High availability messaging engine policy
The high availability messaging engine policy is a predefined messaging engine policy type provided when you use messaging engine policy assistance. It helps you to create and configure a messaging engine in a cluster that is a member of a bus when you want the messaging engine to be highly available.
A high availability configuration ensures there is always a messaging engine running in the cluster. When a server that is hosting a messaging engine fails, the messaging engine is activated and run on another server. All messages that are set for high reliability, that were being processed or queued, will continue to be processed when the messaging engine starts on the next server. Use the high availability messaging engine policy for a system where it is a priority to process messages that are set for high reliability with minimum interruption.
The high availability messaging engine policy creates a single messaging engine for the cluster. The messaging engine is configured to fail over to any of the application servers in the cluster. All the application servers in the cluster are added to the preferred servers list, and this list determines the order in which the servers are used for failover. The earlier the server in the preferred servers list, the stronger the preference for that server. The messaging engine does not fail back, that is, if a more preferred server becomes available again, the messaging engine does not move back to that server.
The messaging engine is configured to use a single, highly available, message store (either a database or a file system) that all the servers in the cluster can access.
When you select the high availability messaging engine policy type on the administrative console, a diagram shows the selected cluster and the eventual outcome of the policy.
If there are no warning triangles in the diagram, and the "Is further configuration required" column shows No in the High availability row, the topology of the cluster and the configuration of the messaging engine is suitable, and you can continue.
If there are warning triangles in the diagram, examine the messages in the High availability row for guidance on how to achieve a suitable messaging engine configuration.
If you require high availability in a cluster, that cluster should contain at least two nodes, each with a server on it (that is, there should be at least two separate physical machines in the cluster). If the messages advise you to add another server on another node, redefine the topology of the cluster before you add the cluster as a member of a bus.
For example, the following figure shows three servers configured on one node. If that node fails, there will be no servers available for the messaging engine to fail over to. There must be at least one other server on a separate node to ensure that there is always a server on which a messaging engine can run. Figure 1. High availability policy selected without a suitable cluster topology
cluster topology and the effect of such configuration. There are three servers configured to a single node. If the node fails, there is no other server for the messaging engine to fail over to. The figure shows a suggested node, a warning triangle for the suggested components, and a suggested server to conform to the high availability policy." />The following figure is an example of a diagram displayed when the cluster topology and messaging engine configuration is suitable for the high availability policy. There are three nodes and each node contains a server. If a messaging engine is running on a server in a node and that node fails, the messaging engine can run on one of the other servers in the other two nodes. There are no warning triangles and no suggested components with dotted lines around them because the policy can be used successfully.
Figure 2. High availability policy selected with a suitable cluster configuration
cluster topology and messaging engine configuration that is suitable for high availability policy. There are three servers configured to three different nodes. If the messaging engine that runs on a server on one of the nodes fails, the messaging engine can switch to the servers on one of the other two nodes." />The following table shows the messaging engine policy settings for a cluster of three servers that use the high availability messaging engine policy:
Messaging engine policy settings for an example configuration. The first column of the table displays the messaging engine name. The second and third columns of the table indicate the failover and failback status of the messaging engine. The fourth column lists the three servers in the cluster. The fifth column indicates whether the messaging engine runs only on the preferred servers.
Messaging engine name Failover Failback Preferred servers list Only run on preferred servers clustername.000-busname true false
- server1
- server2
- server3
true For more information about messaging engine configuration for high availability, see the related information.
Configuration for high availability High availability
Add a cluster to a bus for high availability or scalability Correcting the messaging engine policy Modify the messaging engine policy for a cluster bus member