|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How message are received in clustered queue |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Fri Jun 01, 2007 12:09 pm Post subject: How message are received in clustered queue |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
The purpose of the MQ clustering is the load balancing. But how in practical life, the message are received from the queues as the message are sent to more then one queue? It is the job of application logic? If so, it will become more cohesive. Or are the message eventualy sent to another single gueue? Would not it a more work?
I have to design a cluster for Web Method application. There are 3 sources for messages. So, it makes sense to have cluster as all of them can send to one cluster queue. WM can not go and read from two queue ( i have been told like this).
The aim of the cluster is not for LB but HA. I told them that mq cluster is not for HA, but they insist and I am going to do this. It is at least better then having one machine anyway.
Could some one give me some idea? I would really appreciate
thanks a lot |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 01, 2007 6:01 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Clustering provides no real value when you need to send messages FROM many senders TO one single receiver.
Unless you've got a large MQ network, and want to simplify the creation of channels between many many qmgrs, which all need to talk to each other.
Clustering provides lots of value when you need to send messages FROM one or many senders TO many receivers. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mvenu |
Posted: Fri Jun 01, 2007 6:11 pm Post subject: Re: How message are received in clustered queue |
|
|
Novice
Joined: 06 May 2007 Posts: 10 Location: US
|
In order to put a message into a clustered Q, you need to connect to A cluster QM. If more then one QM has the clustered Q, messages will be load balaced based on configured WLM options.
Reading a message from Clustred Q is same as reading from Local Queue. For getting messages Clustred Q is analogous to Local Queue. You need to connect to the QM where Cluster Q exists to read the message. If more then one QM hosts the clustered Q, then you need connect to each QM read the messages from clustered Q. WLM is only for put, does not apply for reading the messages. _________________ - Venu
- IBM Certified SOA Solution Designer
- IBM Certified System Administrator - WebSphere MQ V6
- IBM Certified Solution Designer - WebSphere MQ V6 |
|
Back to top |
|
 |
jsware |
Posted: Sat Jun 02, 2007 1:36 am Post subject: Re: How message are received in clustered queue |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
As Jeff mentions clustering is for one to many or many to many, not many to one.
From your description, don't use a cluster. Have each source use its own qmgr, have each source put to a qremote queue which "point" to your WebMethods input queue on the webmethods host.
This does not give you HA for WebMethods though it might for the message source (assuming its three copies of the same application doing the same thing). If your WM host fails, then messages from each source will be stored on the source qmgrs waiting for the WM qmgr to become available again.
You can setup a qmgrs in a HA environment where you have a redundant hardware as a backup machine and the qmgr data is on external disk which switches from your primary to secondary host. This can be automated on most platforms and support pacs are available from IBM's site to aid in this. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
jeevan |
Posted: Sat Jun 02, 2007 2:20 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Thank you all for the valuable replies. I think I m not able to communicate my requirement clearly.
There are three external systems inputting to the system - a MF, AS400 and a windows. WM is middlware which does some processing which I am still unknown. The project is in test phase now, and they are testing with only message from Windows box. They have aleady done the WM clustering. The project asked me to design a system which makes MQ available for 24/7.
MY question here is: what is the best solution ? As I understand, message will be lost in case of MQ clustering. HOwever, I need to explain them both situation as the project manager has a concept that MQ clustering is the solution.
Also, I have worked with veritas clustering but not with MSCS. Can we set up MQ such a way that the some diretory like in AIX can be created in shared drive? In AIX, /var can be made shared but in case of windows, can similar setup be done in windows?
Thank you a lot |
|
Back to top |
|
 |
mvenu |
Posted: Sat Jun 02, 2007 7:40 pm Post subject: |
|
|
Novice
Joined: 06 May 2007 Posts: 10 Location: US
|
Also, I have worked with veritas clustering but not with MSCS. Can we set up MQ such a way that the some diretory like in AIX can be created in shared drive? In AIX, /var can be made shared but in case of windows, can similar setup be done in windows?
===========================================
In this case MQ Clustering will not help ...you need to go with High Availability of MQ Infrastructure. This can be achieved using clustering software like MSCS (WINTEL), Veritas or HACMP (AIX) . See MC91 for MQ & IC91 for MQ/Mesage Broker for more information on possible options & procedure to configure the HA.
To answer to your question, Yes, similar setup can be done using MSCS on windows platforms. You need to have shared disk(drive), virtual IP to acheive the functionality which is similar to AIX HACMP.
MC91 - HA of MQ on unix platforms
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24011869&loc=en_US&cs=utf-8&lang=en
IC91 - HA of MQ/Message Broker on distribute platforms
http://www-1.ibm.com/support/docview.wss?rs=171&uid=sw _________________ - Venu
- IBM Certified SOA Solution Designer
- IBM Certified System Administrator - WebSphere MQ V6
- IBM Certified Solution Designer - WebSphere MQ V6 |
|
Back to top |
|
 |
Michael Dag |
Posted: Sat Jun 02, 2007 11:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
jeevan wrote: |
I think I m not able to communicate my requirement clearly. |
You have not communicated any requirements, just solutions to an 'unknown' problem.
jeevan wrote: |
There are three external systems inputting to the system - a MF, AS400 and a windows. WM is middlware which does some processing which I am still unknown. The project is in test phase now, and they are testing with only message from Windows box. They have aleady done the WM clustering. The project asked me to design a system which makes MQ available for 24/7.
|
Are the three external systems 24/7?, are the inputting applications 24/7, what's the business impact if the system is unavailable, what if the system is able to 'accept' the message but process it 'later'... and on and on...
Once you have asked these questions and gotten the answers, THEN you will be able to architect a proper solution and work out the technical details.
To be honest, I doesn't sound like you have done this before, so it makes me wonder how you got this assignment.
MQSeries.net is not an alternative training, get proper training on the products from experienced instructors, for example here: http://www.mqseries.net/phpBB2/viewtopic.php?t=37420
Again not trying to put you down, you are probably doing the best you can, but this is not a place for 'free' consultancy...
jeevan wrote: |
MY question here is: what is the best solution ? As I understand, message will be lost in case of MQ clustering. HOwever, I need to explain them both situation as the project manager has a concept that MQ clustering is the solution.
Also, I have worked with veritas clustering but not with MSCS. Can we set up MQ such a way that the some diretory like in AIX can be created in shared drive? In AIX, /var can be made shared but in case of windows, can similar setup be done in windows?
Thank you a lot |
Like I said if you are looking for the best solution, you need to ask more questions...
With clustering you do NOT loose messages, they are unavailable while the cluster queuemanager holding some stale messages is down. with full HA there will be a temporary interruption of service, but then the messages will be available again.
Good luck. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|