Author |
Message
|
its4santosh |
Posted: Wed Apr 07, 2010 11:53 pm Post subject: failover in MQ Cluster |
|
|
Newbie
Joined: 16 Jun 2006 Posts: 3
|
Hi All,
Does MQ cluster supports the failover scenarios also? If yes please let me know how to design this kind of cluster.(Any related links)
Thanks in advance. |
|
Back to top |
|
 |
exerk |
Posted: Thu Apr 08, 2010 12:19 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
No. It's a load-balancing solution. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
maesbrae |
Posted: Thu Apr 08, 2010 12:33 am Post subject: |
|
|
Novice
Joined: 03 Jun 2003 Posts: 12
|
If you're looking for failover support MQ V7.0.1 introduced the concept of multi-instance queue managers, which lets multiple instances of a queue manager sit on separate machines, thus providing a highly available active/passive configuration. |
|
Back to top |
|
 |
exerk |
Posted: Thu Apr 08, 2010 12:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
maesbrae wrote: |
If you're looking for failover support MQ V7.0.1 introduced the concept of multi-instance queue managers, which lets multiple instances of a queue manager sit on separate machines, thus providing a highly available active/passive configuration. |
Agreed, but the poster was asking a not-uncommon question in regard to queue manager clustering rather than hardware clustering. Combine the two and you get as rock-solid a solution as is possible on distributed, provided of course the application can fail over too  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mvic |
Posted: Thu Apr 08, 2010 3:03 am Post subject: Re: failover in MQ Cluster |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
its4santosh wrote: |
Does MQ cluster supports the failover scenarios also? If yes please let me know how to design this kind of cluster.(Any related links) |
A good tip for posting on internet forums, including this forum: please say what information you have read/searched.
Please go to http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp and search the MQ manuals for "failover". Many of the results are good and relevant information to your question. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Apr 08, 2010 3:29 pm Post subject: Re: failover in MQ Cluster |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
its4santosh wrote: |
Hi All,
Does MQ cluster supports the failover scenarios also? If yes please let me know how to design this kind of cluster. |
Yes, in a limited way. Here is a simple scenario on MQ v6.0 or 7.0: A "request" queue is clustered on two queue managers and they each host an instance of the request processing app. The request messages originate from an app on a third queue manager. This provides load balancing. If one of the request processing queue managers goes down, MQ will automatically "fail over" the workload to the other request processing queue manager. This is not completely robust because request messages may be marooned on the failed queue manager (queued up to be processed), but its good enough for many commercial applications, and is easy to upscale. _________________ Glenn |
|
Back to top |
|
 |
sumit |
Posted: Fri Apr 09, 2010 5:34 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
But isn't that actually a part of load balancing!! When cluster don't find any more instance of a queue to balance the load, it sends all the messages to the only available instance of the queue. _________________ Regards
Sumit |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 09, 2010 6:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sumit wrote: |
But isn't that actually a part of load balancing!! |
Yes it is. That's why it's not a good idea to use it for HA. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Apr 11, 2010 3:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Vitor wrote: |
sumit wrote: |
But isn't that actually a part of load balancing!! |
Yes it is. That's why it's not a good idea to use it for HA. |
Notice that HA wasn't mentioned in the original post and I didn't mention it in my post!
HA is one of those YMMV things. What is the cost of failure to your business? How much are you willing to spend to provide the appropriate level of HA? _________________ Glenn |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Apr 12, 2010 6:27 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
This is one of those situations when a single word 'cluster' has multiple, overlapping and different meanings.
Broadly defined, an MQ cluster is a collection of queue managers capable of doing the same workload (consuming and processing a message).
While this sounds much the same as hardware HA, MQ's clustering doesn't address the continued availability of [edit] a particular message, a particular queue instance, a particular queue manager, a particular requesting application or a particular consuming application.
MQ clusters offer alternative queues (if one is available) to process a single message.
I'd suggest taking IBMs WM250 course - Architecting WMQ Clusters. This course covers both WMQ clusters, and WMQ clusters in an HA environment.
It is important that you read and understand the WMQ Queue Manager Clusters manual. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|