This topic provides a summary of information about using WebSphere Application Server horizontal cloning with WebSphere MQ server clustering support. It describes a scenario that shows how the message listener service can be configured to take advantage of WebSphere MQ server clustering and provides some information about how to resolve potential runtime failures in the clustering scenario. The information in this topic is based on the scenario shown in the figure WebSphere Application Server horizontal cloning with WebSphere MQ clustered queues.
Note: WebSphere MQ server clustering is only available with the full WebSphere MQ product installed as a JMS provider.
Each JMS listener is used to retrieve messages from a destination defined to the server. In the following information the listener configurations are the same for each WebSphere application server. Each application server host contains a WebSphere application server and an WebSphere MQ server. If a host is only used to distribute messages, it only contains an WebSphere MQ server. There can be many servers defined in the configuration, although for simplicity the information in this topic is based on a scenario containing only three servers as shown in WebSphere Application Server horizontal cloning with WebSphere MQ clustered queues.
Figure 1. WebSphere Application Server horizontal cloning with WebSphere MQ clustered queues .
This figure shows two WebSphere Application Server hosts, with horizontal clustering, and a
messaging host used to distribute messages for WebSphere MQ server clustering.
For more information, see the text that accompanies this figure. messaging scenario showing 2 WAS server hosts, with WAS horizontal cloning, and a messaging host for WebSphere MQ server clustering">
The scenario shown in WebSphere Application Server horizontal cloning with WebSphere MQ clustered queues comprises the following three hosts:
Note: Queue Q1 is not defined as a local queue on this host. If the queue was defined locally, then messages would remain on the server for local processing; messages would not be distributed by the queue manager cluster control to the other queue managers in the cluster that do have the queue defined.
This host does not have a WebSphere application server defined. All message retrieval processing is performed by the other two application servers on hosts S1 and S2.
Recovery scenarios
There are several failure scenarios that could occur with the clustering configuration; for example:
In this scenario the failure of any single WebSphere
application server results in the messages for the specified destination remaining on the queue, until the server is restarted.