09.11.2012 Views

Redpaper - IBM Redbooks

Redpaper - IBM Redbooks

Redpaper - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advantages Disadvantages<br />

Uses the available resources because<br />

WebSphere MQ clustering can direct<br />

messages across all available LPARS.<br />

Takes advantage of cloned applications<br />

and identically configured brokers by<br />

workload balancing, thus reducing the risk<br />

of bottlenecks.<br />

2.3.2 WebSphere MQ shared queues<br />

Gateway queue managers can act as a<br />

single point of failure for the entire<br />

WebSphere MQ cluster.<br />

Multi-part messages and transactions can<br />

cause affinities to particular queue<br />

managers, thus reducing the availability of<br />

the system.<br />

Should Message Broker fail and the queue<br />

manager is still functional, the WebSphere<br />

MQ cluster continues to send messages<br />

to that queue manager even though they<br />

are not processed.<br />

Now that we have examined the issues in using WebSphere MQ clustering to<br />

support HA, this section discusses WebSphere MQ shared queues. Shared<br />

queues rely heavily on the coupling facility and a shared DB2 database to allow<br />

queue managers to form a queue sharing group (QSG). Once the queue<br />

managers have configured the QSG, they can create queues that are available<br />

to all the queue managers in the group.<br />

This functionality sounds very similar to WebSphere MQ clustering and, in many<br />

respects, there is a certain amount of overlap in the service shared queues<br />

provide. However, a shared queue is one instance of a queue which is “shared”<br />

among a number of queue managers. This method differs from WebSphere MQ<br />

clustering in that the clustered queues, despite having the same designation, are<br />

actually separate entities. In practice, once a shared queue has been configured<br />

allowing a number of queue managers to access it, all of the brokers associated<br />

with those queue managers (or any application) could have access to that queue,<br />

despite existing on separate LPARs.<br />

A simple scenario which uses shared queues might resemble the following. A<br />

sending application puts messages to a shared queue. These messages are<br />

then available to all queue managers in the QSG across all relevant LPARs.<br />

Associated with these queue managers are brokers, all of which are retrieving<br />

messages from the same shared queue. Should an LPAR, queue manager, or a<br />

broker fall over, the other brokers would continue retrieving and processing<br />

messages from the shared queue.<br />

Because cloned applications and the broker which serve them are able to a<br />

connect to queue managers in a QSG and because all queue managers in a<br />

QSG can access shared queues, applications do not need to rely on the<br />

14 High Availability z/OS Solutions for WebSphere Business Integration Message Broker V5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!